My team is planning to experiment with our contact us form on our website. We are looking to dynamically update the drop-down options based on a person's account type. For example, if it's a person on our free plan we want the drop-down to talk about upgrades vs. support/talking to sales.
I originally thought I could add our custom personal account type field has a hidden value on the form, but that doesn't seem to be working and what I'm seeing online is the order of events would be a field before the drop down that gets completed beforehand. Is there any other way I could accomplish this?
Solved! Go to Solution.
Think you mean “custom field”, not “custom activity”; I edited the title of your post accordingly.
There’s no reason you can’t use a hidden field to create a Visibility Rule. (I assume that’s what you already tried, though you weren’t clear.)
But for this to work, the field needs to be pre-filled, which means they need to either:
[1] which also requires my custom pre-fill JS
Think you mean “custom field”, not “custom activity”; I edited the title of your post accordingly.
There’s no reason you can’t use a hidden field to create a Visibility Rule. (I assume that’s what you already tried, though you weren’t clear.)
But for this to work, the field needs to be pre-filled, which means they need to either:
[1] which also requires my custom pre-fill JS
We decided to execute this in vwo, but I'm still interested in learning how to accomplish this in Marketo.
When you change it to a hidden field on the form you lose the Visibility Rule functionality, so how exactly would you accomplish that? Also can you link the custom pre-fill JS...
When you change it to a hidden field on the form you lose the Visibility Rule functionality, so how exactly would you accomplish that?
A Hidden field can still trigger Visibility Rules for other fields. It can’t be the target of Visibility Rules, of course, since it’s always hidden.
Also can you link the custom pre-fill JS...
The pre-fill JS is here.