RE: [PEAR] HTML Quickform passes values in URL

From: Date: Thu, 14 Dec 2006 20:12:10 +0000
Subject: RE: [PEAR] HTML Quickform passes values in URL
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26097@lists.php.net to get a copy of this message
Thanks. The problem is resolved. That was copy-paste from my other source code and now I understand the problem was due to the missing form attributes. I highly appreciate your help. Thanks Vignesh. -----Original Message----- From: Alexey Borzov [mailto:borz_off@cs.msu.su] Sent: Thursday, December 14, 2006 2:06 PM To: Vignesh M P N Cc: pear-general@lists.php.net Subject: Re: [PEAR] HTML Quickform passes values in URL Hi, Vignesh M P N wrote: > $tpl->assign('login', $rarray); > ================== > Login.tpl > ================== > {$form.javascript} > > <form {$form.attributes}> > {$form.hidden} > > <TABLE height=100% name="TblLogin" id="TblLogin" > > <TR> > <TD class="label"> > {$login.lusername.label} > </TD> > <TD> > {$login.lusername.html} > </TD> You assign the form as 'login' variable, while your template contains {$form.attributes} placeholder for some reason (copy-paste from example?). This placeholder is of course left empty and you get <form> tag with no attributes.

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