Thank you very much for your answer, I checked all the articles on this issue, even the ones you sent me.
I could easily do the same thing directly with the (register button), but it’s very lacking in some other issues what I want is that when the user presses the button to send the visitor to his dynamic page with some form of code.