Re: Lightbox form AND embedded form on a landing page

Sarah_Way1
Level 2

Lightbox form AND embedded form on a landing page

Is it possible to have the same form embedded on the page and in a lightbox pop-up? This way, the form will pop-up initially, but, if the user doesn't want to fill it out initially, they can still easily fill it out on the page itself. We don't want to have a button that would make it pop-up again, as we don't want them to have an additional click.

Tags (3)
5 REPLIES 5
Frank_Breen2
Level 10

Re: Lightbox form AND embedded form on a landing page

The easiest way to achieve this is with 2 forms, you can't easily add the same form twice on a page, then in your program just the 2 forms to the smart list in your smart campaign. See an example here: The TIBCO Blog, I have the pop-up for the new users, but it's also at the bottom of each page.

SanfordWhiteman
Level 10 - Community Moderator

Re: Lightbox form AND embedded form on a landing page

If the idea is that the form is only in one place at a time -- first in the lightbox, then in the document if they close it without filling it out -- you don't need to add the form 2x.  All you need to do is make sure the same form is relocated from the lightbox to the doc.

MktoForms2 :: Return Lightbox to Page demonstrates the approach. There's only one form rendered.  We override hide, so where the modal usually hides itself + the form is removed completely from the DOM, instead the modal only hides itself after the form has been moved back inside its original parent element.

SanfordWhiteman
Level 10 - Community Moderator

Re: Lightbox form AND embedded form on a landing page

Sarah, did my answer not fulfill your requirements as given?

Sarah_Way1
Level 2

Re: Lightbox form AND embedded form on a landing page

We actually decided to use 2 forms so we can track the effectiveness of the lightbox vs. the form embedded on the page.

SanfordWhiteman
Level 10 - Community Moderator

Re: Lightbox form AND embedded form on a landing page

OK. But I think Correct Answer should mark the correct answer to the requirements for future searches. Otherwise, people will think this isn't possible when it certainly is.