Question: Is it possible to filter by is not null? The "does not contain" must be filled in.

Reason: Multiple checkboxes do not store any data in the db so the report field is blank on the display. Would like to display results with only checked checkboxes.

Setup: I am using Webforms 5x 2.9 and Webforms report 5x 2.5.

CommentFileSizeAuthor
#8 733838-V6.x.patch2.83 KBjimbullington
#1 733838.patch2.09 KBjimbullington

Comments

jimbullington’s picture

StatusFileSize
new2.09 KB

I assume you mean a grid field?

If so, try the attached patch - is adds "is empty" and "is not empty" options to the filter and allows the filter value to be blank for these options.

I guess it would work with other field types as well...

jimbullington’s picture

Status: Active » Needs review

Forgot to set the status...

jinside’s picture

I actually do not use grid field. I use the select field with multiple inputs selected and it prints out a list of checkboxes. I have tested this with the reports and it works as stated.

jimbullington’s picture

Thanks for the feedback. Just to be sure before I commit, this patch corrects your issue?

jinside’s picture

Yes, it corrects my issue. Thanks a bunch for the patch.

jimbullington’s picture

Status: Needs review » Reviewed & tested by the community
jimbullington’s picture

Status: Reviewed & tested by the community » Fixed

Commited patch

jimbullington’s picture

StatusFileSize
new2.83 KB

Ported to 6.x version - patch is attached.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.