Home › Forums › Quform PHP › Changing error message for identical-validator fails
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.
Regards
Peter
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 !
Regards Peter