How to Disable the Next Button
I have a single step process with two forms, on Form1 I have a NEXT button called Next1 that I want to disable until the page is complete...
On the page I have a HTMLWidget at the Bottom of the page to ensure the button is available with the following code:
- console.log("disabling Next1");
- document.getElementById('Next1').disabled = true;
From my browser console log I can easily see that there is no error and the code is executing, I have the console message written there.
But the Next Button is not disabled. Any ideas whats happening?