SOLVED

Allow multiple country values working in Form Visibility Rules

Go to solution
Yun_Bai1
Level 4

Allow multiple country values working in Form Visibility Rules

Hi,

I try to use show a certain field on the form, when "Contains" multiple countries. However, it's not working. Just want to check in Community, if this is possible to use "Contains" multiple values?

pastedImage_1.png

Thanks,

Becky

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Allow multiple country values working in Form Visibility Rules

Absolutely. Use the pipe (|) to separate multiple values.

Make sure to use Stored Values (not, for example, the cosmetic text of a dropdown option, but the underlying value stored in Marketo).

View solution in original post

8 REPLIES 8
SanfordWhiteman
Level 10 - Community Moderator

Re: Allow multiple country values working in Form Visibility Rules

Absolutely. Use the pipe (|) to separate multiple values.

Make sure to use Stored Values (not, for example, the cosmetic text of a dropdown option, but the underlying value stored in Marketo).

Yun_Bai1
Level 4

Re: Allow multiple country values working in Form Visibility Rules

Thank you Sanford! It's working.

Best,

Becky

Dan_Stevens_
Level 10 - Champion Alumni

Re: Allow multiple country values working in Form Visibility Rules

The other way to do this is to use the "IS" constraint (not "CONTAINS") - and then you can pick as many country values from the drop-down menu:

pastedImage_0.png

Yun_Bai1
Level 4

Re: Allow multiple country values working in Form Visibility Rules

Oh, great! Haven't thought about this way. A different approach but also working very well. Thank you Dan.

Best,

Becky

Justin_King
Level 1

Re: Allow multiple country values working in Form Visibility Rules

Dan, I had a question on this.

I'm aware of the visibility rules by country picklist.  Currently we are/have updated our forms to include some GDPR Fields, so we're having to go through and update every one of our forms and adjust visibility rules on each form by going down the list and picking 28 countries.

My question is is there a way to have these "28 countries" be a value, so that we don't have to click each of the 28 countries individually on each form?  I've tried to create a segment, but you can't toggle visibility rules by segment, can you?

Any other ideas?

Thanks in advance!

Justin

SanfordWhiteman
Level 10 - Community Moderator

Re: Allow multiple country values working in Form Visibility Rules

My question is is there a way to have these "28 countries" be a value, so that we don't have to click each of the 28 countries individually on each form?

Well, it's really only one string value when you use [Contains], pipe-delimited as I mentioned above, not 28 values.

This can't be a token AFAIK.

Justin_King
Level 1

Re: Allow multiple country values working in Form Visibility Rules

Fantastic, thanks Sanford!

I saw how when you choose "contains" it makes the field not a list anymore that you have to choose the countries for.  I was NOT aware that you could still use the pipe-delimited input in that field.

So to be clear, I can enter "AUSTRALIA | ARGENTINA | BRAZIL..." in the "contains" field?  If so, then you're correct, I can just copy and paste that text string, which would be MUCH easier than choosing the 28 countries individually!

Thanks Sanford!

Justin

SanfordWhiteman
Level 10 - Community Moderator

Re: Allow multiple country values working in Form Visibility Rules