Is it possible to change the link (or remove it) whern a user has summitted a form and the thank you message appears?

OR

Can I change the class of the message?

If I redirect the user to another page, the message comes up in red, which is our css for message and which we want to keep. But if we redirect after a web form submit, I'd like to show the message in another div styled differently.

If not I just want to change or delete the "go back to form"

thanks

Comments

quicksketch’s picture

You can do both by overriding the webform-mail.tpl.php file. Read the THEMING.txt file for instructions on how to theme Webform e-mails.

agerson’s picture

I think that is in webform-confirmation.tpl.php

quicksketch’s picture

Status: Active » Closed (fixed)

I think it's time to close after 6 months. Thanks agerson.

alexanansi’s picture

Issue summary: View changes

I don't know if this will work for Drupal 6, but it works on Drupal 7.

Just add this into your CSS file

.page-node-done #block-system-main .links {
    display: none;
}
RumpledElf’s picture

As a random aside since I found this issue while googling, I had a client request to get rid of that link on webforms in a popup (using colorbox_node and webform_ajax) and put a button there instead to close the popup.

I ended up with this in the confirmation tpl:

<div class="links">
  <a id="closebox" onclick="jQuery.colorbox.close();" href="/">Close</a>
</div>