-
Re: Displaying a Form Field Based on Person Attributes
Grégoire Michel May 17, 2018 1:07 PM (in response to Troy Larson)1 of 1 people found this helpfulHi Troy,
You could create a "GDPR status" field that is computed from your complex rules (smart campaigns with choices using smart lists as tests). Then add this field as a hidden field in all your forms and use is as the driver for the visibility rules.
-Greg
-
Re: Displaying a Form Field Based on Person Attributes
Sanford Whiteman May 17, 2018 1:20 PM (in response to Troy Larson)1 of 1 people found this helpfulQuite possible, but as you note, the Visibility Rules in the Form Editor won't cut it because they don't allow for multiple conditions.
Instead we use VRs based on a hidden field, but the hidden field value itself is set using JavaScript, so it can use any logic to decide the final outcome.
Or you can build the whole thing using only JS and CSS, no formal VRs at all.
-
Re: Displaying a Form Field Based on Person Attributes
Jay Jiang May 17, 2018 5:49 PM (in response to Troy Larson)If you're using Marketo landing pages you can use a combination of dynamic content and different forms.
Personally, I'd opt to modify the form using JS since you'd probably be using a web service to get the country of a new IP address hitting your site anyway.