Forums

problem with fields validation

rickzhong 06 Nov, 2017
I have installed a paid version of ChronoForm v6 recently and created a ChronoForm v6 form, everything seemed work as expected, until I went to Validation tab of Text field in Designer, and I enabled the "Required" validation option(which it worked perfectly as a standalone validation option), but if I also want to validate the length of the Text field by entering a number in "Minimum length" field or "Maximum length" field, the validation will break totally(I can't find any reference on the User Manual regarding how to use these validation fields). Here are the error message I received when submitted the form:

Warning: Missing argument 2 for G2\L\Validate::minLength(), called in /home/mywebsite/public_html/libraries/cegcore2/admin/extensions/chronofc/functions/validate_fields/validate_fields_output.php on line 95 and defined in /home/mywebsite/public_html/libraries/cegcore2/libs/validate.php on line 93

Warning: Missing argument 2 for G2\L\Validate::maxLength(), called in /home/mywebsite/public_html/libraries/cegcore2/admin/extensions/chronofc/functions/validate_fields/validate_fields_output.php on line 95 and defined in /home/mywebsite/public_html/libraries/cegcore2/libs/validate.php on line 101


Can someone help me on how to set these up? Thank you!
-Rick
Max_admin 13 Nov, 2017
Hi Rick,

The latest update should fix this issue, please try that and let me know!

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.