This.Value = This.Value + 5
- Create the zone and apply parameters as needed.
- Select Parameters | Rules | VBScript tab to access the location where the VBScript is attached.
-
Click the Show Global Editor button to display the list of zones and their attached VBScript.
-
Expand Total Amt Due and double-click Post Extraction to add VBScript to the Post Extraction stage.
-
Enter the following code in the main window:
This.Value = This.Value + 5
- Click the Syntax Check button to identify any syntax errors in the script. "Successfully Compiled!” appears at the bottom of the window.
- Click OK to close the VBScript window and return to the VBScript Editor.
- Click OK i n both the VBScript Editor and Rules Parameters window.
-
Click in the Please Pay zone to preview the output again.
The amount in the preview should be $5.00 more than the original amount in the zone.