s4salman Posted June 18, 2020 Share Posted June 18, 2020 Hi, I am using this code, what i want is to random fill up stepa field with either option a or option b every time i refresh the page, any help is highly appreciated!: <form action="myc.php" method="get"> <label for="element_1"> </label> <div> <select class="element select medium" name="stepa"> <option value="" selected="selected"></option> <option value="option a" >Advanced Human option a</option> <option value="option b">Advanced Human Option b</option> </select> </div> <br> <input type="submit"> </form> Quote Link to comment https://forums.phpfreaks.com/topic/310957-random-fill-form-drop-down/ Share on other sites More sharing options...
requinix Posted June 18, 2020 Share Posted June 18, 2020 How about you try describing what you want with a few more words? Maybe even an example or two? Quote Link to comment https://forums.phpfreaks.com/topic/310957-random-fill-form-drop-down/#findComment-1578987 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.