I have some buttons for "Next" and "Previous" to move me between tabs.
These buttons call something like the following function:
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?
Solved! Go to Solution.
Bashya Rajan A
I made a response about validating (whenever) over on the thread you linked.
I can come up with a code example later on, but just rolling it around in my head, I'd guess that you could use the
code to invoke the validation for all fields when you try to change tabs, and then check the fields on the current tab for validity before either letting the tab change resolve or stopping it and showing errors.