[Zope] Adding Carriage return/line feed to a text field
Cliff Ford
Cliff.Ford at ed.ac.uk
Fri Apr 22 00:58:59 EDT 2005
If you are using a textarea field for input you could also use a text
area field for display, useful if the input might contain html tags.
Therwise wrap the display in <pre> tags.
Cliff
MCDONNELL, LARRY wrote:
> Hi,
>
>
>
> I have a form that the field length for that element is set to 65k in
> the database. Using a textbox, the person can enter their information. I
> now want to view the text. I can again use a text box but what I want to
> do is this -
>
>
>
> <dtml-var mytext>
>
>
>
> If I use this format, the text is one line. Are there arguments or a
> script that will add carriage return/line feed after you set the
> parameters?
>
>
>
> Thanks,
>
>
>
> Larry McDonnell
>
> Coordinator of Educational Technology
>
> New Haven Public Schools
>
> 54 Meadow Street
>
> New Haven, CT 06519
>
> larry.mcdonnell at new-haven.k12.ct.us
>
> (203) 946-2440
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list