DOCUMENTATION

  • Developer
Search »

Submission Pre-Parser

Special Field Values

The following POST keys have special values. The first two can be set in the PHP or forms submitting the data, but the third is particular to the Submission Pre-parser.

form_tools_ignore_submission
This option lets you tell Form Tools not to bother storing the submission. One practical use for this would be to employ the "hidden fields" method for battling spam. See the spam detection example for instructions on how to do this.
form_tools_redirect_url
This settings lets you choose the URL where the user will be redirected after the add / update function is completed.
form_tools_calling_function
This value displays which function is currently calling your code. There are three possibilities: ft_process_form (i.e. it's a standard form submission), ft_api_process_form (a submission made through the API) and ft_edit_submission (the submission is being edited via the API).