Hey Guys!

Where's the Bug here, the Validation doesn't work, I can save all
input, e.g. 125.

<?php
   class Post extends AppModel {
      var $name = 'Post';
      var $validate = array(
         'percent' => array(
             'rule' => array('between', 0, 100),
             'message' => 'You can only have between 0 and 100 percent
of your costumers in the test.'
          ),
     );
?>

what's wrong?

thx
Aurelius
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to