Lets say I want to make style for nintex error validation - by putting it below the control.
I have a code doing it (It's free, just take it :
function validateRequiredField(fieldClientId, errorMsg) { var NWF$this = NWF$('#' + fieldClientId); var NWF$errorEl = NWF$this.parent().siblings('.nf-validator-error').first().length ? NWF$this.parent().siblings('.nf-validator-error').first() : NWF$this.parent().parent().siblings('.nf-validator-error').first(); if (NWF$this.val()) { NWF$errorEl.text('').hide(); return true; } else { NWF$errorEl.text(errorMsg).show(); return false; } }
JUST ADD SOME CSS)
Anyway, I want to get all the control's specific validation and put it into array. How can I get it?