Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

real-time form validation checking username availability

New Here ,
Aug 17, 2008 Aug 17, 2008
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!
TOPICS
Getting started
603
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 17, 2008 Aug 17, 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/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2008 Aug 17, 2008
Thanks so much. I have heard of the cfajaxproxy tag, but never used it. looks like it works--as always! thanks--dan
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 18, 2008 Aug 18, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources