Right on thanks! Dave
-----Original Message----- From: Marcelo Andrade [mailto:[email protected]] Sent: September-29-09 12:18 PM To: [email protected] Subject: Re: Display Error On Tue, Sep 29, 2009 at 12:34 AM, Dave Maharaj :: WidePixels.com <[email protected]> wrote: > I need to place an error in a specific spot so I used the > > <?php echo $form->error($model . $field); ?> > > But the error shows up in 2 places now. Where I have my error code and > beside the field. How can I remove it from the field so it only > displays in the spot i want? $form->input make an internal call to $form->error by default. As John said, if you're using $form->input, you must to set "'error'=> false" in the options. Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
