German German English English

Create a form <<    ^ MPForm Help pages ^    >> Multi page forms

MPForm Documentation: Treatment of Form data

Level of difficulty: A

The user did submit the form successfully - what happens now?

The possibilities were already discussed along with the various settings of MPForm, but - for your convenience - here is a summary of all ways to save and send data .

Ways to show data to the user for confirmation

Confirmation on the web site

Preconditions to get it to work:

  • Following page must be set to None in the Workflow Settings
  • Success text in the Workflow Settings is required to contain at least the place holder {DATA}.
Confirmation email to the user

Preconditions to get it to work:

  • The form contains a mandatory field of type E-Mail Address
  • The setting "To" address in the section Confirmation mail to user is linked with this field
  • The setting Text in this section is required to contain at least the place holder {DATA}.

 

Ways to show data to the site owner

Sending by email

Preconditions to get it to work:

  • The field "To" address in the section Mail to site owner contains at least one valid email address
  • The setting Text in this section is required to contain at least the place holder {DATA}.
View data in the Backend of the web site

Precondition to get it to work:

  • The Workflow setting Data transfer to mpform_submissions-table is required to contain at least the place holder {DATA}.
Save data in the table mpform_results_xxx

Precondition to get it to work:

  • The table with the suffix defined in the workflow settings at Name suffix for results table must exist and contain a column for each field of the form. Starting with version 1.2 mpform should always keep these tables consistent.
  • The suffix may not be the string "DISABLED", because for that string results tables are not considered in processing at all.

The table contains a row for each submission and a column for each field of the form.
For downloading the complete form the module CSV-Export is suggested - or you have direct access to the database, e.g. using tools like phpmyadmin.