Set Up Rich Text Formatting and AI Text Transformation on Text Areas

As a form designer, you turn on Rich Text formattingClosed Rich Text formatting makes a Text Area question support rich text. Mobile users see a formatting toolbar on device, and the question renders markdown content as styled text. Available on Text Area questions and on Additional Comments that use a Text Area. and AI Text TransformationClosed AI Text Transformation uses AI prompts to refine a mobile user's text in a Text Area question. Mobile users select a prompt, review the AI output, and approve the result before it's saved with the form submission. AI Text Transformation appears as AI Enhancement in the Form Builder. On the mobile app, it appears as a sparkle icon on the formatting toolbar. for individual questions in the Form BuilderClosed The Form Builder is the tool that form designers use to create forms. In the Form Builder, accessed from the TrueContext Web Portal, form designers can add and edit pages, sections, and questions, as well as attach data destinations and configure the form's settings.. Rich Text formatting makes a Text Area question (or Additional Comments that use a Text Area) support rich text. The formatting toolbar appears on device, and the question renders any markdown content as styled text. AI Text Transformation adds AI-assisted refinement to a Text Area question. Each capability is turned on per question, so a question can have one, both, or neither.

Warning:Before you turn on Rich Text formatting, plan how the answer needs to appear in each output your form uses. Data DestinationsClosed A Data Destination specifies where to send data from a submitted form. You can use Data Destinations to automate data sharing and storage, routing data to a specific service (such as email or cloud storage) in several different formats. and DRELClosed Data Reference Expression Language (DREL) is used to get form data and metadata and add it to a string, such as dates, usernames, or answers to questions in forms.-based document templates send HTML by default. CSV exports, the REST APIClosed The TrueContext REST API enables developers to update and manage data communicated between TrueContext and their external, third-party systems. Admins can call our API endpoints after they set up an API application and API Key., email notifications, and other outputs send raw markdown characters. Confirm that downstream systems can handle the format they receive. Rich text answers are stored as markdown, so answers captured while Rich Text formatting is on stay as markdown even if you turn the feature off later. For the full breakdown, go to Where Rich Text formatting renders.

Available on all tiers with more options on the Elite tier:

Digital
Intelligent
Elite
?

Contents

Video demo

Prerequisites

Turn on Rich Text formatting for a Text Area question

Turning on Rich Text formatting makes the question support rich text. Mobile users see a formatting toolbar on device, and any markdown content in the question renders as styled text. Formatted content appears the same way in the Web Portal Form Submission details page and in generated PDF documents.

  1. In the Form Builder, create or edit a Text Area question.

  2. Open the Properties tab.

  3. Switch on Rich Text.

    The Properties tab of a Text Area question in the Form Builder, with the Rich Text toggle switched on. A callout reads 'Switch on Rich Text formatting'.

  4. Select Save.

    Result: The question shows a Rich Text indicator so you can identify rich text-enabled questions without opening the question's properties.

    A question row in the Form Builder Pages and Questions list, with a purple RT badge in the upper right. A callout reads 'This question has Rich Text switched on'.

Note:Rich Text formatting is off by default on every Text Area question, including questions that already exist. Existing plain text submissions stay as plain text. Rich Text formatting applies only to submissions made after you turn it on.

Turn on AI Text Transformation for a Text Area question

Available on the Elite tier:

Digital
Intelligent
Elite
?

When you turn on AI Text Transformation for a Text Area question, a sparkle icon appears in the formatting toolbar on device. Mobile users select the icon to open a menu of prompts you've selected for the question. At least one prompt must exist in the same FormSpace as the form. To create a prompt, go to Create and Manage Prompts to Use in Forms.

Note:
  • AI Text Transformation applies to Text Area questions only. Additional Comments don't support AI Text Transformation.

  • If Rich Text formatting isn't turned on for the question, the question can't render markdown. Write prompts that return plain text. Otherwise, mobile users see raw markdown syntax (for example, **bold**) in the answer. For more details, go to How Rich Text formatting and AI Text Transformation work together in the overview topic.

  1. In the Form Builder, create or edit a Text Area question.

  2. Open the Properties tab.

  3. Switch on AI Enhancement.

    Result: The Prompt and Display Name fields appear below the toggle.

    The AI Enhancement section of a Text Area question's Properties tab in the Form Builder. The toggle is switched on, two prompts are attached with Display Names, a third empty row appears below, and a MANAGE PROMPTS button sits at the bottom. Callouts label the toggle, the prompt dropdown, the Display Name field, and the MANAGE PROMPTS button.

  4. From the Prompt dropdown, select a prompt.

    Result: The Display Name field pre-fills with the prompt's default Display Name.

  5. (Optional) Edit the Display Name. The label you set here applies to the form. Editing the prompt's default Display Name later doesn't change the label on this form.

  6. Repeat the previous two steps to add more prompts. A Text Area question supports up to five prompts.

    Tip:Select manage prompts at the bottom of the section to open the Prompts page in a new tab. On that page, you can edit the prompts or create new ones.

  7. To change the order of the prompts, drag the handle on the left of a prompt to a new position. Prompts appear on the device in the order shown here.

  8. To remove a prompt, select the X next to the prompt.

  9. Select Save.

    Result: The question shows a Rich Text indicator so you can identify rich text-enabled questions without opening the question's properties.

    A question row in the Form Builder Pages and Questions list, with a teal sparkle badge in the upper right. A callout reads 'This question has AI Enhancement switched on'.

Turn on Rich Text formatting for Additional Comments

Additional Comments that use a Text Area gain the same formatting toolbar and editing experience as Text Area questions when you turn on Rich Text formatting. Additional Comments that use a text field don't support Rich Text formatting.

  1. In the Form Builder, select the question with Additional Comments.

  2. Open the Properties tab.

  3. Switch on Rich Text.

    Note:The Rich Text section appears only when Additional Comments are enabled and set to use a Text Area. If you don't see the section, enable Additional Comments and change the type to Text Area.

    The Properties tab of a Button Group question in the Form Builder, with Additional Comments configured to use a Text Area and a Rich Text toggle switched on below it. Callouts highlight the Additional Comments toggle, the Text Area button, and the Rich Text toggle.

  4. Select Save.

    Result: The question shows a Rich Text indicator so you can identify rich text-enabled questions without opening the question's properties.

Related topics