I want to close my app sign up to invite only, so I have a group that loads when a user clicks sign up. The group blocks the actual sign up and simply shows an “invite code input.”
The idea is that a user with an invite code would type their code into the input, click [submit] and then get the sign up form if the invite code exists and is not used.
I have a data type called Invite, with fields for Code=text , and a field for used= yes/no.
I need help with my workflow. How do I make it so that if a user hits submit, a search is triggered for the invite code typed in the input and isn’t used?
So far, I have when user clicks submit, show real sign up form, only when…do a search for invites, code=input value, used=no
,… but the problem is that it shows as an error in red, i want the workflow to work if the search finds that this value exists