Dynamic Landing Page Sections | Community
Skip to main content
September 6, 2016
Solved

Dynamic Landing Page Sections

  • September 6, 2016
  • 1 reply
  • 1603 views

I am trying to change a section of content when a certain field is selected on a form. For example if you select New York the content block shows the New York content. If you select the LA then the content is changed to LA content. Any ideas?

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

Content blocks that are outside the bounds of the form itself (that is, not only Rich Text areas on the form)?

I would set up a Rich Text "proxy area" on the form for each of your sections.  Then listen for the onFormRender event and hide/show the outside content in accordance with the proxy visibility.  This allows you to use the native form Visibility Rules to determine the outside content visibility.

There's a temptation to add event listeners directly to form elements, but this can go wrong in certain cases.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
September 6, 2016

Content blocks that are outside the bounds of the form itself (that is, not only Rich Text areas on the form)?

I would set up a Rich Text "proxy area" on the form for each of your sections.  Then listen for the onFormRender event and hide/show the outside content in accordance with the proxy visibility.  This allows you to use the native form Visibility Rules to determine the outside content visibility.

There's a temptation to add event listeners directly to form elements, but this can go wrong in certain cases.