UDT Validation in Formbuilder - Undefined variable: params
Posted: Tue Aug 25, 2015 12:23 am
I've got a clean install of CMSMS 1.12 and installed Formbuilder 0.8.1.1. I then created a user defined tag to be called during validation containing the following:
When the form is submitted, the validation works, but I receive the following error:
It seems like $params hasn't been set in the fbForm class when the Validate() function runs.
Code: Select all
return Array(false, 'Your message has been detected as SPAM.');Code: Select all
Notice: Undefined variable: params in F:\myserver\apps\cmsmadesimple\htdocs\modules\FormBuilder\classes\Form.class.php on line 545