Submit Button Custom Registration

I created a custom registration form, where users are added to the crm and given a label.
When I test it and hit the submit button, it works perfectly but:
There is no onclick action to the button so the user does not know his data has been submitted.
I already tried to link it with the menu of the button and also tried the properties onclick event handler, but can’t seem to find the right code to make the action “open link in this Window” work.
Could you help me out? Very much appreciated

Try using wixLocation to redirect from registration page to a member’s page

Thank you for your reply and your help!
I was trying with wixLocation and it didn’t work.
Now it works because:

  • I inserted the “import wix-location” code
  • I corrected the wixlocation to wixLocation (did not know that capital letters were important)
    Thanks again