SOLVED

Proxy field setup to select picklist value And update rich text content in Marketo Form

Go to solution
Jayant_Singh
Level 3

Proxy field setup to select picklist value And update rich text content in Marketo Form

Hi @SanfordWhiteman 

 

In this community thread https://nation.marketo.com/t5/Product-Discussions/Picklist-value-to-store-in-Marketo-Form/m-p/305745... you suggested a  good piece of JS which really helped in setting up picklist value based on proxy field.

 

Now, business use case is to update the rich text content of Marketo Form along with picklist value.

i.e. In current, picklist value have either Yes or No only these two value. If proxy field setup the picklist value as Yes in that case rich text content of Marketo Form should also be change through JS and vice-versa.  is this scenario is feasible in Marketo Form? 

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Proxy field setup to select picklist value And update rich text content in Marketo Form

Sure. You'd do it the same as in any HTML context. In the Rich Text, set up a <span> or other container with a unique id, class, or data- attribute.

 

Then listen for change events on the form. Change the textContent/innerHTML of the <span> accordingly.

View solution in original post

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Proxy field setup to select picklist value And update rich text content in Marketo Form

Sure. You'd do it the same as in any HTML context. In the Rich Text, set up a <span> or other container with a unique id, class, or data- attribute.

 

Then listen for change events on the form. Change the textContent/innerHTML of the <span> accordingly.

View solution in original post