Why do neither of these php statements on the server side validation action capture the fact that both emails are the same ? I'm sure the code is correct but....;
Debug output is
[email_orig] => [email]andy_syme@xxxxxx.com[/email]
[email] => [email]andy_syme@xxxxxx.com[/email]
Thanks in advance for any advice.
<? php
if ( $form->email = $form->email_orig ) {
return false;
}
?>
<? php
if ( $form->data['email'] = $form->data['email_orig'] ) {
return false;
}
?>
Debug output is
[email_orig] => [email]andy_syme@xxxxxx.com[/email]
[email] => [email]andy_syme@xxxxxx.com[/email]
Thanks in advance for any advice.
This topic is locked and no more replies can be posted.