Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.4.0

Request #9097 option to execute rules even when element values are empty
Submitted: 2006-10-19 19:56 UTC
From: marcio at corp dot grupos dot com dot br Assigned: avb
Status: Closed Package: HTML_QuickForm2
PHP Version: 4.4.4 OS: freebsd
Roadmaps: 0.2.0    
Subscription  


 [2006-10-19 19:56 UTC] marcio at corp dot grupos dot com dot br (Márcio Dick Smiderle)
Description: ------------ Class Rules needs and attribute (validateIfEmptyValue, by default false) that says to validate() execute that rule even when the element has an empty value. Now it is hardcoded for required and uploadedfile, in addRule(). These rules should set validateIfEmptyValue attribute to true. I need ( :) ) that when i created a rule called requiredIfCompare, where an elemento should be required only if some comparison of other elements results true. It could be in QF 3, next version ;~

Comments

 [2007-07-06 20:58 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-10-15 12:03 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!