Why not just let it happen when the user clicks a submit button?  Onexit AKA
OnBlur is creepy and confusing.

but it's possible to do it your way.


First write a javascript function to submit the form.  


THen in the form field for the SSN, add in this attribute..

onblur="nameoffunction();"


that way, when the user moves out of the field, it calls the javascript,
which submits the form magically.

walla!



-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 11:52 AM
To: CF-Talk
Subject: Function?


I was curious if it is possible for me to write a function that will
onExit from a form field cerify that data against our database?

For examples if I enter in my SSN then onexit the ssn would be passed
back to the server and a query would execute

Either returing the results of my query (firstname, lastname etc...) or
it would send back no then I would display a error message.

Please advise... Seems possible im just not sure how to do
it...exactly...

Thanks for your help 

Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]



______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to