Hi. in your <input> line, the value expression should be wrapped in quotes. <TD><INPUT TYPE="text" NAME="namn" VALUE="<dtml-var namn>" size="50"></TD></TR> this should allow html to return the whole string and not just the first word in the string. ciao! greg. Gregory Haley DBA/Web Programmer Venaca, LLC
Hi there, When I read from the database and present the values in a list I do the following
<dtml-in select_statement> <dtml-var column_name> </dtml-in>
Works like a dream.
However I want the user to choose a record to modify and the display the complete ( not the key ) record in a form.
<FORM ACTION="modifyUniversitetdo"> <dtml-var InputTable > <dtml-with SQL> <dtml-in select_universitet_tab_with_key> <TR><TH>Namn</TH> <TD><INPUT TYPE="text" NAME="namn" VALUE=<dtml-var namn> size="50"></TD></TR> <TR><TD></TD> <TD><input type=submit value=" Lagra information "> <input type=reset value=" Rensa formul�ret "> </TD></TR> </dtml-in> </dtml-with> </TABLE> </FORM>
However when the form is displayed the value in the <dtml-var namn> is cut at the first whitespace. How do I do to get the whole column value displayed ?
Cheers
Fred
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )