Title: User fields Drop down doesn&#039;t work
Last modified: August 30, 2016

---

# User fields Drop down doesn't work

 *  Resolved [agotteland](https://wordpress.org/support/users/agotteland/)
 * (@agotteland)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/)
 * Hi,
 * I setup a user field with 9 Values.
 * Field Type drop down
    Field Name Lieu Field Title Site Required yes Read Only
   yes and no (I tried both) Published yes Field Size 0
 * On user side when choosing one choice from the drop down menu and saving, when
   opening ticket it always comes up with the first value even though user chose
   another value.
    I tried read only yes and no, same issue.
 * Can you help?
 * Thanks
 * [https://wordpress.org/plugins/js-support-ticket/](https://wordpress.org/plugins/js-support-ticket/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [JoomSky](https://wordpress.org/support/users/rabilal/)
 * (@rabilal)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568143)
 * Hi,
 * Set
    Read only: No Field Size: 10 or you like
 * Your question is not clear.
    Are you talk about, admin set default value of user
   field in case of combo?
 * Are you talk about, system show wrong value on edit ticket or ticket detail of
   user field?
 * Regards,
    Ahmad Bilal
 *  Thread Starter [agotteland](https://wordpress.org/support/users/agotteland/)
 * (@agotteland)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568328)
 * Hi, I’ve tried setting “field size” to 10, still not working
 * The issue is simple:
    Example: user is choosing let’s say the 3rd option on the
   drop down menu (I created) when opening this ticket (or any other) it always 
   appears with option 1 not matter what they choose..
 *  [Ryssia](https://wordpress.org/support/users/ryssia/)
 * (@ryssia)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568416)
 * Hi!
 * I have the same trouble with a user dropdown field.
    when a user chooses say 
   the 3rd option (or anyone other) of the dropdown field, a ticket **always** appears
   with the 1st option. Setting ‘Read only: No’ or ‘Field Size: 10 (or anything 
   else)’ does not help. Any other ideas how to fix this?
 * Thanks!
 * Regards,
    Larysa K.
 *  Plugin Author [JoomSky](https://wordpress.org/support/users/rabilal/)
 * (@rabilal)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568418)
 * Hi,
 * We check it again.
    Create a user field (combo with 4 option) User create ticket
   with 3rd option. In ticket detail, system show 3rd option.
 * Can you please open support ticket, we need some private info.
    [http://joomshark.com/index.php/jstickets](http://joomshark.com/index.php/jstickets)
 * Regards,
    Ahmad Bilal
 *  [Ryssia](https://wordpress.org/support/users/ryssia/)
 * (@ryssia)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568419)
 * Thank you for your reply!
 * Unfortunately, I cannot open support ticket at [http://joomshark.com/index.php/jstickets](http://joomshark.com/index.php/jstickets):
   the system demands to pick one of the Help Topic dropdown field options, while
   there is no option to choose.
 * Besides, on my other site, a system always shows the 2d option, despite which
   option was actually chosen (om my first site, system always shows the 1st option).
 *  [Ryssia](https://wordpress.org/support/users/ryssia/)
 * (@ryssia)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568420)
 * Hi!
 * Any ideas how to fix a user dropdown fields?
 * I have tried the plugin with some different wp themes and with two web-sites.
   However, system always shows wrong results in this field.
 * Regards,
    Larysa K.
 *  Thread Starter [agotteland](https://wordpress.org/support/users/agotteland/)
 * (@agotteland)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568421)
 * Hi,
 * I have the exact same issue, I gave on that functionality for now since it always
   comes up with the same result
 *  Plugin Author [JoomSky](https://wordpress.org/support/users/rabilal/)
 * (@rabilal)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568424)
 * Hi,
 * We check it multiple time and we do not have problem.
    Do you have latest version?
 * You can check in demo site.
    [http://demo.joomsky.com/tickets/pro](http://demo.joomsky.com/tickets/pro)
 * You can open support ticket.
    [http://joomshark.com/index.php/jstickets](http://joomshark.com/index.php/jstickets)
 * Regards,
    Ahmad Bilal
 *  [Ryssia](https://wordpress.org/support/users/ryssia/)
 * (@ryssia)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568425)
 * Hi,
 * yes, I have the latest version of both plugin and wordpress. and I’ve also checked
   it multiple times on two sites with different wp themes but with the same result.
 * I love this plugin, it’s just amazing. But the problem does excist, as several
   people report it.
 * I have created a ticket here [http://joomshark.com/index.php/jstickets](http://joomshark.com/index.php/jstickets)
 * Thank you!
 * Regards,
    Larysa
 *  Thread Starter [agotteland](https://wordpress.org/support/users/agotteland/)
 * (@agotteland)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568426)
 * Same here:
    latest wordpress version, latest plugin version. I gave up using 
   that functionality
 *  Plugin Author [JoomSky](https://wordpress.org/support/users/rabilal/)
 * (@rabilal)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568428)
 * Hi,
 * We find it, here is fix of user field bug.
 * Edit ../plugins/js-support-ticket/modules/userfield/model.php
 * **Find** on line number 183
 *  $query = “SELECT value.* FROM `" . jssupportticket::$_db->prefix . "js_ticket_userfieldvalues`
   AS value
    JOIN `" . jssupportticket::$_db->prefix . "js_ticket_userfield_data`
   udata ON udata.data = value.id WHERE value.field = ” . $row->id;
 * **Replace with**
 *  $query = “SELECT value.* FROM `" . jssupportticket::$_db->prefix . "js_ticket_userfieldvalues`
   AS value
    JOIN `" . jssupportticket::$_db->prefix . "js_ticket_userfield_data`
   udata ON udata.data = value.id WHERE value.field = ” . $row->id. ” AND udata.
   referenceid = “. $id;
 * Regards,
    Ahmad Bilal `
 *  [Ryssia](https://wordpress.org/support/users/ryssia/)
 * (@ryssia)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568429)
 * Yes, it works now ).
 * Thanks a lot for support!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘User fields Drop down doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/js-support-ticket/assets/icon-128x128.png?rev=3337825)
 * [JS Help Desk – AI-Powered Support & Ticketing System](https://wordpress.org/plugins/js-support-ticket/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/js-support-ticket/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/js-support-ticket/)
 * [Active Topics](https://wordpress.org/support/plugin/js-support-ticket/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/js-support-ticket/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/js-support-ticket/reviews/)

## Tags

 * [drop-down](https://wordpress.org/support/topic-tag/drop-down/)
 * [user fields](https://wordpress.org/support/topic-tag/user-fields/)

 * 12 replies
 * 3 participants
 * Last reply from: [Ryssia](https://wordpress.org/support/users/ryssia/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/user-fields-drop-down-doesnt-work/#post-6568429)
 * Status: resolved