Is it parsing data on an html form page if there are more data to be entered(?)
Posted on 2003-11-04
My current form request allows users to enter data in the form, submit and it's emailed to the recipients, and the form data is written to a data file.
I need to expand the capability of this form, so that when the user hits [submit], it asks the user if they have additional components to enter. If the users clicks the [additional] button, it does not submit the form's data entered but holds it in cache, and the user can enter more data in the form fields. Once as the user is satisifed that all their entries are done, then they hit a [FINISH] button - the form sends the results to the recipients and all the data are saved to the data file.
For this form, the user can have up to a 100 components to enter and it is considered as a single request. I'd prefer not having the user to *start all over again* which means, creating a new data file on each submission. But, I want the user to complete a single request, but the form changes page on each submission.
The url in the address line when they continue for additional components will show like /requests/compreqs.pl?name=myname?comp=1?field2=test?
I don't know if this is what is referred to as parsing an html page, but technically, yes, it's parsing the form's data from one page to another, but the data will not be submitted and emailed and the data file will not be created until the users hits [FINISH REQUEST] button.
How can I get this accomplished?
Thanks for the help.