Not getting any validation error message with this:
'current' => array(
'rule' => array(
'between', 5, 15),
'required' => true,
'allowEmpty' => false,
'message' => 'Passwords must be between 5 and 15 characters long.',
'last' => true),
The fields is "current" and renders this:
<div class="input text required">
<label for="UserCurrent">Enter your current password.</label>
<input id="UserCurrent" type="text" value="1" name="data[User][current]"/>
</div>
What am I missing here?
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---