Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test the "Validation grid" #298

Open
brunobord opened this issue Feb 15, 2018 · 0 comments
Open

Test the "Validation grid" #298

brunobord opened this issue Feb 15, 2018 · 0 comments

Comments

@brunobord
Copy link
Contributor

Validations are using the following form: "field" + "comparison operator" + "value".

There is a defined set of comparison operators, but all of them are not applicable to every field type.
I don't know if it's possible to validate the following grid, that is to say that we may enforce some operators only for a defined field type...

  • text: MINLENGTH, MAXLENGTH, REGEXP
  • paragraph: MINLENGTH, MAXLENGTH, REGEXP
  • date: GT, GTE, LT, LTE, EQ, NEQ, IS_AGE_ABOVE (>=), IS_AGE_UNDER (<),
    IS_DATE_IN_THE_PAST, IS_DATE_IN_THE_FUTURE
  • number: GT, GTE, LT, LTE, EQ, NEQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant