Form instant validation - validate field value based on other field value
My situation. If a user picks "Other" in drop down, then he/she needs to specify in the next field why they picked "Other"; So with my instant validation, I want it to generate an error when the user tries to leave the second field (Other) blank.
I know this was posted a few years ago but I'm trying to do the same thing, validate a field based off of another using LiveValidation. I want to use your code but like you said, it doesn't work in IE. Did you find a solution to this?
Since you did not post your code I'll use the first example.
I'd a made the "Why did you choose other" input box invisible and only made it visible if OTHER were chosen.
Please note the above code for the select is not coded correctly, look it up.
|All times are GMT +1. The time now is 03:40 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.