Am designing a form where the fields are populated based upon look rule.
One of the field is called Fund.
If the value of this field is any other value other than 200,201,202 i need to display a message "This form is only for employees with Fund Code 200,201,202" and disable the submit button or hide the submit button.
Below is the code is have for 1 condition. Need advice on what is incorrect and how i can handle all the 3 check. Can it be done in 1 if statement for all 3 checks (200 or 201 or 202)
$('#q6 input').change(function(){
if ($('#q6 input').val() != 200)
{
$('.Submit').hide();
$('.submitMsg').hide();
$('.Submit').prop("disabled", true);
}
})