Documentation

isNumber

checks whether the value in the text field numeric or not

void isNumber();

See also

Example

rules:{ //component's name is used to apply the rule to it
       login: webix.rules.isNumber
    }

Details

All characters typed into the specified text field must be numbers to pass validation.

Back to top