Pretty new to Wix Code and I'm doing pretty well aside from this one issue.
I've set up a lengthy user input form that one is required to fill out before signing up. They submit the form to my collection which automatically creates a dynamic user page from linked by user ID. Once they hit that submit button from the user input form it takes them to a page to "finalize" their membership by signing up through the Wix members app so they can view their members-only dynamic page.
Issue: I followed the common membership profile code tutorial by Wix Code and made the log-in/logout and view profile buttons. When I click "view profile" it redirects me to a dynamic page that can't be viewed (403 Error - You don't have permission) and the URL does not match the ID that was generated in the original user input form and what is in my collection for that email-address. It doesn't link the user to their proper profile page.
I guess I'm having an issue verifying that Wix Code is actually checking if there is an item with my email address in the "client" collection. But the larger issue is how can I make it connects to the proper ID associated with that email address in my collection? Using code, can I make sure that "my profile" button is linked with that ID code/collection and not the Wix site members made from the Wix signup? I only have them use the old school Wix Signup because they're members-only pages. Thank you!