Table of Contents

Property ValidationState

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

ValidationState

Gets or sets a value indicating the validation state.

public UIValidationState ValidationState { get; set; }

Property Value

UIValidationState

Valid if the state is valid; Invalid if the state is invalid; otherwise NotValidated.

Remarks

The ValidationState and ValidationText properties should be used in combination with the WantsOnChange property. If WantsOnChange is true, the interactive Automation script will have its ShowUI(string) method return each time the user input changes. This will also be indicated by the _ONCHANGE key, which is returned in the UIResults. This functionality will allow you to offer clear feedback on user input.

The following table gives an overview of which input controls support which properties:

IsRequiredPlaceholderTextValidationText
TextBoxXXX
PasswordBoxXXX
DropDownXXX
NumericXXX
Calendar (both Date and Time)XX
FileSelectorX

Feature introduced in DataMiner 10.0.5 (RN 25183, RN 25253).