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

AVEVA™ Work Tasks

Validation of Values

  • Last UpdatedJun 25, 2024
  • 1 minute read

Value rules are triggered when the value of a control changes.

A data type mismatch occurs when an invalid value is set for a control either through the user interface (UI) or through the scripts. In such cases, the value of the control is reset.

When an invalid value is set for a control either through the UI or through the scripts, the control behaves as follows:

Control

User Interface

Scripts

  • Boolean

  • Not applicable.

  • Updates the value of the control with the invalid value.

  • Shows the error message in the user interface.

  • Prevents submission of the form.

  • Check Box

  • Drop-Down

  • List

  • Radio Button

  • Not applicable.

  • Updates the value of the control with the invalid value.

  • No error message is shown in the user interface.

  • Allows submission of the form with the invalid value.

  • Date

  • Date Time

  • Time

  • Updates the value of the control with the invalid value.

  • Shows the error message.

  • Prevents submission of the form.

  • Updates the value of the control with the invalid value.

  • Shows the error message in the user interface.

  • Prevents submission of the form.

  • Email

  • Text

  • Updates the value of the control with the invalid value.

  • Shows the error message.

  • Prevents submission of the form.

  • Updates the value of the control with the invalid value.

  • Shows the error message in the user interface.

  • Prevents submission of the form.

Note: When a value is set through the scripts for the Value or the Default Value property of a control, the validation for the property is not triggered on page load.

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