Using Forms to create a custom registration form while passing in variable

Ready to post? :mag: First, try searching for your answer.
I have a use case which I think is suited for the new Forms feature, but not sure. I want to pass in an affiliate_code to the registration flow while also collecting first name and last name which is input by the user.

So:

  1. User clicks a URL: mysite.com/code
  2. I take code and pass it to Auth0 registration flow using “state”
  3. Auth0 asks for first name and last name using the new Forms feature
  4. Auth0 passes back to me first name, last name and code

Is this possible?

I tried setting up an Action whose code was given to me by the Forms feature after I designed the flow, but it never gets invoked so I can’t even get to try this.

Any guidance is appreciated.

Hi @Arsenalist, and sorry for the late reply!

Your use case seems to be exactly what our Forms feature is aiming to solve! Please make sure to check out our docs. The main page of the Flows Documentation contains useful links for various key points of the feature.

Let me know if I can assist you further!
Teodor

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.