This seems like an easy question, but I can't find the answer anywhere. I'd like to have the user registration form redirect the the user to the home page after they fill it out, *but* I still want the form to do its regular processing/updating and display the "an e-mail has been sent" message. Changing the #action on the form to '/node' sends the redirect, but eliminates all actual processing from the form (since it just alters the HTML action attribute). How can I make the redirect happen *after* the form is processed?

Comments

gengel’s picture

My users aren't actually logging in, just applying for registration. Furthermore, I don't want to alter any behavior for users who *are* logging in. Looking at this module's settings page, it seems unlikely to be exactly what I want.

gengel’s picture

And looking at the code for login_destination, it seems to do exactly what I don't want.

jvinci’s picture

My registrants aren't seeing the message because they only see that the form is still on the screen. They then assume their registration didn't go through.

So, a redirect would make the fact that the process is complete a little more clear.

thanks.