Sunday, October 31, 2010

Sizing up the Selection Change tab

The Selection Change tab provides you with the means to execute JavaScript actions when making a selection in the List Box field type. To use this feature, click one of the two radio buttons on the Selection Change tab:
  • Do Nothing: Use this option if you don’t want to run a JavaScript action when a user makes a list box selection.
  • Execute This Script: Use this option to attach an action, and then click the Edit button to open the JavaScript Edit window. If you’re familiar with JavaScript language, you can write your own or copy and paste a predefined JavaScript in the script editing window. Click OK to close the JavaScript Edit window. The JavaScript appears in a preview box on the Selection Change tab. Note that you can use the arrow keys to view the script, but you can’t edit it.