Jump to content

Number Input Generates X Amount of Textboxes


shanejeffery86

Recommended Posts

Hey all.

 

I am a PHP guru and have never really touched on the client side before.  Therefore, AJAX baffles the hell out of me.

 

I am just trying to get my feet off of the ground here so that I have some idea of how things operate.

 

Here is what I am attempting to do:

 

- User inputs a number into a textbox with the name "profileAmount"

- User clicks the button 'Generate'

- AJAX sees the number and for each number increment (1,2,3,4,5,etc), it will create a new fieldset of textboxes (about 4-5 textboxes per number increment)

- Once the user enters in the data into those textboxes, they press Submit.

- On submit, a PHP script is going to be hit FOR EACH FIELDSET and the script will echo out a response which AJAX needs to listen to and put into a new variable array.

- We then need to echo out the data in the new variable array for each fieldset

 

I think that is as clear as I can make it.  If you have any questions or concerns, please let me know.

 

Thanks in advance!

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.