Skip to main content
Known Participant
August 18, 2008
Question

real-time form validation checking username availability

  • August 18, 2008
  • 2 replies
  • 649 views
I'd like to know how to check a username that a person has put in real-time against the database and display availability. Seen info for PHP but nothing for ColdFusion--Please help-- Any information would be appreciated!
This topic has been closed for replies.

2 replies

Inspiring
August 18, 2008
You can also use the same functionality through cf7 + jquery, jquery have really good example on their site.

However, cf8 would also do, like Azadi mentioned.
Inspiring
August 18, 2008
pure cf8-based solution will be using CFCs and cfajaxproxy tag.
you can do it in pure js, too. it all boils down to sending an
asynchronous request to a page/cfc which looks up the data in your db
and returns something to the calling page which tells you if te name is
taken or not.

if you have never done any ajax stuff, you may want to learn the basics
and then how cf8 does it.

google is your friend in all the above.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Known Participant
August 18, 2008
Thanks so much. I have heard of the cfajaxproxy tag, but never used it. looks like it works--as always! thanks--dan