Michael Ambech
asked on
Javascript validate specific dropdown value based on value in different text box
Is this even possible?
I have select dropdown A containing - among other things - value x.
I have text input field B which is empty by default.
Now, if x in A is selected I want to check if B has a value. In a perfect scenario I would also want to check if B has a specific value.
Possible? If so - how? I can do the basic validate form stuff, but this turns into a if/and/then scenario that I'm unfamiliar with.
Best regards
Michael
I have select dropdown A containing - among other things - value x.
I have text input field B which is empty by default.
Now, if x in A is selected I want to check if B has a value. In a perfect scenario I would also want to check if B has a specific value.
Possible? If so - how? I can do the basic validate form stuff, but this turns into a if/and/then scenario that I'm unfamiliar with.
Best regards
Michael
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER