> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/forms/form-elements/sharinpix-form-sections-and-repeated-sections-1.md).

# Form Features - Rich Text Area

## Overview

The **Rich Text Area** element lets users enter longer text with text formatting options inside a SharinPix Form. It can be used for formatted notes, comments, instructions, descriptions, reports, or any field where plain text is not enough.

The Rich Text Area can be added to a form in the [SharinPix Form Template Editor](/forms/form-elements/sharinpix-form-template-editor.md).

This article covers:

* [Element preview](#element-preview)
* [Rich Text Area toolbar options](#toolbar-options)

## Element preview

The image below shows the Rich Text Area element in the [SharinPix Form Template Editor](/forms/form-elements/sharinpix-form-template-editor.md).

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FneOW5PsfvN3nTmYVXxPV%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-28T175541.402.png?alt=media&amp;token=b32e26f4-2174-442b-baab-b6ecf567c067" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:**

The submitted value for this element is stored in the `RichTextArea__c` field on the `FormAnswer__c` object. This field supports up to `131,072` characters. Values that exceed this limit are not stored. In this case, the error is surfaced in the `FormResponse__c` 's `ErrorMessages__c` field.
{% endhint %}

{% hint style="success" %}
**Tip:**

You can also map this value to a custom Salesforce field. Follow [this documentation](/forms/salesforce-integration/form-features-sync-form-values-to-salesforce.md) to sync form values to Salesforce.

To preserve formatting, map the value to a compatible rich text field.
{% endhint %}

### Toolbar Options

The toolbar appears at the top of the Rich Text Area and provides formatting options for the text entered by the user.

| Tool                         | Description                                                         |
| ---------------------------- | ------------------------------------------------------------------- |
| Font Size                    | Changes the size of the selected text.                              |
| Text Color                   | Changes the color of the selected text.                             |
| Background / Highlight Color | Applies a background or highlight color to the selected text.       |
| Bold                         | Makes the selected text bold.                                       |
| Italic                       | Makes the selected text italic.                                     |
| Underline                    | Underlines the selected text.                                       |
| Align Left                   | Aligns the selected text or paragraph to the left.                  |
| Align Center                 | Centers the selected text or paragraph.                             |
| Align Right                  | Aligns the selected text or paragraph to the right.                 |
| Numbered List                | Creates an ordered list with numbers.                               |
| Bulleted List                | Creates an unordered list with bullet points.                       |
| Merge Field                  | Inserts dynamic values from form fields into the Rich Text content. |
| Image Grid                   | Inserts an image grid from a selected form field.                   |

### Merge Field Tool

The **Merge Field** tool allows you to insert dynamic values from your form into Rich Text content. When the form is submitted and processed, each merge field is replaced with the corresponding value from the selected form field.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FagqkeLs0IHoXqDyssy0K%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T105206.982.png?alt=media&amp;token=0f43e607-87c3-4da2-b2fc-b63a53ad63e6" alt=""><figcaption></figcaption></figure>

#### Demo: Inserting a merge field

1. Click the **Merge Field** button in the Rich Text toolbar.
2. Select the desired **Form Field**.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2Fp6OdxC5XIncvDyo7g7cH%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T111544.108.png?alt=media&amp;token=75400348-33c6-4302-b7d7-d31defb139ec" alt=""><figcaption></figcaption></figure>

3. Select the **Attribute** you want to display.
4. Click **Add**.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FdnVPNWW8PtYFDhJqx9Kt%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T111611.432.png?alt=media&amp;token=4ca7916e-79ef-4503-a46c-e6ab35f40dc9" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Tip:

The available Fields and Attributes are based on the form elements in your form. Different field types expose different attributes (for example, value, label, or other field-specific properties).

For more information about supported form fields and their available attributes, see the [Form Fields & Attributes](/forms/form-elements/sharinpix-form-formula-fields-and-attributes.md) documentation.
{% endhint %}

A merge field is inserted into the Rich Text editor using the syntax shown in the picture below.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FFzXEvRWlWXHVk2VQOJCq%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T111938.194.png?alt=media&amp;token=a42d7250-23a4-4c39-b708-9f51615560a4" alt=""><figcaption></figcaption></figure>

The image below shows the rendered output when "Passed" is selected on the **Status** radio question.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FeoJlmepwxPh44myNcanQ%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T112033.013.png?alt=media&amp;token=ccb259e1-53db-406e-a1ab-d4acf0f4974e" alt=""><figcaption></figcaption></figure>

### Image Grid Tool

The **Image Grid** tool allows you to display images from a form field in Rich Text content. It inserts a merge field that renders as an image grid when the form is submitted and processed.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2F7FxB4B0Fv26pe9TJPEXM%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T112440.721.png?alt=media&amp;token=d7b6f19a-7062-41db-9137-72ef5d29b20a" alt=""><figcaption></figcaption></figure>

The grid's columns and image sizing can be configured after selecting a form field as shown below.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FZc6badADMd0SNfqEUFmd%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T120514.635.png?alt=media&amp;token=baaee7c1-34ae-4924-9483-1cbc32ffda09" alt=""><figcaption></figcaption></figure>

The configuration options are:

1. **Number of columns** — Sets the number of images displayed in each row.
2. **Display in full width** — Expands the grid to use the available content width.
3. **Image size in px** — Sets each image's size in pixels. This option is available when **Display in full width** is not enabled.

#### Demo: Inserting an image grid

1. Click the **Image Grid** button in the Rich Text toolbar.
2. Select the form field whose images you want to display in the grid, then click **Configure**.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FOIveDV1Gsf07lHr9Vw6I%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T120847.699.png?alt=media&amp;token=9a9219b8-84a3-4103-b774-f358f73a86de" alt=""><figcaption></figcaption></figure>

3. Set the desired grid layout and click **Save** to insert the image grid field.

The example below uses two full-width columns.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FxWNEJVyL48ZW0VrnQD2w%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T120928.082.png?alt=media&amp;token=f7e0db3c-c257-489c-9db1-f587c3505a7a" alt=""><figcaption></figcaption></figure>

An image grid field is inserted into the Rich Text editor using the syntax shown in the picture below.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FykxrSGnmPBti2rHvlNld%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T121027.583.png?alt=media&amp;token=3539253e-c93b-4aa4-b203-3d38d798ae81" alt=""><figcaption></figcaption></figure>

The rendered grid can be viewed by switching to the preview tab as show below.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FajmAE6ePvmlkLyrAaeP4%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T121058.524.png?alt=media&amp;token=36880858-11c3-4151-9757-f081ad44d475" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Tip: The Title and Description added to each photo captured can also be rendered in the Image Grid.
{% endhint %}

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FeQAIvglpJmM9dKAolup3%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T121448.561.png?alt=media&amp;token=9a0a1c33-71aa-461e-850f-072039bd936a" alt=""><figcaption></figcaption></figure>

The example below shows an alternative grid layout that uses three columns with images sized at 100 pixels.

<figure><img src="https://2647402409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRD1Xcn9HtKcyfQ9Ghyk%2Fuploads%2FRwBKkz0Sl9pykpiS4FIa%2FDOC%20SF%20-%201920%20x%201080%20-%202026-08-31T121605.421.png?alt=media&amp;token=f4c49fc4-067d-44a3-9b21-703fcb507c26" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sharinpix.com/forms/form-elements/sharinpix-form-sections-and-repeated-sections-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
