How to use addClass in oneditprepare

Hey Nick,
Indeed I had a validator that was not functioning correctly yet.
After fixing that, I could remove my addClass call in the oneditprepare (since the validator adds the class now). That was very stupid logic in my code...
Thanks again!!
Bart