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

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

OT - JS 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:
Bruce Sorge
08/28/2012 06:30 PM

Can someone point me to a site or a sample of JS that does the following: User enters first name, last name and birth date (birthdate is in a specific format by using drop downs and not free text). Once the birth year has been selected, a query is triggered to check for the existence of the same information that was just entered. If a match is found, a pop up is displayed stating that they have already registered. If no match, nothing happens. Thanks, Bruce

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
.jonah
08/29/2012 06:33 AM

Trigger the form serialization and AJAX form submission "onchange" and then trigger the popup from the success callback to the AJAX call. Are you doing this with vanilla.js or using a library like jQuery? On 8/28/12 3:30 PM, Bruce Sorge wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stephens, Larry V
08/29/2012 09:19 AM

I suggest jquery for formatting the DOB. You can also bind the DOB field with jquery to trigger an Ajax call then use the callback to pop up your message. If you haven't used these that probably sounds like gibberish. Contact me off list if it does. Can someone point me to a site or a sample of JS that does the following: User enters first name, last name and birth date (birthdate is in a specific format by using drop downs and not free text). Once the birth year has been selected, a query is triggered to check for the existence of the same information that was just entered. If a match is found, a pop up is displayed stating that they have already registered. If no match, nothing happens. Thanks, Bruce


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

Search cf-talk

May 18, 2013

<<   <   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   

Designer, Developer and mobile workflow conference