Online Chat
 Call Us: 
Browse Submit a Ticket
Advanced Search
Rss Categories

Actions Overview

Author: Eileen Wilde Reference Number: AA-00150 Views: 7994 Last Updated: 07/31/2012 03:40 PM 0 Rating/ Voters

The main purpose of Form Processor Pro is to perform some actions and process submitted data. In the form configuration file (config.php) you can specify the sequence and number of required actions, such as, sending one or several emails, making database queries, doing redirects, etc. Like a validator, each action has a name and custom parameters. Parameters (arguments) can be static as well as dynamic, depending on the submitted data.

Basic actions:

The most basic action is “page”. It is used to set the sequence and names of the pages.


page = ../index.html
page = ../preview.html
page = ../thank-you.html

With such a configuration, after the user fills out the form within index.html, he/she will see a parsed preview.html page and after that thank-you.html

However, the action's argument can be a template tag and depends on the submitted data. Like

page = ../{#page_from_form#}

In this case user will see the page, whose name was submitted in “page_from_form” field.

Action arguments may be very different, depending on the action it performs. It may be a set of field names, an SQL query, a path to template, etc.

Referencing form pages via full URLs

Often form pages are part of your PHP or ASP driven website. This means that you wish Form Processor Pro open form pages after they have been interpreted by the web server instead of showing the source code to the user. For that simply use full URLs for the form pages.


page = url_to_a_form_page


page =

Form Processor Pro needs allow_url_fopen option enabled in PHP settings to allow this. If this option is disabled on your site, Form Processor Pro can use cURL library to open URLs. So if URLs do not work here, you can add this line to the form configuration and it should work normally then:

use_curl = true