[Zope] Display problems

Ben Avery ben@thesite.org
Thu, 08 Aug 2002 14:23:13 +0100


I think you need (double) quotes around the value attribute in the first 
example, so:

<input type="text" name="item_num_required" size="50"
value="<dtml-var item_num_required>">

otherwise the HTML is invalid, as the following words are taken as 
separate attributes.

McDonnell, Larry wrote:

>Hi,
>
>I have come across a strange problem. I have created a Zope application to
>collect information through a Zope form. The input form works. I also give
>the users the ability to update. But I notice something strange.
>
>      <tr> 
>      <td width="27%">Item Number Required:</td>
>      <td width="73%"> 
>        <input type="text" name="item_num_required" size="50"
>value=<dtml-var item_num_required>>
>      </td>
>    </tr>
>
>When get the record only the first word in the field will appear. But if I
>use this -
>
>      <tr> 
>      <td width="27%">Part Number Required:</td>
>      <td width="73%"> 
>          <textarea name="part_num_required" rows="1" cols="50"><dtml-var
>part_num_required> </textarea>
>      </td>
>    </tr>
>I see the entire field using this method. Any thoughts??
>
>
>Larry McDonnell
>
>Proton Energy Systems
>50 Inwood Rd.
>Rocky Hill, CT 06067
>(860) 571-6533 ext. 531
>Email:lmcdonnell@protonenergy.com
>www.protonenergy.com
>
>
>_______________________________________________
>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 )
>
>  
>