Re: Quickfrom smarty and hidden field

From: Date: Thu, 11 Nov 2004 21:43:00 +0000
Subject: Re: Quickfrom smarty and hidden field
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15459@lists.php.net to get a copy of this message
Yes you're right ! {$form_data.hidden} is needed to use data in the array passed to the template object (not displayed through a renderer)... Thanks ! Mos "Subs" <subs@snackfood.org> a écrit dans le message de news:php.pear.general-15457@news.php.net... I think you need to use {$form_data.hidden} <form {$form_data.attributes}> {$form_data.hidden} ... Ben > -----Original Message----- > From: Mos [mailto:mos_fr@yahoo.fr] > Sent: 11 November 2004 21:10 > To: pear-general@lists.php.net > Subject: [PEAR] Quickfrom smarty and hidden field > > Hi ! > I try to set a form with an hidden field : > [snip...] > > All is fine except the hidden field (named arnaud) which is > not displayed in the HTML code : > > <form action="showitem.php" method="post" > name="frmComment" > id="frmComment"> > > <table border="0" cellspacing="0" width="100%"> > <tr> > <td colspan="2" bgcolor="#ddddee"> > <font color="#000000"></font><hr> > </td> > </tr> > > <tr bgcolor="#ddddee"> > <td> > &nbsp; > </td> > <td> > <font color="#000000">Add your > comment</font><br><br> > </td> > </tr> > > <tr bgcolor="#ddddee"> > <td> > <font color="#000000"><b>Name : > </b></font><br> > caché : / > </td> > <td> > <input size="40" name="name" type="text" /> > (............) > > What is wrong for this hidden field ? > > -- > PEAR General Mailing List (http://pear.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php > >

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