OT: CR in a textarea problem

2006-08-26 Thread cf-talk
Hi list,
I have the following
in a textarea (form):

name1
name2
name3

and I want to output
the values of the field
exaxtly the same like:

name1
name2
name3

not like: name1 name2 name3

How can I catch the CR after
every line ?

Uwe



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251142
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: OT: CR in a textarea problem

2006-08-26 Thread James Holmes
Use pre ?

On 8/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi list,
 I have the following
 in a textarea (form):

 name1
 name2
 name3

 and I want to output
 the values of the field
 exaxtly the same like:

 name1
 name2
 name3

 not like: name1 name2 name3

 How can I catch the CR after
 every line ?

 Uwe



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251143
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: OT: CR in a textarea problem

2006-08-26 Thread Charlie Griefer
replace(form.value, chr(13)chr(10), br /, all)

On 8/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi list,
 I have the following
 in a textarea (form):

 name1
 name2
 name3

 and I want to output
 the values of the field
 exaxtly the same like:

 name1
 name2
 name3

 not like: name1 name2 name3

 How can I catch the CR after
 every line ?

 Uwe



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251144
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CR in a textarea problem

2006-08-26 Thread Mike Tangorre
htmlCodeFormat()



From: [EMAIL PROTECTED]
 and I want to output
 the values of the field
 exaxtly the same like:





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251145
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: OT: CR in a textarea problem

2006-08-26 Thread Kris Jones
#replacenocase(form.fieldtxtarea,chr(10),br /)#

Cheers,
Kris

 and I want to output
 the values of the field
 exaxtly the same like:

 name1
 name2
 name3

 not like: name1 name2 name3

 How can I catch the CR after
 every line ?

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251146
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CR in a textarea problem

2006-08-26 Thread Bobby Hartsfield
That IS how they will go into the database. You just have to make sure to
format it that way when outputting it since browsers don’t parse CRs as line
breaks.

So just insert the...
Name1
Name2
Name3

Then when you output it replace the CRs with br / tags like so...

#Replace(query.column, #chr(13)##chr(10)#, br /, all)#

or just wrap it in pre tags ;-)

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 12:15 PM
To: CF-Talk
Subject: OT: CR in a textarea problem

Hi list,
I have the following
in a textarea (form):

name1
name2
name3

and I want to output
the values of the field
exaxtly the same like:

name1
name2
name3

not like: name1 name2 name3

How can I catch the CR after
every line ?

Uwe





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251147
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CR in a textarea problem

2006-08-26 Thread Denny Valliant
On 8/26/06, Mike Tangorre [EMAIL PROTECTED] wrote:

 htmlCodeFormat()


Oh yeah.  Bobby's right though, it's stored how it's stored.

Generally speaking, you want it to go in how you want it to come out.
:D


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251165
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT: CR in a textarea problem

2006-08-26 Thread Bobby Hartsfield
Unfortunately, Paragraphformat will turn a single line break into 2

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 


-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 8:13 PM
To: CF-Talk
Subject: Re: OT: CR in a textarea problem

paragraphFormat(form.fieldtxtarea) ?

On 8/26/06, Kris Jones [EMAIL PROTECTED] wrote:

 #replacenocase(form.fieldtxtarea,chr(10),br /)#

 Cheers,
 Kris

  and I want to output
  the values of the field
  exaxtly the same like:
 
  name1
  name2
  name3
 
  not like: name1 name2 name3
 
  How can I catch the CR after
  every line ?

 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251168
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: textarea problem

2003-10-26 Thread Tim Laureska
Thanks Dave and Steven... thought I had tried that once with no success,
but anyway...

-Original Message-
From: Stephen Hait [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 26, 2003 12:36 PM
To: CF-Talk
Subject: Re: textarea problem

 IS there some secret to displaying a form variable in a HTML form -
 textarea box:
 
 I don't get any errors, but nothing shows when I pass the
 description variable to this text area:
 
 TEXTAREA NAME=description ROWS=5 COLS=59VALUE=#description#
 scroll=yes/textarea

The value displayed in the textarea form element is specified 
diferently. Try changing it to this:
TEXTAREA NAME=description ROWS=5 COLS=59
scroll=yes#description#/textarea

You also need to use cfoutput/cfoutput tags of course.

HTH,
Stephen

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




textarea problem

2003-10-26 Thread Tim Laureska
IS there some secret to displaying a form variable in a HTML form -
textarea box:

I don't get any errors, but nothing shows when I pass the description
variable to this text area:

TEXTAREA NAME=description ROWS=5 COLS=59VALUE=#description#
scroll=yes/textarea

Tim


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea problem

2003-10-26 Thread Dave Watts
 IS there some secret to displaying a form variable in a HTML 
 form - textarea box:
 
 I don't get any errors, but nothing shows when I pass the 
 description variable to this text area:
 
 TEXTAREA NAME=description ROWS=5 COLS=59
 VALUE=#description# scroll=yes/textarea

The TEXTAREA field doesn't have a VALUE attribute:

textarea name=description ...#description#/textarea

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

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: textarea problem

2003-10-26 Thread Stephen Hait
 IS there some secret to displaying a form variable in a HTML form -
 textarea box:
 
 I don't get any errors, but nothing shows when I pass the
 description variable to this text area:
 
 TEXTAREA NAME=description ROWS=5 COLS=59VALUE=#description#
 scroll=yes/textarea

The value displayed in the textarea form element is specified 
diferently. Try changing it to this:
TEXTAREA NAME=description ROWS=5 COLS=59
scroll=yes#description#/textarea

You also need to use cfoutput/cfoutput tags of course.

HTH,
Stephen
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Textarea problem.

2001-07-29 Thread Bill Davidson

I am sure this has been dealt with before, but I'm having some issues with
this one -- maybe someone can help.

I am doing a search and replace routine, and I want the user to be able to
enter in the text and have that passed EXACTLY how it was pasted in.  It is
to be used often for replacing blocks of HTML code in a database.  I have
seen custom tags that display the original correctly, but I they do it by
substituted one thing for another.  Here I need to get an exact duplicate of
what was entered.

Any thoughts?

-Bill
www.brainbox.tv



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Textarea problem

2000-05-09 Thread Nagesh Kumar Deva

try this,
in processing form, give #form.req_just# instead form.req_just

otherwise u can also may do  this way, cfif not
isdefined('#form.req_just#')

nagesh

-Original Message-
From: Reuben King [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 6:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Textarea problem


In 01A056931BA6D011AE63F84A801204446FA6@KSCMBS41, Howell, Katie 
([EMAIL PROTECTED]) in a fit of unbridled passion, 
wrote:
 I'm having a problem processing a text area.  It seem if a user enters
 anything with  single quotes, double quotes or the percent sign it causes
 problems.  The text area looks like:
 textarea cols=50 name="req_just" rows=5 wrap=virtual
 class="sgs8n"/textarea
 
 and on the processing page I have this for validation:
 
 CFIF FORM.REQ_JUST Is ""
   You must enter the justification.br
   a href="javascript:history.back()"Back/a
   CFABORT
 /cfif
 
 The user gets the following error:
 Error Occurred While Processing Request
 
 Error resolving parameter FORM.REQ_JUST
[snip]

Make a default value for the form, as: cfparam name="form.req_just" 
default=""

That should fix it for you.

HTH,
-R

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea problem

2000-05-09 Thread Sean Brown

This is not the case:
IsDefined is one of those 'funny' tags the proper syntax for checking the
existence of a variable FORM.FirstName is:

IsDefined("FORM.FirstName")

Also #'s are note required inside of most other tags so the following is
syntactically correct:
cfif FORM.FirstName IS "Sean"
...
/cfif

Use #'s to interpolate the variable (get at the value not the name). That's
why IsDefined is unusual, you are looking for the presence of a variable
_name_ in the symbol table, if you put #'s in there you'll be looking for
the presence of whatever FORM.FirstName's value is in the symbol table (if
FORM.FirstName is Bob, then IsDefined("#FORM.FieldName#") will look in the
symbol table for a variable named "BOB")

Inside of tags (and outside of quotes) CF interpolates the value for you so
you can do things like:

cfif flag !--- True if flag is "YES" or 1 false if Flag is NO or
zero ---
cfif Age GTE 21

But if you have a variable called ColorList and ColorList="red,green,blue"
and you want to loop over that list, you'll need to use the #'s in the
list="" because you want to loop over the value contained in the variable
named colorList:

cfloop list="#ColorList" index="thisColor"
hth -S
___

  Sean Brown[EMAIL PROTECTED]
  http://www.westcar.com/

  "Either way you get your dog back"
  -Anonymous
___


-Original Message-
From: Nagesh Kumar Deva [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 1:27 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Textarea problem


try this,
in processing form, give #form.req_just# instead form.req_just

otherwise u can also may do  this way, cfif not
isdefined('#form.req_just#')

nagesh

-Original Message-
From: Reuben King [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 6:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Textarea problem


In 01A056931BA6D011AE63F84A801204446FA6@KSCMBS41, Howell, Katie
([EMAIL PROTECTED]) in a fit of unbridled passion,
wrote:
 I'm having a problem processing a text area.  It seem if a user enters
 anything with  single quotes, double quotes or the percent sign it causes
 problems.  The text area looks like:
 textarea cols=50 name="req_just" rows=5 wrap=virtual
 class="sgs8n"/textarea

 and on the processing page I have this for validation:

 CFIF FORM.REQ_JUST Is ""
   You must enter the justification.br
   a href="javascript:history.back()"Back/a
   CFABORT
 /cfif

 The user gets the following error:
 Error Occurred While Processing Request

 Error resolving parameter FORM.REQ_JUST
[snip]

Make a default value for the form, as: cfparam name="form.req_just"
default=""

That should fix it for you.

HTH,
-R

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Textarea problem

2000-05-08 Thread Howell, Katie

I'm having a problem processing a text area.  It seem if a user enters
anything with  single quotes, double quotes or the percent sign it causes
problems.  The text area looks like:
textarea cols=50 name="req_just" rows=5 wrap=virtual
class="sgs8n"/textarea

and on the processing page I have this for validation:

CFIF FORM.REQ_JUST Is ""
You must enter the justification.br
a href="javascript:history.back()"Back/a
CFABORT
/cfif

The user gets the following error:
Error Occurred While Processing Request

Error resolving parameter FORM.REQ_JUST

The specified form field cannot be found. This problem is very likely due to
the fact that you have misspelled the form field name.

The error occurred while evaluating the expression: 

 FORM.REQ_JUST Is ""

The error occurred while processing an element with a general identifier of
(CFIF), occupying document position (3:1) to (3:26).

This only seems to happen when we have "", '', or % entered in the text
area.  Anyone have any suggestions?  

Thanks!
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea problem

2000-05-08 Thread James Mathieson

Heya,

Try making your validation cfif form.req_just is "" and see if it
works. I think it may be case-sensitive, so the function is being thrown
off.

Cheers,
James

-Original Message-
From: Howell, Katie [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 2:44 PM
To: [EMAIL PROTECTED]
Subject: Textarea problem


I'm having a problem processing a text area.  It seem if a user enters
anything with  single quotes, double quotes or the percent sign it causes
problems.  The text area looks like:
textarea cols=50 name="req_just" rows=5 wrap=virtual
class="sgs8n"/textarea

and on the processing page I have this for validation:

CFIF FORM.REQ_JUST Is ""
You must enter the justification.br
a href="javascript:history.back()"Back/a
CFABORT
/cfif

The user gets the following error:
Error Occurred While Processing Request

Error resolving parameter FORM.REQ_JUST

The specified form field cannot be found. This problem is very likely due
to
the fact that you have misspelled the form field name.

The error occurred while evaluating the expression:

 FORM.REQ_JUST Is ""

The error occurred while processing an element with a general identifier
of
(CFIF), occupying document position (3:1) to (3:26).

This only seems to happen when we have "", '', or % entered in the text
area.  Anyone have any suggestions?

Thanks!
-
-
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea problem

2000-05-08 Thread Sean Brown

Katie,
I tried out your example and I'm guessing that the action="" attributes of
the form element is either not specified, or explicitly set to
action="get". (the default is get too.) If you are posting with characters
other than a-zA-Z_0-9 then you'll need to either URLEncodedFormat() them, or
use the action=POST attributes to the form element.

Since you are using a textarea element in the form, it makes more sense to
use the POST action.

special characters are used in URL strings (and the GET method) to separate
the name=value pairs, since your text has these special characters, the
name=value pairs were mangled, resulting in a value no being defined where
you thought it would be.

Another suggestion:
cfif IsDefined("FORM.REQ_JUST") AND Len(Trim(FORM.REQ_JUST))
   !--- Good Value ---

cfelse
   !--- Bad Value ---
You must enter the justification.br
a href="javascript:history.back()"Back/a
CFABORT
/cfif

___

  Sean Brown[EMAIL PROTECTED]
  http://www.westcar.com/

  "Either way you get your dog back"
  -Anonymous
___


-Original Message-
From: Howell, Katie [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 2:44 PM
To: [EMAIL PROTECTED]
Subject: Textarea problem


I'm having a problem processing a text area.  It seem if a user enters
anything with  single quotes, double quotes or the percent sign it causes
problems.  The text area looks like:
textarea cols=50 name="req_just" rows=5 wrap=virtual
class="sgs8n"/textarea

and on the processing page I have this for validation:

CFIF FORM.REQ_JUST Is ""
You must enter the justification.br
a href="javascript:history.back()"Back/a
CFABORT
/cfif

The user gets the following error:
Error Occurred While Processing Request

Error resolving parameter FORM.REQ_JUST

The specified form field cannot be found. This problem is very likely due to
the fact that you have misspelled the form field name.

The error occurred while evaluating the expression:

 FORM.REQ_JUST Is ""

The error occurred while processing an element with a general identifier of
(CFIF), occupying document position (3:1) to (3:26).

This only seems to happen when we have "", '', or % entered in the text
area.  Anyone have any suggestions?

Thanks!

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea problem

2000-05-08 Thread Reuben King

In 01A056931BA6D011AE63F84A801204446FA6@KSCMBS41, Howell, Katie 
([EMAIL PROTECTED]) in a fit of unbridled passion, 
wrote:
 I'm having a problem processing a text area.  It seem if a user enters
 anything with  single quotes, double quotes or the percent sign it causes
 problems.  The text area looks like:
 textarea cols=50 name="req_just" rows=5 wrap=virtual
 class="sgs8n"/textarea
 
 and on the processing page I have this for validation:
 
 CFIF FORM.REQ_JUST Is ""
   You must enter the justification.br
   a href="javascript:history.back()"Back/a
   CFABORT
 /cfif
 
 The user gets the following error:
 Error Occurred While Processing Request
 
 Error resolving parameter FORM.REQ_JUST
[snip]

Make a default value for the form, as: cfparam name="form.req_just" 
default=""

That should fix it for you.

HTH,
-R
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea problem

2000-05-08 Thread Sean Brown

CFML is not case sensitive.

___

  Sean Brown[EMAIL PROTECTED]
  http://www.westcar.com/

  "Either way you get your dog back"
  -Anonymous
___


-Original Message-
From: James Mathieson [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 5:32 PM
To: [EMAIL PROTECTED]
Subject: RE: Textarea problem


Heya,

Try making your validation cfif form.req_just is "" and see if it
works. I think it may be case-sensitive, so the function is being thrown
off.

Cheers,
James

-Original Message-
From: Howell, Katie [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 2:44 PM
To: [EMAIL PROTECTED]
Subject: Textarea problem


I'm having a problem processing a text area.  It seem if a user enters
anything with  single quotes, double quotes or the percent sign it causes
problems.  The text area looks like:
textarea cols=50 name="req_just" rows=5 wrap=virtual
class="sgs8n"/textarea

and on the processing page I have this for validation:

CFIF FORM.REQ_JUST Is ""
You must enter the justification.br
a href="javascript:history.back()"Back/a
CFABORT
/cfif

The user gets the following error:
Error Occurred While Processing Request

Error resolving parameter FORM.REQ_JUST

The specified form field cannot be found. This problem is very likely due
to
the fact that you have misspelled the form field name.

The error occurred while evaluating the expression:

 FORM.REQ_JUST Is ""

The error occurred while processing an element with a general identifier
of
(CFIF), occupying document position (3:1) to (3:26).

This only seems to happen when we have "", '', or % entered in the text
area.  Anyone have any suggestions?

Thanks!
-
-
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.