QuickForm issues again
| From: | David Dahl | Date: | Mon, 24 Jun 2002 21:35:25 +0000 |
| Subject: | QuickForm issues again | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-1749@lists.php.net to get a copy of this message | ||
I am using a hidden input field called "_sub" to control the flow of my
scripts:
if ($_GET[_sub]=='1'){
print "5";
}
if ($_GET[_sub]=='2'){
print "6";
}
once I started using HTML_QuickForm, this is not possible...
this is what the quickform returns inside the form:
<input name="_sub" value="1" type="hidden" />
yet, during output, nothing shows up in the browser...
also: if I change the value of _sub to "edit_user" the print statement
works, but, the next "_sub" value doesnt work...
this never happens when i hard code the forms...