Form designer: Add JavaScript functions

To add JavaScript functions to your web form, open the Form configuration panel and click the Web References tab.

Add tags and place your JavaScript code inside.

Note: The JavaScript code is activated in the form designer, so it can impact the form designer behavior.

Thanks. I cannot save any javascript code. I get errors in console stating “Uncaught Error: Syntax error, unrecognized expression: var a;” for a code as simple as that. No matter what code I input there I cannot save.

Hi @rvencu,

Did you put the code in between <script> tags?

Regards,
Eddy.

Your are correct, beginner error. Eventually I discovered it myself and after I put the script tags it worked fine.

Thanks