Using javascript i have created dynamic fields in a form with an "add" button.If i press "add" button the fields get repeated.
Now my problem is that,after entering the values in the form,the values in the dropdown box field gets refreshed if i press the "add" button.
my requirement is that the "add" button should be pressed each time after entering the data before repeating the form.
After entering all the required values for the required number of times the "Submit" button should be pressed which takes all the values to the database at once.
The number of times the "add" button should be pressed will vary time to time.
Now my problem is that,after entering the values in the form,the values in the dropdown box field gets refreshed if i press the "add" button.
my requirement is that the "add" button should be pressed each time after entering the data before repeating the form.
After entering all the required values for the required number of times the "Submit" button should be pressed which takes all the values to the database at once.
The number of times the "add" button should be pressed will vary time to time.
Comment