is there a way to do this through the Model or Controller instead of
through the View?
ie. with the validates property of the Model?
it seems very unmaintainable and unwieldy to have to set the class for
every form field in every view...
On Jan 23, 5:32 pm, francky06l [EMAIL PROTECTED]
I have two models: Application CreditCard...
The application requires a user to input their credit card
information, so instead of having a credit_cards_controller and
related views, I just use the application add view.
My problem is that the credit card information is required, but since
I'm
you can set the class of the div :
$form-input('Creditcard.', array('div' = array('class' =
'required')));
hth
On Jan 23, 7:28 pm, Greg Baker [EMAIL PROTECTED] wrote:
I have two models: Application CreditCard...
The application requires a user to input their credit card
information, so