formbuilder-quickform and querystring

From: Date: Wed, 15 Nov 2006 15:16:21 +0000
Subject: formbuilder-quickform and querystring
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25838@lists.php.net to get a copy of this message
Hi!, Perhaps you thik this simple qüestion is fool but I have wasted 1 hour searching in the QF and FB docs. I'm trying to set a formbuilder form in a web page that have querystring variables. For example: myform.php?which=4 The form is displayed correctly but when I submit it I lost the which querystring variable. I don't found the wayto mantain this variable in the querystring. If I do a 'view html code' in my browser i see the form action value as only 'myform.php' I have tried to set the action value in the form variable returned from formbuilder: $do =& DB_DataObject::factory('myTable'); $fb =& DB_DataObject_FormBuilder::create($do); $frm=& $fb->getForm(); $frm->action="myform.php?which=".$_REQUEST['which']; But It don't work. I think that the action property of QF can only be setted with QF constructor. I'm sure that there is a way to do that I want but i don't find it. Any help would be apreciated. Thanks.

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