Message Text |
I am going crazy trying to figure out how to sort some custom fields without having them stick after the user leaves the page and goes to a different page. I have a field that has three possible values that I want to sort by. Below is what I currently have, but it is sticking after the user goes back to the main website or anywhere else:
<IF {SWITCH_SORTLINKS} and {CATLINKSHERE}>
<form action="index.php">
<input type="hidden" name="filter" value="TYPE95D32" />
<input type="hidden" name="action" value="displaycat" /
62;
<input type="hidden" name="catid" value="{CATID}" />
<input type="hidden" name="linkfilteraction" value="add" />
Show
<select name="perpage">
<option value="{PERPAGE}">{PERPAGE}</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="40">40</option>
<option value="50">50</option>
</select>
listings, ordered by
<select name="filtervalue">
<option value=", Cars By Owner, ">Cars By Owner</option>
<option value=", Cars By Dealer, ">Cars By Dealer</option>
<option value=", Parts For Sale, ">Parts For Sale</option>
</select>
<select name="ascdesc">
<option value="ASC">ascending</option>
<option value="DESC">descending</option>
</select>
<button type="submit" class="gobutton"><img src="{IMAGESURL}/sort.png" alt="" /> Sort</button>
</form>
</IF> |