Jump to content

PHP Script to Randomize Text Boxes?


cjenkins08

Recommended Posts

Hi,

Looking for a pretty simple script.

 

Need a drop down box for the user to select the number of text boxes that will appear.

Once the text boxes load the user will be able to type their data in each text box and click Randomize.

The text box date will be randomized and displayed back to the user.

 

Can someone point me in the direction of a script that's already coded for this.

Thanks

Link to comment
https://forums.phpfreaks.com/topic/284032-php-script-to-randomize-text-boxes/
Share on other sites

 

The text box date will be randomized and displayed back to the user.

Name the text fields like

<input type="text" name="textbox[]" ... >

Then you can use    shuffle($_POST['textbox']) when the form is submitted to randomize the submitted values.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.