Search...
validateOnChange
Sets or gets whether to validate the mobile element when its value changes.
Description
If validateOnChange
is true
, the mobile element will validate when its value changes.
If validateOnChange
is false
, the mobile element won't validate when its value changes.
Type:
booleanRead & Write
Was this helpful?
Get whether to validate the mobile element on change
Copy Code
1let validateElementOnChange = $w('#myMobileElement').validateOnChange; // false
Set whether to validate the mobile element on change
Copy Code
1$w('#myMobileElement').validateOnChange = true;