How do i modify/remove 'Go back to the form' on confirmation message after the user submits the form? i don't see many the users go back to the form. i want it to say 'Go back to the Homepage'.

Thanks,

Comments

onejam’s picture

You can go to 'form settings' and select: No redirect (reload current page)

This will only display a message on the page without redirecting user to any other confirmation page.

-----------------------------------------------------------------
We build engaging websites and intuitive designs that will benefit your business.
Duvien

transformative’s picture

In case someone is looking to do the same thing, there are also other options:

  1. Override the webform-confirmation.tpl.php file.
  2. Override for a specific webform only.
  3. Send them to a separate page.

.

thakurPankaj’s picture

just go inside webform->templates->webform-confirmation.tpl.php

and there you would find  <a href="<?php print $url; ?>"><?php print t('Go back to the form'); ?></a> 

comment this line or you can modify it... Thanks

Jaypan’s picture

It's actually better if you copy webform/templates/webform-confirmation.tpl.php to your theme directory, and make your changes there, then clear your cache. By doing this, it means that you will not lose your changes when you next update the webform module.

newswatch’s picture

This is helpful

-----------------------------
Subir Ghosh
www.subirghosh.in