Templates Plugins Courses

Set a state, based on the value of multiple inputs


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:

I hope it helps. Take care :pray: