Services Plugins FAQs

Set a state, based on the value of multiple inputs

image

hi everyone, I am facing a problem.
I have these 4 inputs, which only accept numbers and I would like to set a state based on the value of these 4 inputs.
Example .
if the first input has a value of 13, the second 15, the third 18 and the fourth 30, I would like my final status to be: 13151830. However, when I try to set the state and assign it multiple values ​​this is not an option. is there any way to fix this? Or deal with it differently?

@edmondum, hello. Thanks for reaching out :slightly_smiling_face:

As per the Bubble’s logic, when your data type is an integer, you can apply for it only math functions:

But if you change your input element’s content type to “text” - it will work:
https://www.loom.com/share/ece89fce3fbf4a55af3b23c45143e5fc

I hope it helps. Take care :pray: