Set Variable Value Action
The Set Variable Value Action alters the value of a JavaScript variable.
Options
- Variable Name: the name of the JavaScript variable to alter.
- If undefined, initialize to: if specified, and the variable is undefined when the page first loads, it will initially be set to this value, even before this Action is triggered.
- Operation: specifies what to set the field value to. All operations other than "Set to" will set the variable to a numeric value. All operations ending in ":" or "+" require an additional value to be specified. If an additional value is specified, the value may be entered, or the name of a JavaScript variable may be entered, from which the value will be taken.
- Maximum Times: the maximum number of times that this Action will execute before it ignores all future events. The counter resets when the page is reloaded. If set to a negative value, it will execute an unlimited number of times.