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

Request #2529 Custom callback rules not called if no value submitted
Submitted: 2004-10-14 15:30 UTC
From: sw at knollwimmer dot de Assigned:
Status: Bogus Package: HTML_QuickForm
PHP Version: 4.3.2 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 18 + 13 = ?

 
 [2004-10-14 15:30 UTC] sw at knollwimmer dot de
Description: ------------ I was trying to test field1 dependent on another field2 in the form - only in some special cases field1 needs to be filled out. Unfortunately my custom rule doesn't get called if the value is empty. I hope I didn't miss anything obvious... Greets, Stefan

Comments

 [2005-05-28 17:50 UTC] avb
addFormRule() should be used for such "exotic" cases.