Buy Now
Sign in

problem with fields validation

rickzhong , November 06 2017
R
rickzhong
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
admin
Hi Rick,

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

Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!