I have a form in cakephp that has some inputs that are for confirmation only, these fields are not fields that belong to the table database. Like this:
Password confirmation field, this field is not in the database, it is just a check of some logical things. How can I make this field mandatory (notEmpty rule)? Is it right to create this “check” on the model, even if this field does not apply to the table of this model?
source share