Input & workflow help

I’m trying to make a invite only site where users have to enter an invite code to sign up. But I’m having trouble getting the invite codes to work. Could someone help?
Screen Shot 2022-12-12 at 1.20.05 PM

Don’t run your conditional on a contains. The workflow should explicitly check against the input.

code = codeinput’s value

and take off the recursive Only when down to the first syntax of :first item

and as a good rule of thumb, you may want to sanitize the invite code that gets sent to the data base and retrieved with the syntax :uppercase or :lowercase

Not sure what I’m doing wrong, but it’s still not working…

Take off your :first items code is codeinput’s value and just make it :count > 0

You gotta remove first item

Perfect. I’ll give it a try thank you

Yezr. Let me know

Still not working…

this is the data type

Can you also show me your privacy settings?

And explain the user experience?

Instead of a show in a workflow maybe we should make a show conditional on the element you want to show itself. I’ll give you an example

group sign up

This is a conditional on the Sign Up group we want to show upon a successful invite code.

I’ve created a custom state to store the Codeinput’s value whenever the “Enter” button is pressed

set state

I got it to work. The privacy settings were private so I made them public.

Ok. Great

Another question. How would I go about making restrictions for password? For example a password must have a minimum of 8 characters

Those settings can be found in your General settings area right up top with Privacy & Security

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