Input Validation

Hi all,

There’s probably an answer staring me in the face - but can anybody share how I would go about performing validation on a text input field?

I would like to check if the input is contained within a specific table, and if not, show an error to the user.

The actual application here is to stop users from being able to sign up if they are not part of a list of email addresses which are pre-defined in a table in the application.

Thanks in advance.

Andrew

If im not mistaken you can probably set up a workflow condition on the sign up button. “When button sign up is pressed and user email is (then type all valid emails in with ‘or’) sign the user up”.

Hey Andrew,

Create 2 workflows: one for when the email is found, one for when it isn’t.

When sign up button is clicked and search for user’s emails contains input’s value > sign the user up.

When sign up button is clicked and search for user’s emails doesn’t contain input’s value > show alert message.

Add an alert element for the second case.


Gaby | Coaching Bubble

Spot on Gaby, as usual. Thank you kindly.

1 Like