Of course then if you need to pre-populate the textarea, you need to
use the same sort of strategy:

<textarea>#ValueList(myQuery.column,chr(13) & chr(10))#</textarea>

-- you may find that you only need one or the other character when
embedding those values in the html due to the browser's handling of
line breaks. This is an edge case for me, so I can't give you loads of
info about it.

> When processing, just treat the form value as a list with
> chr(13) and
> chr(10) as its delimiters.

> <cfset emailAddys = listToArray ( form.fieldName,
> '#chr(13)##chr(10)#' ) />

> On 4/14/06, j s <[EMAIL PROTECTED]> wrote:
>> Does anyone know how to use a textarea as a multi input
>> field?  F.e. I'v seen a form which uses a textarea to
>> insert mulitple email addresses each separated by the
>> carriage return.


s. isaac dealey     434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237778
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to