Display Opt in field based on two different fields | Community
Skip to main content
Emilia_Chionce1
Level 2
December 17, 2018
Question

Display Opt in field based on two different fields

  • December 17, 2018
  • 1 reply
  • 6616 views

Hi Community,

We would like to display the opt in message on the live forms on the website based on Business + Country.

See below for example:

- IF form field "Business" has the value "Business A", show personalized Opt In field for Business A

- IF form field "Business" has the value "Business B", show personalized Opt In field for Business B

- IF form field "Country" has the value "Canada", show CASL message

- IF Form field "Country does not have the value "Canada", show personalized Opt in field for Business A or for Business B, based on the field industry.

Please note that:

- we can't do the last one above with visibility rules

- the Opt In fields are 2, one for Business A and another for Business B

- the CASL is not a field, but a rich text.

Do any of you guys see a solution to this?

Thank you,

Emilia

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

1 reply

Gerard_Donnell4
Level 9
December 17, 2018

Hi,

Can you break down the last point again, I am a bit confused.

- IF Form field "Country does not have the value "Canada", show personalized Opt in field for Business A or for Business B, based on the field industry.

what do you mean by

or for Business B, based on the field industry.

?

Emilia_Chioncel
Level 2
December 17, 2018

Hi Gerard,

Thanks for looking into this.

I meant to say

- IF Form field "Country" does not have the value "Canada", show personalized Opt in field for Business A or for Business B, based on the "Business" field value.

Thank you,

Emilia

SanfordWhiteman
Level 10
December 18, 2018

Well, I created a demo and just wrote a very lengthy explanation, but Jive threw an error when I saved it and now it's gone. I'm a little too ticked off right now to rewrite it, but here's the demo:

     MktoForms2 :: VR Cascade

The key is a set a of Visibility Rules (managed in Form Editor) combined with some Forms JS glue to create a VR "cascade" where only the last matching element, from top to bottom is shown. In any case I'll add more tomorrow.