Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is CakePHP client side form validation?

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.

like image 866
thekthuser Avatar asked Jun 15 '26 01:06

thekthuser


1 Answers

$this->Form->input('textfield',array('required'=>true));

will do some HTMLrequired field

like image 174
Sandeep Reddy Avatar answered Jun 16 '26 15:06

Sandeep Reddy