How to Disable the Next Button


Hi there,

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:

  1. <script type="text/javascript">
  2. console.log("disabling Next1");
  3. document.getElementById('Next1').disabled = true;
  4. </script>

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?

No answers yet.