View Single Post
  #1  
Old 12-31-2008, 05:17 PM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default drop-down list - submit issues

I have a drop-down list on our site which looks like this

<form action="home.php" name="specialform" method="post" >
<select name="special_cat2" style="width: 130px; text-align: center" onchange='javascript: document.specialform.action = document.specialform.special_cat2.value; document.specialform.submit();'>
<option value="" selected>{$lng.lbl_photo_housings}</option>
<option value="categoryurl.html">Title Goes Here</option>
<option value="categoryurl.html">Title Goes Here</option>
<option value="categoryurl.html">Title Goes Here</option>
</form>


When I select one of the options the results actually open up as search results.
I want it to just go to the category page.

Any idea how to change this to work?
__________________
Joe Holley
4.2
Reply With Quote