ToolZ comes equipped with start and end date filters. These may be added to your report with:


{DATATYPES.DEFAULT_DATE_FILTERS}


If you need additional control over the display and labelling of these filters, you may substitute and alter the following:

<div class='date-input'>

  {DATATYPES.REPORT_CONFIG.TRENDING_DATE_AFTER.ERROR}

  <div>

    <label for='picker-{DATATYPES.REPORT_CONFIG.TRENDING_DATE_AFTER.DOMID}'>

       {DATATYPES.SHOW_DATATYPE.TRENDING_DATE_LABEL}

    </label> 

    {DATATYPES.REPORT_CONFIG.TRENDING_DATE_AFTER.INPUT} 

  </div> 

  {DATATYPES.REPORT_CONFIG.TRENDING_DATE_BEFORE.ERROR} 

  <div> 

    <label class='secondary' for='picker-{DATATYPES.REPORT_CONFIG.TRENDING_DATE_BEFORE.DOMID}'>       

      {|LABEL|THROUGH}

    </label> 

    {DATATYPES.REPORT_CONFIG.TRENDING_DATE_BEFORE.INPUT(class='secondary')} 

  </div>

</div>


Note that removing the ‘for’ attributes from these inputs will result in the calendar selectors no longer working.