Is there a way to use dynamic variables within the Model validation,
an example below.
'between' => array(
'rule' => array('between', $passMin, $passMax),
'message' => 'Password must be between '. $passMin .' and '. $passMax
)
I have an array of config settings that I would like to use here, but
am lost on a way to do this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---