Hi @imoorey
Could you explain a little bit more what you want to achieve (with an example or a link)?
You can use ‘isnot’ to get a number of all the users that didn’t select a certain value and use multiple ‘isnot’ filters to specify that.
Kind regards,
Erik
Hi Erik,
I would like to count the number of documents that has not been approved (with GravityView) and has not been voided. One of the checkbox (field id 83) options is “Voided”. Both label and value are the same.
This is what I’m using:
[gravitywp_count formid='75' is_approved='no' filter_operator='isnot' filter_field='83' field_value='Voided']
Expecting: 4
Current result is: 41 (as count includes 37 voided documents)
Thanks in advance!
Moorey
-
This reply was modified 3 years, 9 months ago by
imoorey.
The problem, most likely, is that the checkboxes values are stored as an array. That’s probably why you were asking for an does_not_contain operator. This operator is not supported unfortunately, but you should be able to target the individual check by using filter_field=’83.1′.
Hope this helps!