I have a page listed:

http://star.txstate.edu/smstars

I need to be able to have users click vote and not be re-directed to the actual node page.

HELP PLEASE!!!

Comments

anarcat’s picture

Title: Auto-return results without loading node page » Show a confirmation page after voting
Category: support » feature
Priority: Critical » Normal

I mistook this for a spam. :) I'm not sure how that could be done. Right now the form handler redirects to the node page, i think. Maybe it could instead just show a confirmation message? Would that be okay for you?

anarcat’s picture

So there's been another one asking for this (#605024: Redirect users after they vote) so it seems it's something that needs to be customizable. Except I don't know how far we're supposed to go with this... Would one URL configured in the preferences site-wide be enough? Or per decision?

fuerst’s picture

I would prefere to make it configurable per decision. Different decisions - different needs for getting data from the user after finishing the decision. For instance using a webform node to collect data.

brandonratz’s picture

I also need this functionality. Per decision is the way to go. An extended feature I am looking for is... I need the ability to assign "Results" permissions. I want the ability to show the results to a particular role and disallow to others.

anarcat’s picture

Status: Active » Postponed (maintainer needs more info)

Hi folks!

There's now a patch waiting for review/resting in #660578: Allow users to override results with display of text... does it do what you want or you really want a redirection?

floater’s picture

For me patch #770578 is not enough. I would like to redirect users to a webform after voting, where they can leave contact details to enter a sweepstake.

In module WebForm it is possible to define a field 'Confirmation message or redirect URL' with the following description:

Message to be shown upon successful submission or a path to a redirect page. Preface message with message: for a simple message that does not require a page refresh. Redirect pages must start with http:// for external sites or internal: for an internal path. i.e. http://www.example.com or internal:node/10

Copying this code would work for me (but then my favorite saying is: everything is possible if you don't what you're talking about ;-)