#6009: Validation: field comparison
--------------------------------------------+-------------------------------
    Reporter:  tek01                        |          Type:  Enhancement
      Status:  new                          |      Priority:  Medium     
   Milestone:  1.2.x.x                      |     Component:  Validation 
     Version:  1.2 Final                    |      Severity:  Trivial    
    Keywords:  validation field comparison  |   Php_version:  n/a        
Cake_version:                               |  
--------------------------------------------+-------------------------------
 A very common task when building registration form is to compare two
 fields (like confirm password or confirm email). It would be very handy to
 have a validation rule to do so, without having to build your own custom
 validation function.[[BR]]
 [[BR]]
 Something like

 $validate = array([[BR]]
     'password' => array([[BR]]
          'rule' => array('compareTo', 'confirm_password'),
 ecc ecc[[BR]]
 [[BR]]

 That would tell cake to check if password field is equal to the
 'confirm_password' field.. automagically.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6009>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [CakePHP : The Rapid Dev... CakePHP : The Rapid Development Framework for PHP

Reply via email to