If known lead, do not show popup (lighbox) form. | Community
Skip to main content
Kat_Narvaez
New Participant
June 15, 2017
Question

If known lead, do not show popup (lighbox) form.

  • June 15, 2017
  • 1 reply
  • 3829 views

We have some popup forms that display on certain sections of our website, after a few seconds. The problem is, we only need the popups to display for new visitors, not known leads. Is there an easy way to do this in Marketo?

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

1 reply

SanfordWhiteman
New Participant
June 15, 2017

Yes:

  • Hide the #mktoForm_nnn <form> element by default (you actually should always do this when using the Marketo lightbox functions)
  • Set the form to show Custom HTML for Known Leads
  • Add an easily findable element (like <div class="knownLead" />) to the Custom HTML
  • Check if that element exists on the form before showing the lightbox and (thus unhiding the <form>)
Stephanie-Beal
New Participant
July 17, 2020

Hi Sanford - does this look to be correct? 

 

SanfordWhiteman
New Participant
July 17, 2020

That's the standard Custom HTML... what else are you looking to do with this feature?