You are viewing limited content. For full access, please sign in.

Question

Question

iframe into wordpress help

asked on April 4, 2019

This was working fine with 10.3 and then I'm assuming its the upgrade to 10.4.  It could have been something with the website and timing was there too and I never realized.  

We run a contact us form and embed it into an Iframe on our website .  https://delawarehealth.org/contact-us/

 

I checked the other day and it wasn't working.  I haven't checked since it was working with 10.3 and I did upgrade to 10.4.  

 

The website provider says its something with CORS.  I added the blanket statement in IIS in the HTTP Headers and it didn't change anything.  This is the error i'm getting.  Any help?

Uncaught DOMException: Blocked a frame with origin "https://forms.delawarehealth.org" from accessing a cross-origin frame.
    at Function.n.InitializeForm (https://forms.delawarehealth.org/Forms/bundles/False_False_Chrome_73_False__False_scripts?v=cBQh6zf3BrM2Mw33lwW7DX4Ks1YHRBTGEtvnU3wCeJo1:1:733116)
    at Function.n.FormInitializer (https://forms.delawarehealth.org/Forms/bundles/False_False_Chrome_73_False__False_scripts?v=cBQh6zf3BrM2Mw33lwW7DX4Ks1YHRBTGEtvnU3wCeJo1:1:784574)
    at formInit (https://forms.delawarehealth.org/Forms/contact:105:6)
    at Object.success (https://forms.delawarehealth.org/Forms/contact:318:6)
    at c (https://forms.delawarehealth.org/Forms/bundles/jquerymin?v=NNvRrt_4VTUxpB0IOMoCb0a7YmcdZ5YTm3OVRV8yIMU1:1:41330)
    at Object.fireWith [as resolveWith] (https://forms.delawarehealth.org/Forms/bundles/jquerymin?v=NNvRrt_4VTUxpB0IOMoCb0a7YmcdZ5YTm3OVRV8yIMU1:1:42093)
    at w (https://forms.delawarehealth.org/Forms/bundles/jquerymin?v=NNvRrt_4VTUxpB0IOMoCb0a7YmcdZ5YTm3OVRV8yIMU1:1:85073)
    at XMLHttpRequest.u (https://forms.delawarehealth.org/Forms/bundles/jquerymin?v=NNvRrt_4VTUxpB0IOMoCb0a7YmcdZ5YTm3OVRV8yIMU1:1:91311)

0 0

Answer

SELECTED ANSWER
replied on April 4, 2019

Please contact LF support. We have released a hotfix for using forms embedded in an iframe for version 10.4. The fix will also be included in the 10.4.1 release. 

0 0

Replies

replied on April 4, 2019

Some reason the body style has display:none causing it to not show up. Inspecting the frame and changing this to display:block does make it appear. In the javascript in forms can you try something like $('body').show();

0 0
replied on April 4, 2019

Added and no change.  I'm trying to get back into the WP site to check the page settings with the theme to see about the body style.  They did some maintenance because I asked for their help and now I can't get back in currently.  

0 0
replied on April 4, 2019

Probably a dumb question but how do you contact support?  I don't see a hotfix on the support site.

0 0
replied on April 4, 2019

Go through your VAR. They will handle the support request. 

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.