Forum Replies Created
- AuthorPosts
Rooimans
ParticipantFor those interested in the solution. Just copy paste the code and give an increment to the function name:
add_filter(‘iphorm_element_valid_iphorm_1_2’, ‘my_confirm_email2’, 10, 3);
function my_confirm_email2($valid, $value, $element)
{
if ($value != $element->getForm()->getValue(‘iphorm_1_1’)) {
$valid = false;
$element->addError(‘The email addresses do not match’);
}return $valid;
}Rooimans
ParticipantNice! Wasn’t aware this was a standard feature!
Rooimans
ParticipantDear Ally,
I have the above solution running for one of my forms which works great. I wanted to add this feature to a second form, but unfortunately this does not work by simple duplication of the provided code. Could you give a suggestion for this problem?
Thanks in advance.
Kind regards,
Thijs
Rooimans
ParticipantThis works great! Thanks a lot! Might me a nice feature in a next update?! Anyway keep up the good work (Y)
Thijs
Rooimans
ParticipantThank you for your quick reply Ally. Will be looking forward to the next major update!
Will see if I can implement your suggestion in the mean time. Keep up to good work! (Y)
Thijs
Rooimans
ParticipantBut where exactly do I find these tables? I am currently using the wordpress database, maybe this is only possible when you use your own table in phpmyadmin?
I have read in an other thread that you are planning this as a feature in the next major update. Good work! Do you know in which period this is expected?
Thank in advance!
Regard,
Thijs
- AuthorPosts