Re: [SMARTY] form value cut
| From: | admin at doublebnet dot de | Date: | Sun, 28 Mar 2004 11:40:02 +0000 |
| Subject: | Re: [SMARTY] form value cut | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11180@lists.php.net to get a copy of this message | ||
Hi all,
i think the problems belongs to your not W3C conform
HTML-Code, that all values an parameters should be
written in " ".
so this should help:
<td><input type="text" name="firstName"
value="{$firstName}"></td>
I allways code my forms this way an never had problems, also
when using older versions of Smarty.
greetz
Ben
Kai-Uwe Beyer <ksi@ksile.de> schrieb am 28.03.2004, 13:16:09:
> Hi there,
>
> in my template in this line:
> <td><input type="text" name='firstName'
> value={$firstName}></td>
>
> the value of {$firstName} is "John Carroll".
>
> My Problem now is, that the form doesent show the complete name but only
> "John". The variable shows at other places in ther source template the
> full name, only in form it will be cut a part from the variable content..
> My smarty version is 2.6.0. RC1. Is this still a bug?
>
> Bye Kai
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php