Date filter on smart object getList method

  • 14 June 2015
  • 1 reply
  • 0 views

Badge +1

i tried to filter getList method based on dates (start - End ) i already do it with apply filter (less than and greater than ) but the problem is when i search without specifying the dates, it returns no results, the problem is the dates (from , to) are not mandatory so how can i handle that ??? 


1 reply

Userlevel 1
Badge +8

Hi Mohamed

 

I assume you are using SmartForms and you want to filter a list view? How are you calling the "apply filter" and where are you getting these filter values from?

 

If you are using SmartForms you should be able to use rules and expressions to create default values to use in the filter if no values are entered.

Reply