Re: [thenetgirl] Property Search Results
I've done some more testing and I was able to get the form to return results if I removed the bath and bedroom search parameters from the search string. At the moment if you leave these two fields blank it tries to search for 'Select Bed' and 'Select Bath'. To stop it doing this you need to have the value for select Bed/Bath left empty.
<option value="">Select Bed</option>
I think your current code will already show properties within a given price range, as the minimum value has rent_min as the name, and the maximum value has rent_max.
If you wanted to return properties with more than X bedrooms or bathrooms you will need to change the select tags on line 313 and 298 so that instead of returning keywords they return values above the selected:
<select name="bath_min" class="dropdown" id="type" size="1" style="font-family: Verdana; color: #821789; font-size: 10pt" >
CMS builder stores checkbox values as either 1 or 0. So if you have a field called smoking then you would need an input that looks something like this:
<input name="smoking" value="1" type="checkbox" />
I'm assuming here that the smoking field is called smoking. When this is checked the results should only contain properties which have the smoking field selected.
Thanks
Greg Thomas
PHP Programmer - interactivetools.com