Re: HTML_QuickForm problems using $_REQUEST val for hidden element
| From: | Jeremiah Mattison | Date: | Tue, 25 Sep 2007 15:19:29 +0000 |
| Subject: | Re: HTML_QuickForm problems using $_REQUEST val for hidden element | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27982@lists.php.net to get a copy of this message | ||
Christian Weiske wrote:
Jeremiah,Maybe that was a bad example.. In reality I'm not using $_REQUEST at all but another variable, I was just using this as a basic test. I am not trying to read the variable from QF but pass it along as the value for the hidden element. If I just use a string it works fine but if I use any sort of variable it returns nothing.$form->addElement('hidden', 'lasttest', $_REQUEST['test']);Do not assume that QF results are stored in REQUEST but use QF to read the values.