Re: Personalize Form Options

Steve_Carlton
Level 2

Personalize Form Options

Hey everyone,

I am currently adding a subscription management form using a landing page and we would like to only display some list selections if the person is a customer (for instance, system status alerts and partner communications). An example of the form is below, would love some opinions on how to tackle it.

I've tried using Visibility Rules but cannot filter on any helpful fields since they are system managed.

We do have RTP, so one option I suppose is to redirect the lead or customer to a different landing page at load. But is there a way to replace/update the form on the same page using RTP?

Any other ideas?

Thanks in advance!

Screen Shot 2017-06-07 at 11.47.18 AM.png

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Personalize Form Options

You can utilize any field that can be inserted into an LP as a {{lead.token}}. (Doesn't have to be inserted into the form itself.) Use that field to update a dummy field on the form using the Forms API. Then set your Vis Rules based on the dummy field.

Steve_Carlton
Level 2

Re: Personalize Form Options

Thanks Sanford. Can you please elaborate on one thing?

Since I am using a Marketo landing page I am assuming to use the Forms API I will need to add it as an HTML element (rather than a Form element) and then would I use .addHiddenFields(values) in the API to add the field and set the value?

SanfordWhiteman
Level 10 - Community Moderator

Re: Personalize Form Options

You can still use a named Form element.

MktoForms2.whenReady works on a Marketo LP. Put it before the closing </body> to make sure the Forms lib is loaded first.