...
Follow these steps to add JavaScript to your form using the Message control:
- Add a a message control to your form. When you click on the message control, the Rich Text Editor displays.Click the icon to display the Rich Text editor menus. Click the Source tab.
- Add a <script> tag in the message property.
- Put your JavaScript inside the script tag.
- Click another control in your form to exit the Message control.
- Save your form.
Here is an example of the script tag: put your JavaScript inside the script tag.
...