Buy now Customer Login

Online Manual / Creating The Templates / Form results output

This request outputs each form result in order that the field appears on your form.

Usage: <output type="results" exclude="[field list]">
Arguments:

  • exclude="[field list]"
    You can specify which fields to exclude from the results. Seperate each field name with a comma.

Example:

Here's an example on using the results request I put between <table> and </table>.

1
2



3
[output type='results']
<tr>
   <td>[name]</td>
   <td>[value]</td>
</tr>
[/output]
  1. This marks the start of the results HTML code for output.
  2. You can enter your custom HTML code here.  Ollance Mail Pro php will use this format for each individual result.
  3. This marks the end of the results HTML code.

Here's another example where I'd put the results into hidden form tags so we can carry on the values to multiple pages. And this will exclude the checkList1 and checkList2 fields.

1
2
3
[output type='results' exclude='checkList1, checkList2']
<input type="hidden" name="[name]" value="[value]">
[/output]
  1. This marks the start of the results HTML code for output.
  2. You can enter your custom HTML code here.  Ollance Mail Pro php will use this format for each individual result.
  3. This marks the end of the results HTML code.