I've got a webform that is delivered via an iframe into a client site. When an Internet Explorer user uses the form, they are not receiving the confirmation message. The confirmation message is shown in all other browsers I've tested (FF, Chrome, Safari), but not IE (7.0, 8.0 and 9.0). When the form is not in an iframe the confirmation is shown just fine, including Internet Explorer. Error messages are being shown within an iframed form correctly in all browsers as well.

Comments

quicksketch’s picture

I don't think this is likely to be caused by Webform module itself. The hosted service at webform.com uses iframes to embed Webforms on hundreds of sites already, and IE works fine when submitting a form through there. I think it's likely that the formatting of your HTML pages is causing IE to fail when Webform is in an iFrame.

billp44ruby’s picture

Okay, I can look into that. But it happens with a webform in an otherwise empty page. The only HTML code is the iframe itself, such as I show below.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
  <title><!-- Insert your title here --></title>
</head>
<body>
    <iframe src="url" width="740" height="1000"></iframe>
</body>
</html>
billp44ruby’s picture

Looking into this a little further.... I created a brand new webform with just a textfield and email field, along with a basic confirmation message. When "Redirection location" was set to "Confirmation Page", the confirmation message displayed correctly. When "Redirection location" was set to "No redirect (reload current page)" the confirmation message did not display. I used the basic iframe code that I showed in the previous message. The confirmation message displays correctly Firefox and Chrome. It does not display in IE when ""No redirect (reload current page)" is selected as the Redirection location.

danchadwick’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing for lack of activity and limited -3.x branch development.