QF Controller and hidden elements
| From: | Mike Carter | Date: | Tue, 23 Sep 2003 16:16:51 +0000 |
| Subject: | QF Controller and hidden elements | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8003@lists.php.net to get a copy of this message | ||
Hi,
Having trouble with the QF Controller and not correctly handling the
'hidden' element.
On page 1 of my form I set an element:
$this->addElement('hidden', 'conceptType', $conceptType);
$conceptType = 1.... I know its valid and works because, just before
doing the above addElement() call I perform a var_dump($conceptType);
and get expected output.
However, in the HTML output I'm getting just an empty definition:
<input name="conceptType" type="hidden" value="" />
I've used the same form code outside of the QF Controller for months now
without problems. Is there some conflict - somehow - somewhere?
I can't quite see how it should make a difference wether the QF is
defined within a controller container or not?
I use the Array renderer - should this make any difference?
Can't seem to find a solution at the moment. Now its time for home.
Regards,
--
Mike Carter
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________