<numbervalidator>

JavaScript: lz.numbervalidator
extends <basevalidator> » <view> » <node> » lz.Eventable »

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
domain string String real read/write
   
maxvalue number Number null read/write
   
minvalue number Number null read/write
   
notintErrorstring string String Enter integer value. read/write
   
notnumberErrorstring string String This field contains invalid characters. read/write
   
toobigErrorstring string String This number is too large. read/write
   
toosmallErrorstring string String This number is too small. read/write
   
trim boolean boolean true read/write
   

Methods

doValidation()
numbervalidator.doValidation(val);
Parameter Name Type Description
val    

isInt()
numbervalidator.isInt(value);
Parameter Name Type Description
value    

isValidNumber()
numbervalidator.isValidNumber(value);
Parameter Name Type Description
value    

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy