Search.../

valid

Indicates if an input element's value is valid.

Description

The valid property indicates if an input element's value satisfies all conditions defined in the validations property to pass a validation check.

Type:

booleanRead Only
Mixed in from:$w.MobileValueMixin

Was this helpful?

Get whether the element is valid

Copy Code
1let isValid = $w("#myMobileElement").valid; // false