Forums / Setup & design / Custom advanced search
laurent le cadet
Monday 10 April 2006 9:57:43 am
Hi,
I did a custom advanced search based on attribute.In the template I use <select> to perform the search :
<input type="hidden" name="Content_search_attribute_fulltext_classattribute_id[]" value="352" /> <select name="Content_search_attribute_fulltext_value[]" > <option value="">All</option> <option value="1 person">1 person</option> <option value="2 persons">2 persons</option> <option value="3 persons">3 persons</option> <option value="4 to 6 persons">4 to 6 persons</option> <option value="6 to 8 persons">6 to 8 persons</option> <option value="8 to 10 persons">8 to 10 persons</option> <option value="More than 10 personnes">More than 10 personnes</option> </select>
The attribute (352) is a selection with a single choice.
It works well to render the choiced value.
What I wanted to do now is to render the choiced value and the other ones till the last option.
i.e the choiced value is "6 to 8 persons", I want to be able to print out also "8 to 10 persons" and "More than 10 persons".
Any hint ?
Regards.
Laurent
Betsy Gamrat
Tuesday 11 April 2006 4:14:36 am
You might want to change the search qualifier from <b>=</b> to <b>></b>, if the selections are listed in ascending order. That should capture all cases larger than the one selected.
Tuesday 11 April 2006 5:08:41 am
Hi Betsy,
Search qualifier ? Where can I change that ?