SOLVED

Re: Visibility Rules with Multiple Values within Criteria

Go to solution
Jace_Garside1
Level 2

Visibility Rules with Multiple Values within Criteria

Scenario: we are wanting to have rich text appear on a form when certain generic domains are entered into the email address field.  The thinking is that it would discourage personal emails from being submitted without denying the submission altogether.  I am attempting to use the concept of visibility rules as outlined on this blog: https://nation.marketo.com/t5/Product-Blogs/In-Visibility-Rules-Contains-means-a-regular-expression-...

 

Here's a screenshot of how the visibility rules are set up:

Jace_Garside1_1-1618616868750.png

 

The problem is that the form only recognizes the first listed value.  The rich text will not populate for any of the subsequent criteria.  I'm curious to know if this is even meant to work this way.  

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Visibility Rules with Multiple Values within Criteria

That functionality still works fine — not my usual way to deal with the "unwanted domains" concept but just have your VR like so:

SanfordWhiteman_0-1618618962529.png

 

Since you can't read the whole value in the screenshot:

@(yahoo\.com|gmail\.com|outlook\.com)$

 

Then the form switches accordingly:

SanfordWhiteman_1-1618619050556.png

SanfordWhiteman_2-1618619064888.png

SanfordWhiteman_3-1618619085644.png

 

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Visibility Rules with Multiple Values within Criteria

That functionality still works fine — not my usual way to deal with the "unwanted domains" concept but just have your VR like so:

SanfordWhiteman_0-1618618962529.png

 

Since you can't read the whole value in the screenshot:

@(yahoo\.com|gmail\.com|outlook\.com)$

 

Then the form switches accordingly:

SanfordWhiteman_1-1618619050556.png

SanfordWhiteman_2-1618619064888.png

SanfordWhiteman_3-1618619085644.png

 

Jace_Garside1
Level 2

Re: Visibility Rules with Multiple Values within Criteria

Thanks @SanfordWhiteman! That seems to be working.  In the VR, I had added 'yahoo.co' to account for yahoo.com and yahoo.co.uk domains - but that didn't work, so each regional email domain had to be listed out individually.  Thanks again for your help!