SOLVED

Form not working on popup

Go to solution
Anonymous
Not applicable

Form not working on popup

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.

marketoformerror.png

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Form not working on popup

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.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Form not working on popup

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.

Anonymous
Not applicable

Re: Form not working on popup

Thanks that got it working!