after a successful submission, I want the "Thank you" page to link back to another page that I specify. what is the secret there?

Comments

waynedrupal’s picture

I am not sure about version 6.x but in 5, you can create a page with anything that you want on there (including a link to a page that you specify), and just put the address to that page in the URL redirect - this found when you edit the webform.

That should do what you want!

bmeier’s picture

If you edit your Webform you should see a text field with the title "Confirmation message or redirect URL:". Put the link to your new page there (ie. internal:node/10). There are instructions below that box as well.

quicksketch’s picture

If you want to change the link on all webforms, another alternative is theming the confirmation page. Copy the "webform-confirmation.tpl.php" file from the webform directory and drop it in your theme's folder. Clear the Drupal cache by clicking the "Clear all caches" button on admin/settings/performance, then you can change the confirmation page to use any style you want (including removing that link).

You can also do a node-specific theming by copying the file and renaming it to webform-confirmation-[nid].tpl.php. Read THEMING.txt for more information.

quicksketch’s picture

Status: Active » Closed (fixed)
real_ate’s picture

@bmeier you mention that you should see: "Confirmation message or redirect URL:" when editing a webform. Is this always the case? I don't see these fields when I'm editing my webform.

sylvain_a’s picture

@real_ate When editing the webform, do you see the links "Form components | E-mails | Form settings"?
Click on "Form Settings", and you will find "Redirection location" as the second option (D6).

appplusmobile’s picture

When editing the webform, do you see the links "Form components | E-mails | Form settings"?
Click on "Form Settings", and you will find "Redirection location" as the second option (D6).

I have a contact webform under http://www.appplusmobile.info/pythia-mobile-kontaktieren
I need to place the Google conversion snippet into the CONFIRMATION page, which comes when a user has sent the webform.
But I cannot find the page defining the confirmation screen, no do I find the links for Form components.
Attached a screenshot.
http://www.appplusmobile.info/sites/default/files/forms.tiff of the webform in http://www.appplusmobile.info/pythia-mobile-kontaktieren

Using Drupal 6.19

Thanks!

skousha’s picture

Issue summary: View changes

Hi guys,

I did #3 and changed the message in the template file.... no change in submission message. Any idea why drupal doesn't recognize webform-confirmation.tpl.php?

Thanks