AnsweredAssumed Answered

getting all validation control funcs

Question asked by eyalseg on May 2, 2018
Latest reply on May 7, 2018 by nmarples

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?

Outcomes