RE: Error Placement / Styles

2010-01-05 Thread Dave
Andersen Sent: January-05-10 2:45 PM To: CakePHP Subject: Re: Error Placement / Styles Hi Dave, I did understand that your hint was - a hint to the user - but I assumed that you would find out how to include that together with the form field definition :) Using the form helper, I would just add the

Re: Error Placement / Styles

2010-01-05 Thread John Andersen
CakePHP manual reference is http://book.cakephp.org/view/191/options-before-options-between-options-separator-a Enjoy, John Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to t

Re: Error Placement / Styles

2010-01-05 Thread John Andersen
Hi Dave, I did understand that your hint was - a hint to the user - but I assumed that you would find out how to include that together with the form field definition :) Using the form helper, I would just add the "after" option to include something after the entry field. Using your hint code, I g

RE: Error Placement / Styles

2010-01-05 Thread Dave
ot;or what not Thanks guys, Dave -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of Amit Rawat Sent: January-05-10 4:58 AM To: cake-php@googlegroups.com Subject: Re: Error Placement / Styles Try this, error('User.password')

RE: Error Placement / Styles

2010-01-05 Thread Dave
then has my red bg error class, not just the field and lable. -Original Message- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of John Andersen Sent: January-05-10 5:16 AM To: CakePHP Subject: Re: Error Placement / Styles Well, now that I took a better look

Re: Error Placement / Styles

2010-01-05 Thread John Andersen
rror' => false so no message shows. But how do I get the > error class to end up inside the > > I tried an assortment of attemps with > > ??? > But nothing. > > Ideas? > > Thanks, > > Dave > > -----Original Message- > From: cake-php@googlegroups.com

Re: Error Placement / Styles

2010-01-05 Thread Amit Rawat
Try this, error('User.password')){?> class='error'' > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email t

RE: Error Placement / Styles

2010-01-05 Thread Dave
glegroups.com] On Behalf Of John Andersen Sent: January-05-10 4:35 AM To: CakePHP Subject: Re: Error Placement / Styles Yes you can! In the form field, add the option 'error' => false to disable the automatic error message. Then use the form helpers error method for the field and place

Re: Error Placement / Styles

2010-01-05 Thread John Andersen
Yes you can! In the form field, add the option 'error' => false to disable the automatic error message. Then use the form helpers error method for the field and place it whereever you want. See http://book.cakephp.org/view/721/error Enjoy, John On Jan 5, 9:46 am, "Dave" wrote: > Is it possible