Hey guys! I gotta quick question for you... I'm using forms on my site, but the 
ones I am using are too simple... What I am looking to do is to validate the 
From "onBlur" to check is what was entered on that form field matches to a 
database entry that is already there, before the user submits the form. 

Example: 
---------------------------- 
Questionaire: 

Question 1 - The sky is? 

<Text Input Field Goes Here name="Question1"> 

Question 2 - What year are we on? 

<Text Input Field Goes Here name="Question1"> 

||Submit Button|| 
--------------------------------------- 

Then on my database Called "Questionaire" Table: "Answers" 

I have to columns, one called "Question1" in which I have "Blue" and 
"Question2" in which I have "2008" 

If the user types a wrong answer lets say "Red" in Question 1 right when he 
goes to Question 2 I need to tell him that Question 1 was wrong, before he 
submits the answer.....Kind of like the bank site where you tyoe your username 
and right away it tells you if it's available or not. That's what I need to do. 
I am using ClodFusion MX7 and a <CFFORM> 


I got the Idea from this Site:

http://www.euphro2.com/forum/index.php?act=Reg&CODE=00

just agree and click register, on the next page just fill up the username field 
and go to the password field and you will see what I'm talking about.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3326
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to