The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.15 (Linux)
File Line Function
/showthread.php 871 errorHandler->error



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
same_as email comparison
#1
Believe it or not. As long as I have been coding sites I have never done a field comparison and I cannot get it work correctly. I am using FT java validation and the code is as follows:

rules.push("required,email,Please enter your email address.");
rules.push("valid_email,email,Please enter a valid email address.");
rules.push("same_as,email2,Please Check your Email Address.");

the fields in question are:

email
email2
Reply


Messages In This Thread
same_as email comparison - by bwaye - Aug 21st, 2009, 12:22 PM
RE: same_as email comparison - by Ben - Aug 21st, 2009, 8:10 PM
RE: same_as email comparison - by bwaye - Aug 25th, 2009, 9:42 AM
RE: same_as email comparison - by Quinn Sauer - Sep 16th, 2021, 11:13 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)