Jump to content
  • 0

Checkbox/Radio Buttons for Search Field Blank/Not Blank


kpcollier

Question

Hello. 

I am trying to create a new filter for my Search and Report DataPage. In my table, there is a date field "Shipping Confirmation". Right now, I have the search form having 5 different filters you can search from. To filter it even more, I would like a Checkbox or "on/off switch" that is tied to the Shipping Confirmation field. If the box is checked, the report filters records where Shipping Confirmation is not blank, whereas if the box is unchecked, it shows all records. 

I have tried using Virtual Fields as Radio Buttons, but I seem to only be able to narrow it down to specific dates instead of blank/not blank. Any ideas?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @kpcollier,

I think you can create a Formula field in your table with a case expression to check if the field "Shipping Confirmation" is empty or not.

Here is an example of Formula expression:

CASE
WHEN Len([@field:Shipping_Date])>0 THEN 'YES'
ELSE 'NO'
END

Next, you should use this field in your search criteria and assign "Checkbox" form element. 

You should use the following settings:

0ac66df23500.png

 

Hope this helps.

Regards,

vitalikssssss

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...