Examples of Common Scripting Tasks About the scripting examples Changing the background colors of fields, fillable areas, and subforms Hiding and showing objects Changing the visual properties of an object on the client Getting the current or previous value of a drop-down list Adjusting the height of a field at run time Setting a field as required at run time Calculating the field sums Highlighting fields in response to form filler interaction Resetting the values of the current subform Changing the presence of a form design object Using the properties of the instance manager to control subforms Using the methods of the instance manager to control subforms Using the instance manager to control subforms at run time