Title: Height Range
Last modified: November 1, 2018

---

# Height Range

 *  Resolved [anilreddy0102](https://wordpress.org/support/users/anilreddy0102/)
 * (@anilreddy0102)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/)
 * How do I add a height range to the search? It’s showing ‘is’ and ‘is one of’ 
   options but not showing the range option. Please help

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

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/#post-10838447)
 * Hello anilreddy0102,
 * Try adding this code to your _bp-custom.php_ file:
 *     ```
       add_filter ('bps_xprofile_format', 'change_format', 10, 2);
       function change_format ($default, $field_id)
       {
       	if ($field_id == 143)  return 'decimal';
       	return $default;
       }
       ```
   
 * Replace 143 with the actual field ID of your field.
 *  Thread Starter [anilreddy0102](https://wordpress.org/support/users/anilreddy0102/)
 * (@anilreddy0102)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/#post-10838501)
 * Thanks. But it’s outputting 2 text boxes. Instead, I want to output dropdown 
   to select the range. Pls help.
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/#post-10842403)
 * Hello anilreddy0102,
 * The answer depends on the form template you are using. Please see the full info
   in your dashboard, under Users -> Profile Search, or take a screenshot of that
   page.
 *  Thread Starter [anilreddy0102](https://wordpress.org/support/users/anilreddy0102/)
 * (@anilreddy0102)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/#post-10847888)
 * This is the form template I’m using..
    members/bps-form-legacy located in: themes/
   sweetdate/buddypress/
 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/#post-10848630)
 * That template is provided by your theme, and I’m not sure if it’s able to display
   the range as two dropdowns. You could ask the SweetDate team about that.
 * If you go to your _Edit Form_ page, which other choices are present in the _Form
   Template_ dropdown?

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

The topic ‘Height Range’ 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

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

 * 5 replies
 * 2 participants
 * Last reply from: [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/height-range/#post-10848630)
 * Status: resolved