Create a number range, based on input field

Hi all,

I’m trying to create a number range based on values inputted into a text field, but have no idea how.

Please see screenshot attached.

Does anyone know how I can create a range, with the spacing still in tact, so it doesn’t look like this:

Ideally i’d like it to look like this:

Any help would be really appreciated :slight_smile:

Hello @Adrian1,

I have taken a shot at your problem. Hope this is it.
It is a simpler solution involving

  1. Setting text on 2 hidden text fields to calculate and store lower and upper boundary values.
  2. Concatenating both with a “-” to format the range

Logic of creating limits is up to you.
Let me know if you do not understand the solution. I will try my best to explain it to you :slight_smile:

Here’s my RP file trying to demo what you need
Range.rp (57.9 KB)

Have a good day! :+1:

Hi @AngryComedian,

Brilliant, thanks so much! That’s perfect, works like a charm!

Thanks for your help.


1 Like