Re: Disable form when visitor is known?

Kristan_Viox1
Level 1

Disable form when visitor is known?

We'd like to disable Marketo forms on certain pages after someone becomes a known visitor. Specifically for subscribe forms. Once they've subscribed, we don't want to keep asking them to subscribe.

Is this possible?

5 REPLIES 5
Floyd_Alvares2
Level 8

Re: Disable form when visitor is known?

Hi Kristan,

it is definitely possible to do this. The Marketo forms has a simple Custom HTML that can be displayed if the visitor is known: Show Custom HTML Form for Known People - Marketo Docs - Product Documentation

I believe you can also do this with custom javascript.

Hope this helps

Thanks

Floyd

Rachit_Puri2
Level 7

Re: Disable form when visitor is known?

If you want to do this on Marketo pages, you can do this directly in your form settings. You have an option to hide the form for known visitors.

Karan_Hari3
Level 9

Re: Disable form when visitor is known?

Hi Kristan Viox ,

Below is the screen shot of what Floyd and Rachit are referring to. If the Visitor is known, you can replace it with a custom HTML to show something else or maybe a direct option to download a content, depending upon your requirement.

pastedImage_0.png

Hope this helps!

Best Always,

Karan Hari

Karan Hari
Senior Product Manager - Marketo Engage
Avtar_Singh1
Level 2

Re: Disable form when visitor is known?

Hi Kristan,

For the known visitor you can write any custom HTML as shown in the following screenshot:

TEST   2 Step.png

Above is the default HTML for the known visitors. You can even write javascript in this block as follows:

<script type="text/javascript">

location.href = "ANY URL";

</script>

Best Regards,
Avtar Singn

SanfordWhiteman
Level 10 - Community Moderator

Re: Disable form when visitor is known?

Note KV HTML only works with leads that have a First Name and Last Name -- this fact is not widely understood.