Validation Error
Permalink
Hi,
What is wrong with this code?
I am trying to setup a validater to validate several form fields.
I am getting this error:
syntax error, unexpected '$val' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)
# concrete5 Version Core Version - 8.3.1
Gary
What is wrong with this code?
$validator = \Loader::helper('validation/form'); $validator->setData($this->post());
I am trying to setup a validater to validate several form fields.
I am getting this error:
syntax error, unexpected '$val' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)
# concrete5 Version Core Version - 8.3.1
Gary
Now how do I delete this question?
Gary