How to get the handle of an input field of a field editor in skuid to add CSS class conditionally in

KVin,

A couple ways to handle this. Perhaps the easiest is to just add a class to your field in the builder. For example, give your field a class called ‘test-class’. Then you could run javascript like this to select the DOM element for that field and add another class to it:

skuid.$('.test-class').removeClass('error-mark-class').addClass('green-checkmark-class');