[WEB4LIB] TEXTAREA rendering

Thomas Bennett bennetttm at appstate.edu
Fri Feb 15 12:43:57 EST 2002


Not having used Cold Fusion, can you run the form data for that form element
through a script before it goes into the database to do a search and
replace.  I do this in Zope to escape the ' and change it to \' because the
data terminates at the first apostrophe it finds, if any, when it goes into
the database.

Thomas

-----Original Message-----
From: web4lib at webjunction.org
[mailto:web4lib at webjunction.org]On Behalf Of VanderHart, Robert
Sent: Friday, February 15, 2002 10:55 AM
To: Multiple recipients of list
Subject: [WEB4LIB] TEXTAREA rendering


Good morning,

I'm developing a web form so our staff members can author meeting minute.
The form consists of several TEXTAREA elements for individual paragraphs.
When the form is submitted, the rendered minutes appear on the next screen.
You can see the form at
http://library.umassmed.edu/~rvanderh/minutemanager.cfm.

I would like to have one large TEXTAREA element for the "body" of the
minutes, so that when you press Enter the equivalent of the BR element is
inserted.  Right now when you press Enter in the TEXTAREA it's ignored and
does not render, so I have to use the much-less elegant method of a separate
TEXTAREA for each paragraph.  Since I don't want to require our staff to
know any HTML to use this form, such as typing BR or P to make a new
paragraph, I'm wondering if there is any way to make paragraphs render from
a single TEXTAREA?


Robert J. Vander Hart
Electronic Resources Librarian
The Lamar Soutter Library
University of Massachusetts Medical School
55 Lake Avenue N
Worcester  MA  01655

Voice: (508) 856-3290
Fax: (508) 856-5899
Email: Robert.VanderHart at umassmed.edu
Web: http://library.umassmed.edu




More information about the Web4lib mailing list