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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.