Re: [Dave] Multi-Field Search Syntax?
Hi Dave,
Thanks for the invitation. I did send and email, but it was back close to the holidays. Since than I have solve the problem and thought I would post it to help others with the same situation. I used the code within a HTML drop down menu form.
As it turn out, when searching for a RANGE of two fields I needed to clearly define the format for each fieldname and not rely on a “comma” to combine two fieldnames formats.
Below are the codes for this situation:
Wrong Way:
[/#ff0000]-------------------------------------------------------------------------------------------
<select name="dress_price" onChange="MM_jumpMenu('self',this,1)">
<option value="#" selected>Search By Price:</option>
<option value="myfilename.php?saleprice,[/#ff0000]price_min=100&saleprice,[/#ff0000]price_max=200">$100 to $200</option>
</select>
Right Way:[/#0080ff]
[/#ff0000]-------------------------------------------------------------------------------------------
<select name="dress_price" onChange="MM_jumpMenu('self',this,1)">
<option value="#" selected>Search By Price:</option>
<option value=" myfilename.php?saleprice_min,[/#0080ff]price_min=100&saleprice_max,[/#0080ff]price_max=200">$100 to $200</option>
</select>
Thanks