Creating specific block code

How to create block code such that if button is pressed, check if text input is filled and only then proceed , else make label visible

It sounds like you have a plan. Have you tried connecting blocks to do that? Post a screenshot of what you’ve tried.

When you say “filled” – what do you mean by that? Do you mean no an empty string (“”)? Or something else?

I mean that it should not be empty

Try this:

1 Like

Thanks a lot man!