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  


 [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.