Login Page - Sign up button links wrong page

Hello guys! I am trying to make a log in page, and created sign up button for users who don’t have an account.      And the sign up pop up looks like this:   And this is the main login page:       However, when I click the sign up button in the page that I created, I need to sign in first…This sign up page is for anonymous user, so I want this function but it does not work properly.      In this case, what did I do wrong? Any idea to fix this error?
1 answers

Hey Hayoung,
This is not how you do it, What you have to do is, you have to make a signup data holder
and make its association with Account. Now, when you click the submit button from the signup page
it should call a microflow, and create an Account, which then saves all your information in,
the System.account, You can even setup the user role for them as well.
Hope it helps! 



Add a NPE SignUpDataHolder in you domain model..



On the signup page, add a data view, and set its data source to microflow, now in the microflow create the NPE.

refer to the image below..


Now configure your data view to look like this,


On the save button, call a microflow, which creates an account object and fill the data coming from your data view into that, 

refer to the image below.


If you want to add roles also, then it could also be done. Just let me know!