Yes, validate on the server using CF. I always include server side
validation to ward off those that turn off javascript (Opera/Netscape).
<CFIF (IsNumeric(form.yourfield)) AND (form.yourfield GT min) AND
(form.yourfield LT max)>
Process form...
<CFELSE>
You must enter a number betweeen #min# and #max#
</CFIF>
HTH,
Jeff Garza
Lead Developer/Webmaster
Spectrum Astro, Inc.
480.892.8200
[EMAIL PROTECTED]
http://www.spectrumastro.com
-----Original Message-----
From: Jerry Staple [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 8:25 AM
To: CF-Talk
Subject: Data Validation
Greetings
I am designing a form that has a numeric field that has to have
a number between a Min & Max range.I Know about the <CFFORM> and min max
validation,also the dreamweaver validat form behaviour,Are there any
Other ways?
Regards
Jerry Staple
Web Applications Developer
Biznet Solutions
133 - 137 Lisburn Road
Belfast
BT9 7AG
www.biznet-solutions.com
[EMAIL PROTECTED]
Tel: +44 (0)28 90205652
Fax: +44 (0)28 9022 3223
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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