Hi,
I am using cakephp. I have a form with an element array. For ex:-
<textarea name="data[User][0][description]>
<textarea name="data[User][1][description]>
From the controller, I need to invalidate (manually) the array field if it is empty and need to show errors to the respective field. What is the correct syntax for invalidating the field if it an element array ? I know, the following will work for single element . How it will be for an element array ?
$this->User->invalidate("description");