RE: List Delimiter Question

2000-11-14 Thread John Rice

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01C04E98.5503E30C
Content-Type: text/plain;
charset="iso-8859-1"


A real good point (considering it came from DW I guess that is a redundacy).
Something I have often seen used in c is the null char which I use as chr(0)
in CF.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 6:29 PM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: List Delimiter Question


> when you're assembling the list, use a different character 
> as the delimiter. perhaps the pipe symbol (|)?

I like to use a non-printable character, because anything that can be typed
in, will be typed in by somebody. My favorite character for this is the
bell, Chr(7).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

--_=_NextPart_001_01C04E98.5503E30C
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable






RE: List Delimiter Question




A real good point (considering it came from DW I =
guess that is a redundacy).  Something I have often seen used in c =
is the null char which I use as chr(0) in CF.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]]=

Sent: Tuesday, November 14, 2000 6:29 PM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: List Delimiter Question



> when you're assembling the list, use a different =
character 
> as the delimiter. perhaps the pipe symbol =
(|)?


I like to use a non-printable character, because =
anything that can be typed
in, will be typed in by somebody. My favorite =
character for this is the
bell, Chr(7).


Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/" =
TARGET=3D"_blank">http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
---=
-
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/" =
TARGET=3D"_blank">http://www.mail-archive.com/cf-talk@houseoffusion.com/=

Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=3Dlists" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
 or send a message with 'unsubscribe' in the body to =
[EMAIL PROTECTED]



--_=_NextPart_001_01C04E98.5503E30C--

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: List Delimiter Question

2000-11-14 Thread Dave Watts

> when you're assembling the list, use a different character 
> as the delimiter. perhaps the pipe symbol (|)?

I like to use a non-printable character, because anything that can be typed
in, will be typed in by somebody. My favorite character for this is the
bell, Chr(7).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: List Delimiter Question

2000-11-14 Thread Simon Horwith

sorry... misread your original post.  what you need to do is use javascript
to modify the formfield values.
~Simon  

> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-Original Message-
From: Simon Horwith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 5:00 PM
To: CF-Talk
Subject: RE: List Delimiter Question


Try: #Replace(FORM.textfieldname,",", "","ALL")#

~Simon

> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-Original Message-
From: Craig A. Zingerline [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 4:13 PM
To: CF-Talk
Subject: List Delimiter Question


Hello,

We have an application where we are creating a list from numerous text
fields all with the same name.  Currently, if a user enters a comma in one
of the text boxes, the program sees this as a delimiter and our program
doesn't work.  Is there a way that I can ignore commas from being used in
the list so we can allow users to put a comma in the field?  Thank you for
any help.

Craig


Craig A. Zingerline
Advanced Media Productions
Web Application Developer
[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: List Delimiter Question

2000-11-14 Thread Gregory Harris

Ignore me please, I didn't realize it was coming out of a form, must be the
"mid-afternoon drowsiness" thing...
Gregory Harris
Web Developer
Stirling Bridge Group LLC

- Original Message -
From: "Simon Horwith" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 2:00 PM
Subject: RE: List Delimiter Question


> Try: #Replace(FORM.textfieldname,",", "","ALL")#
>
> ~Simon
>
> > Simon Horwith
> > Certified ColdFusion Developer
> > Fig Leaf Software
> > 1400 16th St NW, # 220
> > Washington DC 20036
> > 202.797.6570 (direct line)
> > www.figleaf.com
> >
>
>
> -Original Message-
> From: Craig A. Zingerline [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 14, 2000 4:13 PM
> To: CF-Talk
> Subject: List Delimiter Question
>
>
> Hello,
>
> We have an application where we are creating a list from numerous text
> fields all with the same name.  Currently, if a user enters a comma in one
> of the text boxes, the program sees this as a delimiter and our program
> doesn't work.  Is there a way that I can ignore commas from being used in
> the list so we can allow users to put a comma in the field?  Thank you for
> any help.
>
> Craig
>
>
> Craig A. Zingerline
> Advanced Media Productions
> Web Application Developer
> [EMAIL PROTECTED]
>
> --
--
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a
> message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: List Delimiter Question

2000-11-14 Thread Christopher Olive, CIO

when you're assembling the list, use a different character as the delimiter.
perhaps the pipe symbol (|)?

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-Original Message-
From: Craig A. Zingerline [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 4:13 PM
To: CF-Talk
Subject: List Delimiter Question


Hello,

We have an application where we are creating a list from numerous text
fields all with the same name.  Currently, if a user enters a comma in one
of the text boxes, the program sees this as a delimiter and our program
doesn't work.  Is there a way that I can ignore commas from being used in
the list so we can allow users to put a comma in the field?  Thank you for
any help.

Craig


Craig A. Zingerline
Advanced Media Productions
Web Application Developer
[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: List Delimiter Question

2000-11-14 Thread Rick Lamb

Would it be possible to use a different delimiter? If so then just specify
the delimiter in your list functions. Otherwise, you could do a replace
function to take out submitted coma's and replace them with something else.

Rick

-Original Message-
From: Craig A. Zingerline [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 3:13 PM
To: CF-Talk
Subject: List Delimiter Question


Hello,

We have an application where we are creating a list from numerous text
fields all with the same name.  Currently, if a user enters a comma in one
of the text boxes, the program sees this as a delimiter and our program
doesn't work.  Is there a way that I can ignore commas from being used in
the list so we can allow users to put a comma in the field?  Thank you for
any help.

Craig


Craig A. Zingerline
Advanced Media Productions
Web Application Developer
[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: List Delimiter Question

2000-11-14 Thread Russel Madere

Yes.

You need to use a different character for the list.  The List functions in
Cold Fusion allow you to use a different character.  If I want to make sure
I use a character a user won't, I use a double pipe (||) or something else
as the delimiter.

Look in the CF documentation for the List functions.  They will show you the
way to change this.

Russel


  Russel Madere, Jr. Senior Web Developer
  ICQ: 5446158   http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.



> -Original Message-
> From: Craig A. Zingerline [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 14, 2000 15:13
> To: CF-Talk
> Subject: List Delimiter Question
>
>
> Hello,
>
> We have an application where we are creating a list from numerous text
> fields all with the same name.  Currently, if a user enters a comma in one
> of the text boxes, the program sees this as a delimiter and our program
> doesn't work.  Is there a way that I can ignore commas from being used in
> the list so we can allow users to put a comma in the field?  Thank you for
> any help.
>
> Craig
>
>
> Craig A. Zingerline
> Advanced Media Productions
> Web Application Developer
> [EMAIL PROTECTED]
>
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: List Delimiter Question

2000-11-14 Thread Fred T. Sanders

it would be easier to give it a different delimiter instead of the comma
- Original Message -
From: "Craig A. Zingerline" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 4:12 PM
Subject: List Delimiter Question


> Hello,
>
> We have an application where we are creating a list from numerous text
> fields all with the same name.  Currently, if a user enters a comma in one
> of the text boxes, the program sees this as a delimiter and our program
> doesn't work.  Is there a way that I can ignore commas from being used in
> the list so we can allow users to put a comma in the field?  Thank you for
> any help.
>
> Craig
>
>
> Craig A. Zingerline
> Advanced Media Productions
> Web Application Developer
> [EMAIL PROTECTED]
>
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: List Delimiter Question

2000-11-14 Thread Gregory Harris

Two ideas as I see it:

1) Change the delimiter to something impossible to replicate in your
program, build your list to use a delimiter other than a comma.  All the CF
functions have a provision to support something different than a comma in
their use.

2) (my preferred for your case) Use an array

Gregory Harris
Web Developer
Stirling Bridge Group LLC

- Original Message -
From: "Craig A. Zingerline" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 1:12 PM
Subject: List Delimiter Question


> Hello,
>
> We have an application where we are creating a list from numerous text
> fields all with the same name.  Currently, if a user enters a comma in one
> of the text boxes, the program sees this as a delimiter and our program
> doesn't work.  Is there a way that I can ignore commas from being used in
> the list so we can allow users to put a comma in the field?  Thank you for
> any help.
>
> Craig
>
>
> Craig A. Zingerline
> Advanced Media Productions
> Web Application Developer
> [EMAIL PROTECTED]
>
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: List Delimiter Question

2000-11-14 Thread Simon Horwith

Try: #Replace(FORM.textfieldname,",", "","ALL")#

~Simon

> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-Original Message-
From: Craig A. Zingerline [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 4:13 PM
To: CF-Talk
Subject: List Delimiter Question


Hello,

We have an application where we are creating a list from numerous text
fields all with the same name.  Currently, if a user enters a comma in one
of the text boxes, the program sees this as a delimiter and our program
doesn't work.  Is there a way that I can ignore commas from being used in
the list so we can allow users to put a comma in the field?  Thank you for
any help.

Craig


Craig A. Zingerline
Advanced Media Productions
Web Application Developer
[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: List Delimiter Question

2000-11-14 Thread Howie Hamlin

Wrap the fields in double quotes or use a TAB as a delimiter.

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server

- Original Message -
From: "Craig A. Zingerline" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 4:12 PM
Subject: List Delimiter Question


> Hello,
>
> We have an application where we are creating a list from numerous text
> fields all with the same name.  Currently, if a user enters a comma in one
> of the text boxes, the program sees this as a delimiter and our program
> doesn't work.  Is there a way that I can ignore commas from being used in
> the list so we can allow users to put a comma in the field?  Thank you for
> any help.
>
> Craig
>
>
> Craig A. Zingerline
> Advanced Media Productions
> Web Application Developer
> [EMAIL PROTECTED]
>
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]