MailPost can also span multiple forms, gathering information. This is accomplished by using the *nosend* variable along with using variable substitution HTML success pages.
Place the *nosend* hidden variable in all of the forms except the last form which actually sends the data or saves it to a file.
For this example, you will first be asked for your name and location. The next form will ask you for your email address, and then it will show the result.
The following actions were taken to produce the result:
To: mailpost@mcenter.com From: mailpost@mcenter.com Subject: Data persistence example [name] filled out this form on [*date-time*] . [name]'s location: [location] [name]'s email address: [email]
These two forms also specify an *on-error* variable that points to the error.html file. Just as with the "success" variable, you can use variable substitution with the *on-error* page as well. There is a special variable that is generated by MailPost when an error ocuurs. It is named *error-msg* . You can include it in the HTML document to display what error occurred.
Note that all of these files can be named whatever you wish.