Show button after use key

I am new in THANKABLE X and excuse for my english. I need to make a button visible when i am finished inserting a numeric value in a text box. when entering the number the button must remain hidden.
Best Regards

Welcome to Thunkable! I think what you want to do is not possible in Thunkable right now. Other people have asked for a way to know when text input is finished but that block does not exist yet.

Maybe if you have some loop running forever every .3 seconds that starts once the screen starts. the loop could check for the length of the text within that text box. once the length is equal to or longer than the minimum number, enable the button.

1 Like

@jared Good thinking. I was trying to create a demo of something like that earlier today (project link) but the web preview kept crashing and I gave up.

The problem, I think, is that the loop condition will be true once you type the first character into the text input. But I still want to try it.

This won’t run… it just crashes before it even hides the button:

Screen Shot 2020-02-01 at 8.55.05 PM

1 Like

Is there an exact length for the numeric value? For example, if it was always a 4-digit number such as 8529, I think I could provide a solution.

This doesn’t seem to crash Thunkable Live on my iPhone although it doesn’t work in the web preview:

Screen Shot 2020-02-01 at 9.04.12 PM

1 Like

There have been several feature requests about this issue:

Wow you are fantastic, this community is very active, Yes, in my project idea I have 2 text box only numeric, the first have maximum 3 numbers, the second have maximum 5 numbers

1 Like

Having a max length isn’t going to help in this case. If the number HAD TO BE a certain length (3 digits) then we could check the length of the text input and once it was 3, we could show the button. But that won’t work if 4 and 44 and 444 are all acceptable.

hi tatiang
thank you for your interest, you have right.
it’s really a pity, an event would be enough after hitting enter on the keyboard
best regards