Hello,
I need some help to resolve a problem with multi pages form.
1 - The first page show a form with 4 fields : firstName, lastName, email, zip code.
All fields are obligatory.
When the user submits the form, a record is save in the database, an email is sent.
Then the second page is shown. No problem for me
.
2 - The second page is shown to the user and invite him to complete his informations : The phone, the address, some options, ... if he wants to.
This page is not obligatory. The user can close the page when he wants.
But If one field (or more) has a value (for exemple the user gives his phone and validate the form), I want to update the record which was inserted in the first page.
To resume :
- The first page : Obligatory fields and insertion of a new record
- The second page : Facultative but if a field has a value, update the record.
How can I do that ?
Thanks for your reply.
I need some help to resolve a problem with multi pages form.
1 - The first page show a form with 4 fields : firstName, lastName, email, zip code.
All fields are obligatory.
When the user submits the form, a record is save in the database, an email is sent.
Then the second page is shown. No problem for me
.
2 - The second page is shown to the user and invite him to complete his informations : The phone, the address, some options, ... if he wants to.
This page is not obligatory. The user can close the page when he wants.
But If one field (or more) has a value (for exemple the user gives his phone and validate the form), I want to update the record which was inserted in the first page.
To resume :
- The first page : Obligatory fields and insertion of a new record
- The second page : Facultative but if a field has a value, update the record.
How can I do that ?
Thanks for your reply.