For the complete documentation index, see llms.txt. This page is also available as Markdown.

Collapse/expand marker in Content

Availability of functionality depends on the license and may not be available in all deployments.

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

Figure 1. Appearance of the Content on the application form with the Collapse/Expand marker

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.

Demo application: demoTextContent

Last updated

Was this helpful?