Re: form->input force required

2007-08-28 Thread bujanga
Answer is add the option: 'div' => 'required' Gary On 8/27/07, Pablo Viojo <[EMAIL PROTECTED]> wrote: > > http://api.cakephp.org/1.2/class_form_helper.html > > On 8/27/07, bujanga <[EMAIL PROTECTED]> wrote: > > > > On my registration form, I wish to verify the user's password entry by > > ha

Re: form->input force required

2007-08-27 Thread Pablo Viojo
http://api.cakephp.org/1.2/class_form_helper.html On 8/27/07, bujanga <[EMAIL PROTECTED]> wrote: > > On my registration form, I wish to verify the user's password entry by > having them enter it twice. The FormHelper magically indicates which > fields must be completed when the field is part of t

form->input force required

2007-08-27 Thread bujanga
On my registration form, I wish to verify the user's password entry by having them enter it twice. The FormHelper magically indicates which fields must be completed when the field is part of the model. How can it be done to indicate a required field when it is not part of the model. Finally, is th