Form not working on popup | Community
Skip to main content
March 13, 2017
Solved

Form not working on popup

  • March 13, 2017
  • 1 reply
  • 4182 views

We're trying to embed a Marketo form into a popup - not a specific form popup using the Lightbox javascript - and keep getting an error saying "MktoForms2 is not defined at eval"

I've attached a screenshot of the errors.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

This means you haven;t loaded the Forms 2.0 library (forms2.min.js) before trying to access the core MktoForms2 object.

You need to load forms2 before calling any of its methods.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
March 13, 2017

This means you haven;t loaded the Forms 2.0 library (forms2.min.js) before trying to access the core MktoForms2 object.

You need to load forms2 before calling any of its methods.

March 14, 2017

Thanks that got it working!