Avatar of maddisoncr
maddisoncr
 asked on

jQuery Validation Issues

I have a form and i am using the validation plug in.

All in all it works very well.. I have a few small issues though

1.When errors are picked up, it shows items in red, but when i clear those items, it doesn't always remove the error class and so the text box stays red until i click update again. This can be seen with the date items.

2. This is again connected to the first question. some of the items at the bottom of the form do not have the has-error class applied to it and so the error is displayed in grey as opposed to red.

from what i can tell, the problem is that the highlight and unhighlights aren't working correctly but i can't see why

basically, i want all errors to be in red and to highlight and unhighlight when they should

i've attached a link

many thanks

Test Link
JavaScriptjQuery

Avatar of undefined
Last Comment
maddisoncr

8/22/2022 - Mon
maddisoncr

ASKER
errors shown
SOLUTION
leakim971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
maddisoncr

ASKER
I've fixed the untidy code in my main page and it has taken away the bug that was causing some errors to be red and some grey.

The only error remaining now is the one where, after selecting a date or a combo drop down. the error doesn't go.

Basically. if i type in a date via the keyboard, the error goes.. when i select via mouse it stays.. I am guessing something isn't being triggered correctly

It's the same with the combo drop down (Chosen). after selecting a new item. it doesn't change the validation

any ideas?

Thanks
ASKER CERTIFIED SOLUTION
leakim971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
maddisoncr

ASKER
Thank you very much.. working now :-)
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck