onblur event

wxdqz

New Member
In my form, there are two types of questions.
1st type: one input field is provided. user can choose whether they fill in score or not.
2nd type: two input fields are provided. User can either fill in both or not fill in both

For example:
Q1: one input field
Q2: one input field
Q3: two input fields

Now i input the first input field in Q3, after that if i point to the input field in Q1 or Q2, alert message will be poped up to tell user either fill in both or not fill in both.
But if i point to the second input field in Q3 after filled the first input field, no alert message will be poped up.
How to do that??
 
Back
Top