Re: QuickForm2 (form action)
| From: | Php Developer | Date: | Tue, 25 May 2010 01:06:54 +0000 |
| Subject: | Re: QuickForm2 (form action) | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30557@lists.php.net to get a copy of this message | ||
Thank you. It works perfectly.
----- Original Message ----
From: Mark Steudel <msteudel@gmail.com>
To: Php Developer <pdeveloper@rocketmail.com>
Cc: pear-general <pear-general@lists.php.net>
Sent: Mon, May 24, 2010 8:33:04 PM
Subject: Re: [PEAR] QuickForm2 (form action)
Hey,
Sorry I didn't know the exact syntax for qf2 off the top of my head,
here's how to do it in qf2:
$form = new HTML_QuickForm2('elements', 'post', array( 'action' =>
'index.php?var2=1') );
Mark
On Mon, May 24, 2010 at 5:34 PM, Php Developer
<pdeveloper@rocketmail.com> wrote:
> Hi,
>
> What you suggested does not work. Once the submit button is pressed the query string diseapears
> from the url. By the way, i'm using quickForm2 not quickform.
>
> Thank you
>
>
>
> ----- Original Message ----
> From: Mark Steudel <msteudel@gmail.com>
> To: Php Developer <pdeveloper@rocketmail.com>
> Cc: pear-general <pear-general@lists.php.net>
> Sent: Mon, May 24, 2010 4:04:43 PM
> Subject: Re: [PEAR] QuickForm2 (form action)
>
> One method you could do is to repass the get variable to the form that
> you are posting too
> e.g. (This is the original quickform syntax)
>
> $form = new HTML_QuickForm( 'formName', 'post',
> $_SERVER['REQUEST_URI'] . ''?" $_SERVER['QUERY_STRING'] );
>
> Mark
> On Mon, May 24, 2010 at 3:46 PM, Php Developer
> <pdeveloper@rocketmail.com> wrote:
>> Hi,
>>
>> i'm using a quickform2 form in a page that has a get variable in the url. When I press
>> the submit button it automatically removes the get variable from the url. I'm wondering if
>> there is anyway to overcome this limitation.
>>
>> Thank you
>>
>>
>>
>>
>>
>> --
>> PEAR General Mailing List (http://pear.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
>
> -----------------------------------------
> Mark Steudel
> P: 206.375.7244
> msteudel@gmail.com
>
> . : Work : .
> http://www.mindfulinteractive.com
>
> . : Play : .
> http://www.steudel.org/blog
>
>
>
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-----------------------------------------
Mark Steudel
P: 206.375.7244
msteudel@gmail.com
. : Work : .
http://www.mindfulinteractive.com
. : Play : .
http://www.steudel.org/blog
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php