you could use REFind.  try

<CFIF REFind(^[0-9a-zA-Z]+, FORM.whateverfield)>

this will be true if there is a nonalphanumeric character in the form field.

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



-----Original Message-----
From: Vani Kolli [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 10:44 AM
To: CF-Talk
Subject: need help..


Hi all,

I have a form field and i want to check if there is any special character
typed in instead of alphabets and numbers.
Is there any tag in cf to find it.

I remember doing it in Perl, but not sure of cf.

Any help would be appreciated. Thanks

Vani
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to