Home › Forums › Quform PHP › Changing error message for identical-validator fails
This topic contains 2 replies, has 2 voices, and was last updated by PeterPichler 1 month ago.
Hi Support-Team !
I use the following code in my process.php for a simple radio_button:
$radiobutton = new Quform_Element(‘radiobutton’,’Radio-Button’); $radiobutton->addValidator(‘identical’, array(‘token’ => ‘Yes’, array(‘messages’ => array(‘not_match’ => ‘MISMATCH’)))); $form->addElement($radiobutton);
The 2nd line should generate the error message MISMATCH, but fails and instead the “default” error message stored in indentical.php is shown.
Thanks in advance for any help on that topic.
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Hi Ally ! Perfect, working great!! Thanks for your support, please mark solved !
You must be logged in to reply to this topic.
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login