
|
The Main section allows you to enter the function, specify related parameters and target information, and add summary detail for the Set State command.
Function
|
[Function]
|
Enter the name of the function as it appears in the Web page code or the DOM function.
|
|
Parameters
|
Source
|
The value in this column is used for sending parameters from the form to the javascript in the embedded page.
If you have your javascript in a field, click a cell in this column to launch the Select a Field dialog where you can select the source field. If you are using a formula, select the check box in the Formula cell then click the Source cell to launch the Formula Editor.
|
|
Formula
|
Select this check box to enable formula editing for the selected parameter. Once selected, you can click in the Source column to launch the Formula and Conditions Editor.
|
Using the Formula and Condition Editor
|
Add button
|
Click the Add button to add a parameter row to the list.
|
|
Remove button
|
Click the Remove button to remove a parameter row from the list.
|
|
Return Value Target
|
[Return Value Target Selection]
|
Select the form field that a value retrieved from the JavaScript function should be written to. Once the field is selected, the field name will display in the read-only field to the left of the Select button on the Properties bar.
Only a single value can be returned from the JavaScript (not arrays). If you need to have more than one value returned then use comma separated string, or have multiple JavaScript functions to return each values individually.
|
|
Summary
|
Auto-Summary
|
Auto-summary refers to the text that will be shown on the command in the Behaviors canvas. By default, this check box is selected.
For commands that use a condition or calculation, Auto-Summary will display the formula selected in the Condition Properties. If no condition exists, nothing will be displayed.
If you wish to have other summary text display, clear the Auto-summary check box and type the custom text in the list box below. Your text will be retained if you later decide to enable Auto-summary.
|
|
[Summary Text}
|
This is where manual summary text can be entered when the Auto-summary option is not turned on.
|
|
|
|
Updated: 06/12/2011
Page url:
http://www.perfectforms.com/Documentation/manual/html/?fl_call_javascript_properties.htm
PerfectForms™ -- forms software, workflow software, and business process management