Preview or collapse/show text box in form | Community
Skip to main content
Level 3
June 10, 2016
Question

Preview or collapse/show text box in form

  • June 10, 2016
  • 2 replies
  • 1953 views

Hello Community.

Is there any way I can make a form text box collapse and show on click ?

I would like to give a preview of our disclaimer text but not show the entire text as  it is quite lengthy. The text currently lives within a richt text box above the submit button.

BR,

Moritz

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

2 replies

Grégoire_Miche2
Level 10
June 10, 2016

Hi Moritz,

This is typically something you can set with some CSS 3.0

-Greg

SanfordWhiteman
Level 10
June 13, 2016

Follow this lead: MktoForms2 :: Expand Text

Kim_Gandy1
Level 6
June 2, 2017

Could I edit this code to make a form collapsible. We have a lengthy preference center and would like to nest newsletter opt in/outs by topic.

SanfordWhiteman
Level 10
June 2, 2017

Yes, as in this demo from another thread the other day: https://codepen.io/figureone/pen/vmQNvQ