Services Plugins FAQs

Easy Range Slider - Display Range of Feet and Inches?

Greetings,

I am attempting to use this plugin to show a height preference range displayed as feet and inches. My values are in an Option Group with the Display as (for example) 5’1" and corresponding Attribute value as 61 (inches). I don’t see a way for the plugin to compute the Attribute value while displaying the Display value on the Slider.

I tried using a simple computation (inches / 12) to translate the inches to feet, but the decimal result does not display as feet and inches as is required, and there is no way to show a “formatted as text” option that I can see in the plugin.

image

image

Am I missing something? Is it possible perhaps this feature could be built in? Seems like a simple adjustment. Thanks in advance for any advice or help!

Hello @obtrectation,

Thanks for your message. :slightly_smiling_face:

The plugin returns the Slider value as a Number, you do any kind of mathematical operations to achieve your desired formatting. We recommend using the Bubble Debugger to verify the values generated by your mathematical expressions.

Hope it helps. :pray:

If we can help you with anything else, please let us know.

Best regards,
Zeroqode Support Team

1 Like

Hi @adarina.efros -

Thanks so much for the reply!

Unfortunately I haven’t been able to figure out how to get this to show feet and inches based on an input of inches…

Is there any chance the plugin can be modified to work with Option Sets that have Attribute values? Again, in my case I have the Option value as a text display and the Attribute value as the numeric to be computed.

Thanks again for your attention to this!

Hi @obtrectation,
Thank you for sharing the additional details.

We will check with the team and get back to you ASAP.

Appreciate your understanding and cooperation.
Cheers!

1 Like

Hi @obtrectation,

Upon consulting with our team, we’re still a bit uncertain about your objective.

To understand better your specific use case and to see how you’re implementing the plugin within your app, we’d appreciate it if you could provide us with screenshots of your configuration, the setup of the plugin element, and any workflows related to it. Additionally, please share a brief screencast video showcasing your setup and a step-by-step demonstration of the issues you’re facing, this would be immensely helpful. You can use tools like Loom or any software you’re comfortable with.

Please use the Bubble debugger and execute actions on your page in a step-by-step mode to confirm that there’s no missing value or data source.

We appreciate your patience and cooperation in this matter.

Eagerly awaiting your response.
Cheers!

1 Like

Hi @AntonZ, thank you for taking the time to look at this with me! :slight_smile:

Simply put, I want my users to be able to choose a height range represented in feet and inches.

My issue is: If I use feet as the Min and Max value in the plugin control, decimals do not represent inches - for example, 6.1 feet is actually 6’ 1.2". Further, 6.10 and 6.11 are not options as it rolls from 6.9 to 7 as decimals do.

This is how the user interface currently looks:
image

This is the control configuration:

I created an Option Set with a Display that has a text value for “Feet and Inches” (“6’ 1” in this example) and Inches (73) as an Attribute Value.

I’d like to use my Option Set Attribute Values for the control’s Minimum value and Maximum value, and step through the Option Set options with the plugin instead of through a range of numbers. Stepping through Option Sets with a slider range would be a really powerful way to utilize this tool for a lot of things. This would allow me to show the Option Set’s text Display value while computing and saving the Attribute Value to the database. In this example, the slider range would display 6’ 1", 6’ 2", 6’ 3" as the user slides the scale to the right, but it would be saving 73, 74, 75 (inches) to the database.

Let me know if this makes sense, I didn’t do a video because I’m not sure how to convey my meaning in that way… Very open to other potential solutions, thank you again for the help!!

Hello @obtrectation ,
Thank you for your reply.

We will investigate with the development team and get back to you as soon as possible.
Thank you for your understanding.

Cheers!

Hello @obtrectation ,
Thank you for your patience, we really appreciate it.

I would like to inform you that the plugin uses a library that only works with numbers (units like length, width, weight, etc. do not work).
After talking to the developers, we came to the conclusion that it would be better to use the scale in inches, and format the results of the stats in fractional feet. For example: 13 inches on the scale in a steat would be 1.1(1 foot - 1 inch).

You can see it more clearly on our demo page on the RangeSlider B element. :slight_smile:

Thank you for your understanding.
Cheers!

Hi @AntonZ, thank you for collaborating with the developers for this response, I appreciate the effort. Unfortunately fractional feet is not something most users understand, so this won’t be an acceptable solution. I’ll need to find some other way to solve this problem. Thanks again!

Hello @obtrectation,

Thank you for sharing your feedback and showing your understanding.
Our goal is to make our solutions convenient for users, and I apologize for any inconvenience you encountered while working with our plugin."

Please feel free to reach us again when you need some help or assistance via email: support@zeroqode.com or on the forum. It will be a pleasure to cooperate.:slightly_smiling_face:

Cheers!