Save a number value to Database from a text element (Not text Input)

i have a text element which mirrors the number value of an Input Slider, now i want to save the value of the text box to the database. (i dont want to save the value of slider itself for a number of reasons)

It doesn’t seem to be possible, bubble doesn’t give me the option for using a value of a text box to save to a Number field type in the database.

Or i’m missing something?

Use an input element instead. You can style it to look like a plain text, but that will allow you to set the content type of the input to number or text, and then you can save it by using “Input’s value”

I am generating a random number within text element which doesn’t work with input text.

Is there a solution to save the random number generated from text element and then save it to a field in data type?