Setting-up My First Form

Top  Previous  Next

Here, we'll guide you through the process of creating and configuring your first form with Form Processor Pro. After learning this sample you'll be able to configure any form in just 5 minutes or less! For a head start, we'll create a simple contact form with the following in mind:

We will have such form fields: Name, Phone, Email, Subject and Comment
We would like to validate only properly formatted email addresses
Name, Email and Subject fields are required
We want to receive form results to our email
We want to send auto-responder confirmation email to form submitter
We would like to provide user with error messages on the same page and highlight improperly filled fields
We would like to have custom thank you page with personalized greeting

Hmm, that's pretty much requirements just for Simple form! However, significantly complicated and sophisticated forms are possible with Form Processor Pro too. In this case we just want to have contact form to be processed the right way and accept only correctly formatted submissions, avoiding user typos and mistakes.

To create any form with Form Processor Pro you need to assemble four easy things:

1.Point your form and give it a name. You should point ACTION of your form to the Form Processor Pro installation and give it a unique name by inserting HIDDEN field in the form's HTML just after form tag.
2.Handle with error messages. Put <!-- FPP_ERROR --> tag to your form's page in the where you'd like to display error messages.
3.Create required Email, HTML or Log templates. Use {# and #} brackets and hash signs to include any variable (field content) in the template. If you have text field with name=email then you can use this variable in any template by putting it in brackets like this: {#email#}. This will be changed with user's entered value after processing.
4.Edit simple config file with required configurations. Set actions to perform, validation rules etc. All available actions, validations and modifiers can be found in this manual.

In order to follow further steps you need to have Form Processor Pro installed on your web server and initial configuration should be completed. Please refer to Installation section of this manual.

In this example we have a domain: mydomain.com and Form Processor Pro installed in the “fpp” public folder under www root. In other words Form Processor Pro can be accessed through: http://www.mydomain.com/fpp/index.php