House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Form validation question

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Les Irvin
10/15/2009 03:05 PM

I'm working on a site where people register and choose their own username.  In the registration form I'd like to, onBlur from the username field, immediately check to see if that username is already in use and if so, trigger an alert that returns them to the field. What's the best way to do this? Thanks in advance for any help. Les

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (ColdFusion)
10/15/2009 03:11 PM

The JQuery Validate plugin has a method whereby, aside from any standard checks you put in place (not empty, alphanumeric only, etc), it will make an Ajax request and assign a field it's validation status based upon the Ajax status return. http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com On 10/15/2009 2:05 PM, Les Irvin wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

March 21, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31