Collapse/expand marker in Content
Below is an example appearance on the application form using the collapse/expand marker in the Content:

When creating the Content, you should prepare an artifact of type HTML. Example code:
The expand/collapse control is handled by the fragment:
The /more/ marker is responsible for splitting the Content into the collapsed and expanded parts — everything before /more/ is the content visible by default, and everything after /more/ is the expanded part.
Right alignment of the button depends on the styles defined inside the Content (in the example, the following style was used in the Content):
It is important that:
place the button in the visible part of the Content;
the elements have the appropriate classes: toggleWrapper, unfold, fold, toggle-icon;
the button structure is preserved.
Last updated
Was this helpful?
