cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Validate if a visitor has already submitted the form previously

Add a New Topic Reply to Post
Post

Thomas - Guest

11:08 pm - October 16, 2007

Is there a way to validate if a visitor has already submitted a form?

 

The example would be that a visitor is going to register to receive a coupon code that will be emailed to them.  I'd like as a verification step to have the form check to see if the email has already been submitted previously.

 

Database tracking will be turned on.

Version 540

 

Thanks! 

Oliver - Admin

7:33 am - October 17, 2007

posts 3656

Not out of the box. You'd have to implement this feature yourself, essentially adding code to the area that check for the "Is Email" flag and adding  a real-time DB query (against the cforms tracking tables) to see if already submitted.

It'll be more difficult to do for Javascript since it'll involve an extra Ajax routine to pull this data in real-time, but non Ajax should be quite doable.

 

Add a New Topic Reply to Post


Reply to Topic: Validate if a visitor has already submitted the form previously
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 5 + 11        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)