From wiki.ginstr.com
Revision as of 21:00, 12 July 2017 by Mark (talk | contribs) (formatting)
Jump to: navigation, search

RequiredValidator

Description
Widgets that have this feature in use are required to have an entry.
If there is no entry, Screen validation will fail if it is activated and user won’t be able to proceed with an action conditioned by validation.

Attributes

Attribute Description
message Defines message to be displayed when validation fails

Can be

  • @string

Validator signatures

Check required value

[name:ComparatorValidator],[message=validatorMessage]]

Example

@string/screen13_falseCeiling1stFixRequiredValidatorMessage - validator message
[name:RequiredValidator],[message=@string/screen13_falseCeiling1stFixRequiredValidatorMessage]

Can be used on widgets