Validator that checks if a value contains only numeric characters. Works on String fields.
const OnlyNumbers() : super(r'^[0-9]+$');