cforms II User Forum

Registration is currently disabled.
Guest

FAQs

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
Is possible compare two fields?
February 14, 2011
9:25 pm
Guest

Hi! Firstly, congratulations to cforms team for the excellent  plugin!

The question is … There is the possibility to validate/compare two fields? For example: Enter your E-mail :_________ Please retype your email :_________

It is a very common feature in registration forms ask for retyping email and password. This is possible in the current version of the cforms? Sorry if the question is "silly" but I really did not find in the FAQs and forums.

 

Thanks! lol

February 15, 2011
7:43 am
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

There is an example on your cforms Help! page.

 

Paul.

* Paul Silter
March 19, 2011
6:41 pm
Aashish
Guest

Suppose the element id of

 

Email is cf_field_12

and Re-Type Email is cf_field_13

 

What do I need to validate them. I couldn't understand the help file explanation. I used a "Single Line of text". Checked Required and email check boxes. In field label, i inserted : Re-Type Email

and in Regular expression, I inserted cf_field_12.

 

On the front end form page, I inserted two different email ids in them and the form still got submitted.

 

- Aashish

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
20 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: 3744

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5345

Posts: 18714

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

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

Administrators: Oliver (6400), Nicky (3)