You should use javascript, that way the page does not have to get submitted
for the validation to occur. Just have the onChange event for the box call a
function that parses the value of the text box for spaces or whatever.
-----Original Message-----
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 7:39 PM
To: CF-Talk
Subject: Textbox validation
Hi,
On one textbox I need to prohibit users entering more than one word - I
don't want them to enter a space. What's the best way of doing this -
Javascript, or Cold Fusion after the form has been posted?
Thanks.
Will
--
[EMAIL PROTECTED] -=- www.lukrative.com
Local-Advertising -=- www.localbounty.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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