Applications → Working with Forms → Customizing Forms → Managing Form Behavior → Using JavaScript
If you are unable to create a form action that meets your needs, you can include JavaScript files in custom forms and make calls to them from certain form controls. The scripts are executed when the form opens or when the form control is clicked.
JavaScripts are only executed at runtime and during form preview in SBM Composer. (By default, JavaScripts are not executed during form preview. To execute them during form preview, select the Enable JavaScripts check box in the Form Preview Dialog Box.)
Perform the following procedure if you want to use the JavaScript across forms. For a single form, use the HTML/JavaScript Widget.
To add a JavaScript file to an application:
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.