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

Bug #13685 setSelected() overrides form submit
Submitted: 2008-04-15 16:19 UTC
From: banquette Assigned:
Status: Bogus Package: HTML_QuickForm_altselect (version 1.0.0)
PHP Version: 5.2.5 OS:
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 : 36 - 12 = ?

 
 [2008-04-15 16:19 UTC] banquette (Alex Desktop)
Description: ------------ if form is submited, submited values won't be applied to the form ; default values (set) are applied

Comments

 [2008-04-17 09:07 UTC] shangxiao (David Sanders)
This is not an issue with altselect or QuickForm. If you tell altselect or QF to set the selected value it will do just that. To set default values that will be overridden by submitted values, use HTML_QuickForm::setDefaults().