| 978 | // ***** Endpoint for ValidatorRequiredIf ****** |
| 979 | C_ATTR(requiredIf, :Local :AutoArgs) |
| 980 | void requiredIf(Context *c) |
| 981 | { |
| 982 | Validator v({new ValidatorRequiredIf( |
| 983 | u"field"_s, u"field2"_s, QStringList({u"eins"_s, u"zwei"_s}), m_validatorMessages)}); |
| 984 | checkResponse(c, v.validate(c)); |
| 985 | } |
| 986 | |
| 987 | // ***** Endpoint for ValidatorRequiredIfStash with stash match ***** |
| 988 | C_ATTR(requiredIfStashMatch, :Local :AutoArgs) |