CakePHP automatically does some client side form validation for me - checking whether a field is empty or if an email field is actually an email address. Incorrect fields get a nice little dropdown with an error message.
Where is this managed? I want to add this sort of validation to my confirm_email field.
$this->Form->input('textfield',array('required'=>true));
will do some HTMLrequired field
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With