Search...
validateOnStart
Sets or gets whether to validate the mobile element when it is loaded.
Description
If validateOnStart
is true
, the mobile element will validate when it is finished loading.
If validateOnStart
is false
, the mobile element won't validate when it is finished loading.
Type:
booleanRead & Write
Mixed in from:$w.MobileFormElementMixin
Was this helpful?
Get whether to validate the mobile element when it is loaded
Copy Code
1let validateElementOnStart = $w('#myMobileElement').validateOnStart; // false
Set whether to validate the mobile element when it is loaded
Copy Code
1$w('#myMobileElement').validateOnStart = true;