

|


Knowledge
Base / What guideline should I follow when setting up my form templates?
When creating
your form templates. You should always have your error
output placed above the form. And you should always have the results
output placed under your <form> HTML code when creating a multiple
page form so that the form data is carried to all the pages.
<form action="mailpro.php?config.cfg;previousPage=1;currentPage=2;nextPage=3">
<output type="results" exclude="Radio Button, Checkbox
List, Menu List">
<input type="hidden" name="[name]" value="[value]">
</output>
... |
Notice how we added exclude="Checkbox List, Menu List", it
is important that we exclude radio buttons, check box lists, and menu
lists that are located on the form page you are editing.
Notice the previousPage=1, this tells the script which template
to load when the user clicks on the Previous button named _previousPage.
The currentPage=2 tells the script which form page the user is currently
viewing. The nextPage=3 tells the script which template
to load when the user clicks on the Next button named _nextPage.
|