Re: Using QuickForm an LiveUser together
| From: | Marco Schuler | Date: | Tue, 16 Mar 2004 09:15:18 +0000 |
| Subject: | Re: Using QuickForm an LiveUser together | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11318@lists.php.net to get a copy of this message | ||
Am Di, 2004-03-16 um 10.25 schrieb Bertrand Mansion:
> <listworks@gmx.ch> wrote :
[...]
> > I am using method POST for both, QuickForm and LiveUser.
> >
> > Now, after logging in, QuickForm starts validating the form (and
> > displaying element-rule messages) since some POST variables are set from
> > the login form. I could get around this by using method GET for
> > QuickForm and method POST for LiveUser or vice versa. But I don't want
> > the user to see LiveUser's or QuickForm's variables in the url.
> >
> > I have tried to unset LiveUser's paramters with unset$_POST['handle'],
> > unset$_POST['passwd'] and unset$_POST['Submit']. Unfortunaltey the
> > Form
> > is not displayed anymore after that.
> >
> > Any ideas to get around this without unsing different methods for
> > LiveUser and QuickForm?
> >
> > Thanks in advace!
>
> Set $trackSubmit = true in QuickForm constructor.
That's it! Thank you!
--
Regards
Marco