Title: Onvalidate attribute of cfinput...
Hmm... It sounds like you want to do client-side validation of database information. You're either going to have to return all of the data to the browser or make javascript open a database connection. Both of those are less than optimal solutions... If you have to look up database information for validation (such as username/password validation), make the round trip. It usually works out better... ;-) So to answer the question, you really can't use onvalidate to do the username verification unless you want to expose a bunch of data to the user or create a gnarly javascript function. Sorry! --IronFury On Wed, 17 July 2002, Ron Mast wrote

Hi All,
I need to check against a database to see if a username exists, how can I do that using onvalidate calling a javascript function?

Ron Mast
Truth Hardware
Webmaster
(507)444-4748

------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com

Reply via email to