![]() |
DoForm v0.8 Result Formatting RulesEach action line is followed by a format section which described how the results of that action are to be displayed. The end of the format section is marked by a vertical bar | character on a line by itself. The | character is also used to indicate when the values from the form fields should be displayed in the results file. The pair || of bars will print a single | character.If no rules line are given for an action (the ending | line is still needed), then a default collection of fields is printed. The default for the Require action is a message about which field did not match the required value. The default for all other actions is to display all of the data fields submitted with the form. The format lines are printed with any field names surrounded by | characters are replaced with the value of the field. Any fields returned by the form submission or any CGI environment variable may be used. The SampForm example demonstrates the use of the format lines including some of the advanced formatting rules.
|
![]() |
||
| | | publisher: jmu webmaster | | |||