Page 1 of 1

Form with continue and submit

Posted: Mon Apr 13, 2009 9:12 am
by mikekay
Greetings. I am very new to PHP and coding so please forgive my lack of knowledge. I have a program that I've used to generate a form. It works great, but does not have the functionality I require. I wish to edit the PHP script so that it does have this functionality - but I'm not sure where to start.

The form is pretty simple. It includes numerous fields with validation, some without validation and a few checkboxes. The form simply gathers information and emails it to the appropriate person.

What I NEED the form to do is to be able to enter all the fields - hit a continue button or enter another button - and have the form information placed into a cache - then the user enters new information into the form and hits continue and this is added to the cache. When all the information is entered, up to 10 full forms, then the user hits the submit button - and ALL the form submissions are emailed at once - instead of the admin person getting 10 seperate emails.

Is this possible? Any leads or advice more than appreciated.

Thank you.

Re: Form with continue and submit

Posted: Mon Apr 13, 2009 10:43 am
by Christopher
The two easiest way would be:

1) put the values that have been entered into hidden form fields in all the next forms.

2) save the entered values in the session (see the manual)