Title: Dropdown value issue
Last modified: July 16, 2020

---

# Dropdown value issue

 *  [chrisco75](https://wordpress.org/support/users/chrisco75/)
 * (@chrisco75)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/dropdown-value-issue/)
 * I have an issue with dropdowns in my forms.
 * On my registration page, I have 3 drop dropdown fields. When someone fill those
   forms and hit the registration button, the content (text value) of those dropdown
   is stored in the database. And that what I need.
 * My problem is when a user edit its profile and confirm the modification, the 
   text that was in the DB is replace by a number that the indicate the position
   in the dropdown fields.
 * How can I keep getting text value form those dropdown when a profile get updated,
   because I’m using those field for different validations through my website; and
   those validations are based on text value, not numbers.
 * Thanks!
    -  This topic was modified 5 years, 10 months ago by [chrisco75](https://wordpress.org/support/users/chrisco75/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [chrisco75](https://wordpress.org/support/users/chrisco75/)
 * (@chrisco75)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/dropdown-value-issue/#post-13131928)
 * Example:
 * From the registration form:
 * <div class=”um-field-area “>
    <select data-default=”English” name=”language” 
   id=”language” data-validate=”” data-key=”language” class=”um-form-field valid
   not-required um-s1 ” style=”width: 100%” data-placeholder=””> <option value=””
   ></option> <option **value=”English”** selected=””>English</option> <option **
   value=”Français”**>Français</option> <option **value=”Español”**>Español</option
   > </select> </div>
 * ——————-
    From the user profile form: <div class=”um-field-area um-field-area-
   has-icon “> <select data-default=”English” name=”language” id=”language” data-
   validate=”” data-key=”language” class=”um-form-field valid not-required um-s1”
   style=”width: 100%” data-placeholder=””> <option value=””></option> <option **
   value=”0″** selected=””>English</option> <option **value=”1″**>Français</option
   > <option **value=”2″**>Español</option> </select> </div>

Viewing 1 replies (of 1 total)

The topic ‘Dropdown value issue’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [chrisco75](https://wordpress.org/support/users/chrisco75/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/dropdown-value-issue/#post-13131928)
 * Status: not resolved