UI Calculations using dropdown select, radio buttons, slider, checkbox, etc

Do you have any tips for doing calculations (Sum, average, etc.) using fields aside from the text input fields? I don’t want users to be able to free form their responses in my form. For many of these components you can define a friendly label that the user sees as they complete the item but you can also define the value that will be entered into the database. However, many of these return a type of STRING and there is no option to change them that I can see like on the text input field.

What is the best practice for doing this as easily as possible? I am starting a separate topic on the simple calculations in the UI one, as requested, in case anyone wants to reference it too. Thanks!

I think Select would be great for this task.

To convert string → int you can use Convert To Number block.


1 Like