I have a registration form that has a dropdown that allows the user to choose a color. This form input will be the same across all pages that allow a user to register.
So, I thought using a Global to populate that dropdown would make sense as the client could manage the color choices. In essence, this is what I'm trying to do:
{% if colorOptions.color | length %}
<div class="form-group">
<label for="colorOption">Color Option</label>
<select id="colorOption" class="form-control">
<option value=""> Select</option>
{% for option in colorOptions.color %}
<option value="{{ option }}">{{ option }}</option>
{% endfor %}
</select>
</div>
{% endif %}
But I'm struggling with what kind of field type color
needs/should/could be within the colorOptions
group.