RE: [PEAR] How to keep GET variables in DataGrid and QuickForm?

From: Date: Thu, 17 Apr 2008 21:22:00 +0000
Subject: RE: [PEAR] How to keep GET variables in DataGrid and QuickForm?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28810@lists.php.net to get a copy of this message
Set the QuickForm action to $_SERVER['REQUEST_URI']: $formName = 'myformname'; $method = 'post'; //post or get $action = $_SERVER['REQUEST_URI']; $target = ''; $attributes = null; $trackSubmit = true; $form = new HTML_QuickForm($formName, $method, $action, $target , $attributes, $trackSubmit); http://pear.php.net/manual/en/package.html.html-quickform.html-quickform .html-quickform.php Thanks, Dan -----Original Message----- From: Bernhard Harb [mailto:pear@harb-online.com] Sent: Thursday, April 17, 2008 2:39 PM To: pear-general@lists.php.net Subject: [PEAR] How to keep GET variables in DataGrid and QuickForm? Hi! I have a page which exchanges lots of data through GET and POST variables. The problem is, that when using HTML_QuickForm (or Structures_DataGrid) after sending the Form via "submit", all the previous set variables are gone except those of the form fields. Is there any way to keep all variables, so that the form field variables are added to the GET or POST lists? Thanks a lot, Bernhard. -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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