AnsweredAssumed Answered

Validation Rules on Button JS

Question asked by franco89 on Mar 30, 2017
Latest reply on Apr 24, 2017 by N M

Hi All,

Seen a few similar questions like JavaScript to trigger form validation rules by people like Johnny Kwok but i don't see any resolutions.


I have some buttons for "Next" and "Previous" to move me between tabs.

These buttons call something like the following function:


function goStep(stepNumber)
var hiddenTxtBox = NWF$("#"+hiddenTxtBoxId);


Can I modify these functions to include a validation check prior to firing the move to another tab?


P.S. Out of curiosity, what is the point of the "causes validation" flag in the button control settings if it doesn't actually cause validation? What is it validating?