SOLVED

Form 2.0 not working on Drupal page

Go to solution
Kathryn_Collin2
Level 3

Form 2.0 not working on Drupal page

Hi all - We have a 2.0 form held in an iframe on the Contact Us page of our website (run on Drupal 7)

Recently we have noticed that for certain users after submitting, the button changes to be grayed out with the word 'sending' but never actually moves onto the follow up page.

pastedImage_0.png

After submit, an external page should load within the iframe.

While the submit function still works, and the info sent to Marketo, its terrible for UX with users often repeatedly resubmitting the form.

We know the form works generally, as we don't experience the same issue on a Marketo page, but wondering if anyone else has had any similar problems with Drupal embeds??

Thanks in advance!

Kat

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Gerard_Donnell4
Level 10

Re: Form 2.0 not working on Drupal page

Hi Kathryn Collins​,

Do you have a web admin?

Have a look at the error that is generated when the form is submitted.  Looks like you need to host your follow up page on a secure server (https). Your follow up page is http://info.caci.co.uk/contact-submission-confirmation/

You can replicate this by filling in the form and monitoring the console tab when you go to the Inspect Element window in Google chrome.

Mixed Content: The page at 'https://www.caci.co.uk/contact' was loaded over HTTPS, but requested an insecure resource 'http://info.caci.co.uk/contact-submission-confirmation/'. This request has been blocked; the content must be served over HTTPS.

Screen Shot 2017-11-16 at 19.02.59.png

View solution in original post

5 REPLIES 5
Gerard_Donnell4
Level 10

Re: Form 2.0 not working on Drupal page

Hi Kathryn Collins​,

Do you have a web admin?

Have a look at the error that is generated when the form is submitted.  Looks like you need to host your follow up page on a secure server (https). Your follow up page is http://info.caci.co.uk/contact-submission-confirmation/

You can replicate this by filling in the form and monitoring the console tab when you go to the Inspect Element window in Google chrome.

Mixed Content: The page at 'https://www.caci.co.uk/contact' was loaded over HTTPS, but requested an insecure resource 'http://info.caci.co.uk/contact-submission-confirmation/'. This request has been blocked; the content must be served over HTTPS.

Screen Shot 2017-11-16 at 19.02.59.png

SanfordWhiteman
Level 10 - Community Moderator

Re: Form 2.0 not working on Drupal page

Yep, standard browser security measure, good call Gerard!

Kathryn_Collin2
Level 3

Re: Form 2.0 not working on Drupal page

Oh amazing! All fixed now - Thanks so much for you help!!

SanfordWhiteman
Level 10 - Community Moderator

Re: Form 2.0 not working on Drupal page

Kathryn Collins​ you should mark Gerard's answer as Correct when you can to help future searches.

Ayan_Talukder
Level 5

Re: Form 2.0 not working on Drupal page

Hi Kathryn, I see Gerrard has already given you a very helpful response. We had the same issue for several months as well also finding we needed to have our Marketo CNAME domain secured.

After some minor tweaks we got our pages fixed but have now opted for landing pages because Forms 2.0 embedding unfortunately doesn't pre-populate fields.

However, I believe Sandford has posted on this before and found a way around this with some scripting.