Home › Forums › Quform WordPress › How to Email Verify 2.0
What is the code to add to the functions.php for the 2.01 version?
I have tried the old code, and substituted the ids for the ones used in 2.0 – but it does nothing.
add_filter('quform_1_10', 'my_confirm_email', 10, 3); function my_confirm_email($valid, $value, $element) { if ($value != $element->getForm()->getValue('quform_1_4')) { $valid = false; $element->addError('The email addresses do not match'); }
return $valid; } first id being the confirm ‘quform_1_10″ email field and the second ‘quform_1_4’ being the first email field.
return $valid; }
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Thank you – just what I needed.