This topic is locked
[SOLVED]

 advanced search

10/20/2009 5:03:18 PM
PHPRunner General questions
M
meirco author

The advanced search has the between option to select a date range , can we have this additional choices

current week,current month,current quarter. based on todays date.

if @f.strEditFormat==EDIT_FORMAT_DATE##



$options.="<OPTION VALUE=\"Between\" ".(($opt=="Between")?"selected":"").">".##message BETWEEN##."</option>";

$options.="<OPTION VALUE=\"ThisWeek\" ".(($opt=="ThisWeek")?"selected":"").">".##message THISWEEK##."</option>";

$options.="<OPTION VALUE=\"ThisMonth\" ".(($opt=="ThisMonth")?"selected":"").">".##message THISMONTH##."</option>";

$options.="<OPTION VALUE=\"ThisQuarter\" ".(($opt=="ThisQuarter")?"selected":"").">".##message THISQUARTER##."</option>";
I know the users can just select a range but my users need to be spoon fed.

J
Jane 10/21/2009

Unfortunately there is no easy way to add these search options.