HTML_QuickForm_Controller and setDefaults

From: Date: Tue, 12 Sep 2006 10:49:56 +0000
Subject: HTML_QuickForm_Controller and setDefaults
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25107@lists.php.net to get a copy of this message
Hello! I am having a big trouble with a non-modal QF_C and the setDefaults method. I have a six page controller that I use for both entering and editing information. When editing I use setDefaults to fill the form with the current information that is to be changed. Well, each page I visit seems to get the values properly set but if I skip a page then all checkboxes and select fields are submitted as empty. I cannot ignore the empty fields since the user might truly wan't to de-select a checkbox for example. I have spent a couple of days trying to figure out why the select/checkboxes doesn't get set if I do not visit the actual page where they reside. All text fields work nicely, where could I start looking for the problem? Any help would be appreciated. best regards, Kim Fredenberg PS. I apologise if you get this mail twice, had some problems with my email.

« previous php.pear.general (#25107) next »