<basevalidator>

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

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
errorstring string String   read/write
   
innercompornent expression any null read/write
   
iserror boolean boolean false read/write
   
isformvalidator boolean boolean true read/write
   
required boolean boolean false read/write
   
requiredErrorstring string String this field is required. read/write
   
trim boolean boolean true read/write
   

Methods

addSubview()
basevalidator.addSubview(item);
Parameter Name Type Description
item    

cleanErrors()
basevalidator.cleanErrors();

dotrim()
basevalidator.dotrim(s);
Parameter Name Type Description
s    

getErrorstring()
basevalidator.getErrorstring();

getValueText()
basevalidator.getValueText(val);
Parameter Name Type Description
val    

setErrorMessage()
basevalidator.setErrorMessage();

setErrorstring()
basevalidator.setErrorstring(message);
Parameter Name Type Description
message    

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy