I have two columns in a table that I need checked against two respective single line fields. I'm trying to determine if Lot Check (hidden) has the same value as Stock Code Check (hidden). If they do not, I then need it to check AltKey2 (hidden) against 2AltKey2 (hidden). If those also do not match, I would like some sort of error message or warning to pop up letting the user know that these do not match. I have designated the fields that need to match up with an "x" or a "y". If either one match, then nothing needs to happen. My css classes are as follows -
Stock Code Check (hidden): SCCheck
2AltKey2 (hidden): 2AltKey2
Lot Check (hidden): LotCheck
AltKey2 (hidden): AltKey2
How would I go about doing this sort of check?
Thanks!