
December 2nd, 2004, 04:43 PM
|
|
Registered User
|
|
Join Date: Dec 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Dynamic Creation of Form Elements in PHP
I am writing a script where in i want to create dynamic textboxes. It goes like this...
The user can have any number of values... So, he enters one value in each textbox... Initially there will be no textboxes but there will be a button like... Add Value... when he clicks on that one box should appear... If he wants more boxes to add more values he should go on clicking tht button... he should also have the facility to delete the last box...
After he has entered all the values when he clicks submit... the values should be updated into the database... maybe after submitting it to the same or a different file...
I am not able to make tht dynamic text box creation and mainly how to read the data from dynamically created textboxes!!
Plzzzzz help... I need this for my project and i have to submit it in two days!!! Plzzz help!!
|