I use cfif:
On the action template, at the top I put:
<CFIF Form.textarea Is "">
You must enter the blah, blah.<br>
<a href="javascript:history.back()">Back</a>
<CFABORT>
</cfif>
-----Original Message-----
From: Randy Adkins [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 01, 2000 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: How to validate text area
Cold Fusion does not use TEXTAREA as input fields.
You can use the normal textarea function but would
need to write your own JavaScript to validate it.
----- Original Message -----
From: "Shally Kon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 01, 2000 10:17 AM
Subject: How to validate text area
> I am doing validation of a form with the help of <CFINPUT> tag for all the
> text fields but when it comes to Textarea,it doesnot work,its there that
> <CFINPUT> tag does not accept "textarea".
> Please tell me how to validate textarea.
> For textfield i am using th following code
> <cfinput type="text" name="Code2" size="5" maxlength="5" required="yes"
> VALIDATE="integer" MESSAGE="Client code should be entered!">
>
> -----------------------------------------------
> FREE! The World's Best Email Address @email.com
> Reserve your name now at http://www.email.com
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=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=lists&body=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=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.