Preventing only spaces input

Hello friends!
Can someone help me please? i want to prevent my app users to save empty text in the database including only spaces texts.
I’ve made my input fields should'nt be empty but when i test by puting only spaces, the input field recognize it as text


On this first image, there’s a button which is not visible when the input field is empty, that’s good


For now, i’ve put some spaces in the field and the button appeared, that’s the probleme

Hi there, @LordBriand… add the :trimmed operator to the condition that hides the button when the input is empty, and you should be good to go (example here).

Best…
Mike

1 Like

Thank a lot bro :100:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.