How do I verify that the value of a rule is null #242
-
Figure: The value of this rule is null and I do not want it to be submitted to the server. How to handle this situation |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There are a couple of things you can do to remove "invalid" rules.
|
Beta Was this translation helpful? Give feedback.
There are a couple of things you can do to remove "invalid" rules.
formatQuery
using avalidator
methodIf you're using the
formatQuery
method to send aWHERE
clause directly to the server, then you can add a validation function to remove invalid rules (or groups). Something like this: