public FormInputValidator integerNumber ( VisValidatableTextField field , String errorMsg ) { ValidatorWrapper wrapper = new ValidatorWrapper ( errorMsg , Validators . INTEGERS ) ; field . addValidator ( wrapper ) ; add ( field ) ; return wrapper ; }
Validates if entered text is integer number