Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

control​.clearContent()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use clearContent(event) method to clear values of controls on a record or all records on a Base Form, clear values of controls on a Panel Form, or clear values of controls on a form.

Syntax

control.clearContent();

Parameters

None.

Return Value

None.

Example

// Clear the values of controls on the record of the Base Form.

control.findById("B1").records()[0].clearContent();

// Clear the values of controls on the Base Form.

control.findById("B1").clearContent();

// Clear the values of controls on the Panel Form.

control.findById("P1").clearContent();

// Clear the values of controls on the form.

control.topLevelForm.clearContent();

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in