In Wordpress, the add-new-user page, for example, has some jQuery validation to make sure that the username isn't empty. It provides with visual feedback like the following:
I'm working on a custom plugin's page and I want to implement this exact same validation for required inputs. I don't want to write my own jQuery validation since WordPress already has it built in. I tried to apply the classes that I saw on the add-new-user page, like
tr.form-field.form-required with no success. I'm clearly missing something(like a dependency) and I'd like to know if anyone has previous experience with this issue.