How can I overwrite the code on an embedded Lightbox form to deploy from a clicked CTA instead of automatically on page load?

Anonymous
Not applicable

How can I overwrite the code on an embedded Lightbox form to deploy from a clicked CTA instead of automatically on page load?

We are using a Marketo form on a non-Marketo page. We need a lightbox deployment, but not at page load. Does anyone know how we can modify the embed code so that the click of a link or button will deploy the form instead?

Thanks!
Tags (1)
4 REPLIES 4
Josh_Hill13
Level 10 - Champion Alumni

Re: How can I overwrite the code on an embedded Lightbox form to deploy from a clicked CTA instead of automatically on page load?

I'd ask your web developer to provide custom code to do this. Developer.marketo.com

Perkuto.com can help you do this quickly.
Anonymous
Not applicable

Re: How can I overwrite the code on an embedded Lightbox form to deploy from a clicked CTA instead of automatically on page load?

We have done. He's looking for other's who have done this previously because intial attempts did not yield fruit.
Anonymous
Not applicable

Re: How can I overwrite the code on an embedded Lightbox form to deploy from a clicked CTA instead of automatically on page load?

Here is a post that acomplishes the show lightbox on click behaviour

https://community.marketo.com/MarketoDiscussionDetail?id=90650000000Pr3BAAS
Anonymous
Not applicable

Re: How can I overwrite the code on an embedded Lightbox form to deploy from a clicked CTA instead of automatically on page load?

on button click call form.loadForm (function on success calling the lightbox method as normal). 

this is relitively easy..... here is a jsfiddle showing how it works - http://jsfiddle.net/L6m0f8dj/