RE: [PEAR] QF setConstants/exportValue

From: Date: Thu, 22 Apr 2004 12:43:34 +0000
Subject: RE: [PEAR] QF setConstants/exportValue
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12028@lists.php.net to get a copy of this message
Hi! > There is a slight case of misunderstanding. > > constants / defaults are there to set the displayed values, while > getSubmitValues()/exportValues() are there to return submitted ones. > exportValues() only uses defaults/constants when no submitted value is > present. OK - that's OK ... Actually I never depended on that. My problem is a bit more complicated and this was just a control structure. My problem is that my buildForm function in its very end does this: $this->setConstants($container['values']['formname']); viewArray($container['values']['formname']); which does - also as control - output the values of the form that I just set. This outputs that fID is "" but in the form I get something different in the select box - even there is an option ""=>'something' for the selectbox. It seems that someone does set the value to something different somewhere. I just cannot figure out who ... Regards Daniel

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