Search by date

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 9, 2019   (RSS)

By gversion - January 9, 2019

Hello,

I would like to be able to search for records in my CMSB Admin area based on date. I see this is possible from the documentation but I just can't get it to work when I go to 

CMS Setup > Section Editors > My Section Editor > Searching (tab)

I would like to be able to either enter a date range (from date -> to date) or have a dropdown that lists records from the "last 3 months" or "last 2 months" (if possible) or just fields for me to specify the month and year for records to display.

Could someone please help me with this?

Regards,

Greg

By daniel - January 9, 2019

Hi Greg,

To add a date range search to a section, you can add something like this to the Search Fields textbox:

Search|_all_|query
From Date|date|min
To Date|date|max

The format being: "Label|Field|type". You'll want to replace the middle "date" with the date field you're using in your section.

I hope this suits your needs! Let me know any questions.

Thanks,

Daniel
Technical Lead
interactivetools.com