Is there a way to use the validators without a model?
I am trying to create a email form so it does not have a table in the
database, and doesn't have a model..
but I am trying to figure out how i can validate empty fields but the
manual says i need to put this in the model.
var $validate = array(
'email' => VALID_EMAIL,
'subject' => VALID_NOT_EMPTY,
'body' => VALID_NOT_EMPTY
);
is there any other way to use it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---