Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Unique Submissions

Author: Eileen Wilde Reference Number: AA-00165 Views: 8637 Last Updated: 07/31/2012 03:36 PM 0 Rating/ Voters

If you want to limit your form submissions by one or several times by the same person, use the unique_submits action in the config.php file

Syntax:

unique_submits = <number>, <period>

Where <number> is the number of times the form can be submitted during any <period> of time.

Example:

unique_submits = 1, 3M

Means that form can be submitted just once per three months.

You can specify a period with any integer number followed by a letter exterminating a period:

  • S - seconds
  • I - minutes
  • H - hours
  • D - days
  • M- months
  • Y - years

Examples:

6H - for 6 hours

30I - for 30 minutes

5D - for 5 days

1Y - for 1 year

By default the message that user has submitted the form already is shown on a separate error page with white background. If you would like to show the message on the first form page, add this line to the form configuration (in the config.php file):

unique_data_submission = first_page