I'm using the block to place the invite form on many pages to make it easy for users to invite friends without leaving the page they're on. This is the most convenient and least disruptive user experience, which we're trying to promote. However, upon submitting the block form, the users are taking off the page they were on and redirected to http:www.mysite.com/invite. Now they've just finished inviting their friend, why would we want them to end up here rather than stay on the page they were on? What's the point of having a block form if they get redirected to a page form? Is there a way to stop the redirect?

Comments

MBroberg’s picture

You can try Custom Redirect module if it is just one page that you want to stay on, or Ajax module if you want the form to use ajax and disable redirect.

samuray500’s picture

I have the same problem but in drupal 7. We don't have custom redirect and ajax modules yet for that version :(

Anonymous’s picture

any updates on this?

marcmarc_’s picture

no, i still have the same problem...

There should be an option to choose if you want the block to link to a invite form or you just want the form in the block with no redirection to the page with form.

avpaderno’s picture

Version: 6.x-2.0-beta3 » 6.x-2.x-dev
Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.

avpaderno’s picture

Issue tags: -block, -redirect