Table of Contents

Property ValidationText

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

ValidationText

Gets or sets the validation text.

public string ValidationText { get; set; }

Property Value

string

Text that will be displayed when ValidationState is “Invalid”.

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:

IsRequiredPlaceholderValidationText
TextBoxXXX
PasswordBoxXXX
DropDownXXX
NumericXXX
Calendar (both Date and Time)XX
FileUploadX

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