I'm trying to set up a front end user profile that will allow the user to use the multi-select field. When I update from the CP, the changes are reflected on the front end, but this isn't working when trying to update from the front end form.
Is there anything I'm missing?
{% set languageOptionsIds = user.providerLanguages %}
<label for="providerLanguages">What languages do you work with?</label>
{% for option in currentUser.providerLanguages.options %}
<input type="checkbox" id="providerLanguages" name="fields[providerLanguages][]"
{% if option.selected in languageOptionsIds %}checked{% endif %} value="{{ option.selected }}">{{ option.label }}
</input>
{% endfor %}