cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Validate if a visitor has already submitted the form previously
October 16, 2007
11:08 pm

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



October 17, 2007
7:33 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

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.


Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3756

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18731

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)