Title: Change multiselect to select
Last modified: June 24, 2019

---

# Change multiselect to select

 *  [tlidstrom](https://wordpress.org/support/users/tlidstrom/)
 * (@tlidstrom)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/change-multiselect-to-select/)
 * Hello! I love your plugin. Thank you very much for your work.
 * I’m having problems when trying to achieve the following:
 * 1) I need to show a multiselect field like a select field (dissable multiselect).
 * 2) Change the style of a multiselect field, like select2: [https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTBP9lAIzlHEb_VZF8Hgnu7-2hd0OO2xgCxz5upr1G6rHKv7VNA](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTBP9lAIzlHEb_VZF8Hgnu7-2hd0OO2xgCxz5upr1G6rHKv7VNA)
 * Thank you very much!
    Best regards.

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

 *  Thread Starter [tlidstrom](https://wordpress.org/support/users/tlidstrom/)
 * (@tlidstrom)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/change-multiselect-to-select/#post-11667817)
 * Sorry to bother you. I managed to change 1) with this:
 * `
    add_action (‘bps_field_before_search_form’, ‘change_display’); function change_display(
   $f) { if ($f->code == ‘field_945’) { $f->display = ‘selectbox’; } }
 * I don’t know how to do 2)
    Thanks!
    -  This reply was modified 6 years, 10 months ago by [tlidstrom](https://wordpress.org/support/users/tlidstrom/).
    -  This reply was modified 6 years, 10 months ago by [tlidstrom](https://wordpress.org/support/users/tlidstrom/).
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/change-multiselect-to-select/#post-11674269)
 * Hello tlidstrom,
 * You can modify the form template you are using and replace the standard multi-
   select field with a different one. For details you can read _Modifying the default
   form template_ in:
 * [https://dontdream.it/bp-profile-search/form-templates/](https://dontdream.it/bp-profile-search/form-templates/)
 * You can also have a look at this thread:
 * [https://wordpress.org/support/topic/chosen-js-or-select2-javascript-for-multiselect-box/](https://wordpress.org/support/topic/chosen-js-or-select2-javascript-for-multiselect-box/)

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

The topic ‘Change multiselect to select’ is closed to new replies.

 * ![](https://ps.w.org/bp-profile-search/assets/icon.svg?rev=1568973)
 * [BP Profile Search](https://wordpress.org/plugins/bp-profile-search/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-search/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-search/reviews/)

## Tags

 * [multiselect](https://wordpress.org/support/topic-tag/multiselect/)

 * 2 replies
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/change-multiselect-to-select/#post-11674269)
 * Status: not resolved