Validation Error

Permalink
Hi,

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

gwardell
 
gwardell replied on at Permalink Reply
gwardell
So I figured it out. I had a misplaced }

Now how do I delete this question?

Gary