SOLVED

Re: Oops! This page has improperly configured forms

Go to solution
Grégoire_Miche2
Level 10

Oops! This page has improperly configured forms

Very weird error encountered today : the following page causes the following error message :

pastedImage_0.png

We have created a template without any custom forms 2.0 code, but the problem remains.

it seems to be caused by the JS line :

var form = MktoForms2.newForm(formDescriptor, function (form){

Any idea ?

Thx in advance,

Greg

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Oops! This page has improperly configured forms

Nothing to do with Marketo forms. It's incorrect logic in your external script http://pages.talentsoft.com/rs/522-HRF-726/images/ts-webflow.js which is looking for webflow forms and not finding them.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Oops! This page has improperly configured forms

Nothing to do with Marketo forms. It's incorrect logic in your external script http://pages.talentsoft.com/rs/522-HRF-726/images/ts-webflow.js which is looking for webflow forms and not finding them.

View solution in original post

Grégoire_Miche2
Level 10

Re: Oops! This page has improperly configured forms

Thx Sandford!

what's weird is that it happens suddenly and did not do in the past, while as far as I know, this script has not been updated recently whatsoever.

-Greg

SanfordWhiteman
Level 10 - Community Moderator

Re: Oops! This page has improperly configured forms

The form detection code is very naive.

It considers a WebFlow form, a MailChimp form, or a generic form with an action ​attribute to be OK.  Any other form pops up the error.

But Marketo's JS-driven forms don't need an action attribute; in HTML5, ​action ​is optional. (It was required in HTML4, so to be fair that would've been a type of "improperly configured" form at some point in the past.)

Btw, good to see you using Touch History.