Ah thanks that works.. but then why can you decide the location for textareae error messages but not for input boxes? And also why does it genereate extra html instead of only the message? Would it not be more customizable if you can write your own html in the view?
On 16 jun, 00:21, gwoo <[EMAIL PROTECTED]> wrote: > @Mech7 > > You are using the helper incorrectly. > > if you use $form->input() then you add the option for the error > message. > > if you are using the individual form helper methods like textarea > echo $form->textarea('field'); > echo $form->error('field', 'Error in field'); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---