I need to make a dynamic form and some people have told me I need to use jquery, I don't know any jquery nor am I interested in learning a new language. I just need to figure out how to do what I want with it and once it is in place forget about it.
Right now I have a website that is 100% php/html
I have a page where people need to enter information into forms and then submit it so it can be saved to a database. There are a few parts of the form that I need to be dynamic. Here is what I need to happen.
Have a text box where the user can enter a number. Then jquery should take than number and run a loop to create that many of the desired field with unique incremental names.
So the user should see nothing but a text box with a 0 in it and a submit button. The user types 5 in the text box and then jquery creates 5 fields below that text box named field1, field2, field3, field4, field5.
Can someone please explain how I can do this with jquery or point me to a location that can teach me how to do this.
Thanks.