Preview or collapse/show text box in form

Preview or collapse/show text box in form

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

4 REPLIES 4

Re: Preview or collapse/show text box in form

Hi Moritz,

This is typically something you can set with some CSS 3.0

-Greg

Level 10 - Community Moderator

Re: Preview or collapse/show text box in form

Follow this lead: MktoForms2 :: Expand Text

Level 5

Re: Preview or collapse/show text box in form

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.

Level 10 - Community Moderator

Re: Preview or collapse/show text box in form

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