HTML Button - Script Not Working?
- 3 years ago
Welcome to the club to design less ugly buttons in Innovator.
To help you with your question: Closing bracket } missing?
One tip, especially for large functions (but I would always do it this way): Don´t use the script directly in Form, but an "onLoad" Method that adds an eventlistener to the button. It´s so much more convenient to code when you can use the Method editor. In addition the Method is more obvious to see then some hidden embedded scripts. Especially update team hates them...
As alternative you can also add the stylesheets used for CUI buttons to the regular Form buttons. This gives you a result like this and working with images is much more easy:
---Unfortunately couldn´t add the screenshot, but basically it shows a CUI button inside of a Form. You can use the debugger to get an overview of CUI styling.