Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By stephany7andy on
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
You can go to 'form settings'
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
Other options
In case someone is looking to do the same thing, there are also other options:
.
modify/remove 'go back to form' after webform submission
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
It's actually better if you
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.
This is helpful
This is helpful
-----------------------------
Subir Ghosh
www.subirghosh.in