RE: TextArea for multi inputs

2006-04-14 Thread Loathe
On the action page you treat the form field's output (form["whatever"] or
form.whatever) as a list using CRLF as the list delimiter.

--
Timothy Heald
Analyst, Architect, Developer
[EMAIL PROTECTED]
W: 202-228-8372
C: 703-300-3911
-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs

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.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237788
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


Re: TextArea for multi inputs

2006-04-14 Thread S . Isaac Dealey
Of course then if you need to pre-populate the textarea, you need to
use the same sort of strategy:

#ValueList(myQuery.column,chr(13) & chr(10))#

-- 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.

>  '#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


RE: TextArea for multi inputs

2006-04-14 Thread Coldfusion
Same concept, one TEXTAREA field and on the action page, just parse the
Results as a list type field using the carriage return as the delimiter. 

-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs

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.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237768
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


RE: TextArea for multi inputs

2006-04-14 Thread Andy Matthews
You can put whatever you like into a textarea field. If you put multiple
email address in there, seperated by a comma say. Then all you need to do is
to loop over the contents of that field to perform multiple inserts when
you're processing the form.



-Original Message-
From: j s [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 10:44 AM
To: CF-Talk
Subject: TextArea for multi inputs


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.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237765
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


Re: TextArea for multi inputs

2006-04-14 Thread Jordan Michaels
j s 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.
> 

On your processing page, you can use something like the following:



#i#



Hope that helps!

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237769
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: TextArea for multi inputs

2006-04-14 Thread Rob Wilkerson
When processing, just treat the form value as a list with chr(13) and
chr(10) as its delimiters.



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.
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237767
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: TextArea for multi inputs

2006-04-14 Thread Everett, Al \(NIH/NIGMS\) [C]
Just treat the resulting form.variable as a list using CHR(13) and
CHR(10) as delimiters.

-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs

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.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237763
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54