Not very user-friendly 8^). It can be incredibly confusing to a user to try typing a character and nothing shows up. Better, IMHO, would be to have an error message that explains why that character is not allowed. Whether or not the error message is immediate or onSubmit, is up to you and how you've instituted error handling throughout your application.
-- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ > -----Original Message----- > From: Tony Weeg [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2003 3:41 PM > To: CF-Talk > Subject: RE: Usability > > > or how about javascript that doesn't let them type in anything but the > keyboard values > of 0-9 > > tony weeg > uncertified advanced cold fusion developer > tony at navtrak dot net > www.navtrak.net > office 410.548.2337 > fax 410.860.2337 > > > -----Original Message----- > From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2003 3:39 PM > To: CF-Talk > Subject: RE: Usability > > > How about something like: > > Foo must be a valid, non-negative number without fractions or > decimals. > > -- > Mosh Teitelbaum > evoch, LLC > Tel: (301) 942-5378 > Fax: (301) 933-3651 > Email: [EMAIL PROTECTED] > WWW: http://www.evoch.com/ > > > > -----Original Message----- > > From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 10, 2003 3:29 PM > > To: CF-Talk > > Subject: Usability > > > > > > One more thing, I forgot to add. In the case of Integer value for a > > field, what would be a fool-proof help text then? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

