Advanced Search dropdown for a textbox values
I want to have a textbox in the ad creation form where the user can enter any string. This is similar to the existing "City" or "Title" textboxes, except this one would be a custom field (for example, I'll call it "breed_field" as if I'm selling pet dogs and want to show their breed). Anyway, I know how to do that part.
Here is where my problem comes in:
I want to make this custom field
Advanced Search-able, so it appears in the Advanced Search panel when visitors are viewing all ads in that category (for example, the "Dogs" category).
However, I don't think ClassiPress allows such fields (those populated with a textbox) to be Advanced Search-able. Is that correct? (I am new to the Advanced Search feature).
To take things a step further:
I want the Advanced Search panel to present this field as a
drop-down (even though the values were originally entered into a textbox). I want the drop-down to contain all values that any active ads contain (for example, if there are active 5 ads, 3 of which have the Breed set to "Rottweiler," 1 to "Pug," and 1 to "Bulldog," I would want the drop-down to offer those 3 distinct values -- and if there happens to be an inactive/sold ad that has Breed set to "Poodle," I do not want that value to appear since no active ads use it). Do you know how I can achieve this?
Here is a graphic to help illustrate what I want to achieve:
ClassiPress Advanced search question.jpg
Last edited by almightyeric; July 26th, 2012 at 03:06 AM.
Reason: For the title, I meant to say: Advanced Search dropdown for textbox values