Form Visibility Rules | Community
Skip to main content
July 5, 2016
Question

Form Visibility Rules

  • July 5, 2016
  • 2 replies
  • 10192 views

Hello folks,

I'm adding an opt-in field to a form, but I only want it to be visible to people in a specific country.

I know I can include the country field and set up a visibility rule for the opt-in field accordingly (e.g. if country is Canada then show opt-in field)

However, the form is not going to have a country field. How else can I set up a visibility rule for the opt-in field?

Can I use inferred country as a hidden field? For example, "Show if Inferred Country is Canada." Would Marketo fill in the Inferred Country value itself?

Thank you in advance.

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

2 replies

Devraj_Grewal
Level 10
July 5, 2016

Hello Danish,

What you can do is pull the "country" field into the form and just have "form pre-fill" enabled. This way when you edit the visibility for the opt-in field, every lead's country value will be an option.

July 5, 2016

Hi Devraj,

I'm not sure I follow. I'm trying to gauge the ability to have a visibility rule for an opt-in field based on Country without actually having the Country field in the form.

Is that possible in any way or by using the inferred country field?

Devraj_Grewal
Level 10
July 5, 2016

Danish,

I do not believe it is possible to have the visibility for the opt-in field dependent on the country value since the form cannot see the form submitter's country value. So I was just suggesting a work-around of having the country field visible on the form as pre-filled so the visibility for the opt-in field has something to reference.

Josh_Hill13
Level 10
July 5, 2016

I highly recommend you add the Country field and then use visibility rules or javascript to display the correct field and language for the country.

SanfordWhiteman
Level 10
July 5, 2016

Totally agree with Josh.  You cannot legally rely on any inferred data, as it's known to be unreliable.  "I didn't know you were in Canada" is not an excuse.

Level 6
August 4, 2017

Yes, I agree the inferred location cannot be relied upon. It is set only once (never updated after the first visit) and is often inaccurate (due to VPNs and whatnot). When I reached out to Marketo support they recommended not using it to determine location of individuals, but rather get a ballpark snapshot of where visitors as a whole are coming from.