How to set up accounts for only emails which end in

So I need a sign-up that can collect the users’ full name and personal email and then either once that account is created or during the sign-up, they would need to verify their student email, which ends in Is there any way to do this?

I would play around with the :contains expression (and similar ones). So if the value of the input where users enter their email doesn’t contain then you can show an alert or whatever you’d like.

1 Like

Thanks, but I need it so that they won’t be able to create the account unless the email is verified because there would be discounts available to the students when they log in and the retailers will agree to be on the website only if the students are verified.

Hi there, @osman… you can stop users from clicking a button to create an account by doing something like what mac said, but it sounds like what you really want is to send a confirmation email to a new account. If that is the case, check this box in your signup workflow, and you should be good to go.

Until the link in the confirmation email is clicked, a user’s email confirmed property will be set to no, and you can use that property to do whatever you want with unverified users (e.g., don’t let them navigate anywhere in the app,).

Hope this helps.


1 Like

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