Questions tagged [drop-down]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15
votes
2answers
3k views

How do I create a locale dropdown to switch between languages?

I’m trying to create a dropdown menu to switch between language’s on my site. I am currently doing this with this snippet found on the google plus community: {% block locale__switch %} {# Loop ...
5
votes
1answer
1k views

How do I output a dropdown's values if I'm on a registration form not tied to an entry?

I have a registration form on my website. All of the fields here so far have been text, which is no problem. However, I've just been asked to create a dropdown box for users to select their salutation ...
1
vote
2answers
269 views

Dropdown field value getting outputted multiple times

I have a dropdown field that has three options. In my template, I want to do one thing if option 1 is selected and do something else if option 2 is selected. Here is what my code looks like: {% for ...
1
vote
1answer
461 views

Reuse chosen dropdown field value on frontend

I would like to choose entry values from a frontend dropdown and reuse the chosen value directly. {% set entries = craft.entries.section('mountainbikes') %} <select name="year"> {% for entry ...