18 #ifndef CUTELYSTVALIDATORDIGITSBETWEEN_H 19 #define CUTELYSTVALIDATORDIGITSBETWEEN_H 21 #include <Cutelyst/cutelyst_global.h> 22 #include "validatorrule.h" 26 class ValidatorDigitsBetweenPrivate;
74 static bool validate(
const QString &value,
int min,
int max);
98 #endif //CUTELYSTVALIDATORDIGITSBETWEEN_H Stores custom error messages and the input field label.
Checks for digits only with a length between min and max.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Contains the result of a single input parameter validation.