Hi

When I submit a webform I am redirected to a page that contains code for the page submitted (I have attached the screenshot.

I'd like it to be sent to a thank you page. It worked yesterday and I have not fiddled with it at all.

Any help would be appreciated.

Thanks

~S

CommentFileSizeAuthor
drupalwf.jpg91.33 KBsurfsock

Comments

djalloway’s picture

surfsock,
Please ensure that the Webforms Debug option is set to Off in your Webform configuration.

The Webform configuration can be found by visiting Administer --> Site Configuration --> Webform, the Debug option you're looking for is under the Advanced Options fieldset.

surfsock’s picture

Thanks DJ,

Nope, I set that and it still doesn't work. This is just to get the webform to work properly. Do you know of any conflicts outside of tinyMCE

I've uninstalled Drupal...completely...twice. I have two main issues and maybe more...

1. I can't get the redirect to work.
2. The description field when saved returns as if I typed nothing.

This is the most important feature outside of the website itself.

Thanks

axon’s picture

what I have noticed is that TinyMCE assigns rich text editor to redirect (not to description) and if you enter URL there it stores it with

tags

djalloway’s picture

There is a feature request and patch @#520524: Redirect URL and confirmation message should be two different fields that is attempting to enhance the usability of this very issue.
For now, you will just have to find a way to disable the Text Editor for that field.

drupalwoot’s picture

I'm using FCKEditor and found that if you switch to plain text editor in the "Confirmation message or redirect URL: " box and then enter the URL and make sure there are no HTML/Markup tags included it should work.

quicksketch’s picture

Status: Active » Fixed

I've also committed #593496: Strip tags off confirmation field to ensure wasn't broken by WYSIWYG which should fix this problem in Webform 2.9 when I release it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

manish.kumar’s picture

I am using webform as a block and I am displaying that block for a particular node type. How can I control the redirection when a field in the form is leftempty or wrong value is submitted.

I want the same page (the node page) to be refreshed with the error displayed on top. Currently it is redirecting to the node of type webform that I have created.

Thanks