This field in the front end is simply a drop down, no multiselect
Just wondering why you’ve got it as a multi select in the admin panel but not in the front end? No worries as I’m fairly certain it should work anyway but just wondering?
This is the codeI’ve put in:
<select id="{exp:custom_drop_down:field_id field_name="search:countries"}" name="{exp:custom_drop_down:field_id field_name="search:countries"}">
{exp:custom_drop_down field_name="landen" separate_values="yes" initial_value_value="" initial_value_option="Kies een land…"}
<option value="{value}">{label}</option>
{/exp:custom_drop_down}
Any idea what might go wrong?
Not too sure where you got {label} from but try this instead :
<select multiple="multiple" id="{exp:custom_drop_down:field_id field_name="countries"}" name="{exp:custom_drop_down:field_id field_name="countries"}[]">
{exp:custom_drop_down field_name="countries" initial_value_value="my-value" initial_value_option="Kies een land……"}
<option value="{value}">{value}</option>
{/exp:custom_drop_down}
</select>
The search:countries part is what was probably messing this up. As mentioned this add-on is just for creating the drop-down menu or multi select menu. Getting it to work within a search application would have to be up to the end user.
Also can I ask that you post any more support questions over at devot-ee.com as we’re not supposed to use the forums here for add-on support. Thanks.
Best wishes,
Mark
P.S. Hope this gets you up and running and thanks for the purchase.