1

Is it possible to redirect the user to a specific page after they successfully complete the front-end registration form (before activation)? I've tried adding:

<input type="hidden" name="action" value="users/save-user">
<input type="hidden" name="redirect" value="registration-successful">

But it currently just redirects back to the home page. I really need to redirect the user to a page that prompts them to check their email for the activation link. It currently feels a bit broken.

Am I missing something?

Any help much appreciated.

2

The url needs to be hashed. Try using {{ redirectInput('registration-successful') }}

As documented here: https://docs.craftcms.com/v3/dev/functions.html#redirectinput-url

  • Udo, thank you so much. That worked perfectly. – GazCrane Dec 14 '18 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.