Marketo Landing page having an image that should be linked to a form | Community
Skip to main content
Vineela_Maram
Level 3
August 10, 2015
Solved

Marketo Landing page having an image that should be linked to a form

  • August 10, 2015
  • 1 reply
  • 2146 views


Hi,

Can anyone tell me how I can make a form pop up using an image/button on the Landing page.

To be more specific, I have a landing page and I want to have a button or image which only when clicked, the form should pop up. I don't want the user to see the form as soon as he opens the landing page.

Thanks.

Best answer by Vineela_Maram

Hi Sanford,

I tried to play around with this but was unsuccessful.. In fact I am not good at JavaScript so was unsure which part to be used.

I tried using the lightbox embed code from the form but it doesnot seem to work.

I have explained the scenario below and it would be great if you could provide me with detailed steps on how to do this.

I have  a landing page and I uploaded an image to our design studio lib. I inserted that image in the landing page and I create a form which I now need to add as a pop up to that image.

lets say form id = 1234,  image link : na-ab11.marketo.com/rs/410-XOR-673/images/imagename.jpg

please provide me with the exact JavaScript or html that I need to use to make this work.

Thanks,

vineela.

1 reply

SanfordWhiteman
Level 10
August 10, 2015

Use the lightbox(form).show() method of the Forms 2.0 API: MktoForms2 :: Lightbox Basics

Vineela_Maram
Level 3
August 11, 2015

Thanks for your reply Sanford.

Can this be used in the standard Landing page template that we have in Marketo.

Could you please tell me the exact steps to add this

Thanks fro your help.

Vineela_Maram
Vineela_MaramAuthorAccepted solution
Level 3
August 25, 2015

Hi Sanford,

I tried to play around with this but was unsuccessful.. In fact I am not good at JavaScript so was unsure which part to be used.

I tried using the lightbox embed code from the form but it doesnot seem to work.

I have explained the scenario below and it would be great if you could provide me with detailed steps on how to do this.

I have  a landing page and I uploaded an image to our design studio lib. I inserted that image in the landing page and I create a form which I now need to add as a pop up to that image.

lets say form id = 1234,  image link : na-ab11.marketo.com/rs/410-XOR-673/images/imagename.jpg

please provide me with the exact JavaScript or html that I need to use to make this work.

Thanks,

vineela.