Re: HTML Quickform passes values in URL

From: Date: Thu, 14 Dec 2006 20:06:04 +0000
Subject: Re: HTML Quickform passes values in URL
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26095@lists.php.net to get a copy of this message
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 (#26095) next »