Check documentation for the latest version 6.0 of dhtmlxSuite setValidation DHTMLX Docs


adds a validation rule to the input with the specified name

void setValidation(string name,string value,string rule);


namestringthe name of an item
valuestringthe value of a radio button
rulestringa validation rule (possible validation rules are described in the related article)


myForm.setValidation(name, "ValidInteger");

See also
  • Articles
  • Back to top