Validation message not working same for Input Text and Text Area
posted 7 years ago
I have three fields, one is drop down, one is input text and another is text area. I am doing jquery validation on input text and text area such that when we select the “Yes” option from the drop down and not entering anything in the input text and text area I am doing the making Input text and text area to red background and showing validation messages on the top of the page.
Now the issue is when I select the value from “Yes” to “No” or “default” the color of the Input text changing from red goes away and the validation message also goes away, which is correct. But the background of text area still red and the validation messages does not go away when we select drop down value from “Yes” to “No”. I want the text area works exactly same like Input text.
I would appreciate if someone can help me out to resolve this.