Name

stringvalidator

Synopsis

LZX: stringvalidator
JavaScript: stringvalidator
Type: Class
Access: public
Topic: Incubator.Validators
Declared in: lps/components/incubator/validators/stringvalidator.lzx

Superclass Chain

node (LzNode) » view (LzView) » basevalidator » stringvalidator

Known Subclasses

Details

Properties (5)

maxErrorstring
<attribute name="maxErrorstring" type="string" value="this string is longer than the maximum allowed length." />
public var maxErrorstring : String;
maxLength
<attribute name="maxLength" type="number" value="255" />
public var maxLength : Number;
minErrorstring
<attribute name="minErrorstring" type="string" value="this string is shorter than the minimum allowed length." />
public var minErrorstring : String;
minLength
<attribute name="minLength" type="number" value="0" />
public var minLength : Number;
trim
<attribute name="trim" type="boolean" value="false" />
public var trim : Boolean;

Methods (1)

doValidation()
<method name="doValidation" args="val" />
public function doValidation(val);

LZX Synopsis

<class name="stringvalidator" extends=" basevalidator ">
  <attribute name=" maxErrorstring " type="string" value="this string is longer than the maximum allowed length." />
  <attribute name=" maxLength " type="number" value="255" />
  <attribute name=" minErrorstring " type="string" value="this string is shorter than the minimum allowed length." />
  <attribute name=" minLength " type="number" value="0" />
  <attribute name=" trim " type="boolean" value="false" />
  <method name=" doValidation " args="val" />
</class>

JavaScript Synopsis

public stringvalidator extends  basevalidator  {
  public var maxErrorstring  : String;
  public var maxLength  : Number;
  public var minErrorstring  : String;
  public var minLength  : Number;
  public var trim  : Boolean;
  prototype public function doValidation (val);
}