--- title: "Formatting Substitution - Lasernet 9 Form Editor Training" slug: "formatting-substitution" description: "In this exercise, you can learn how to add a formatting substitution element, specify its settings and define the required criteria for it." tags: ["Formatting ", "Lasernet Developer"] updated: 2026-03-06T07:58:34Z published: 2026-03-06T07:58:34Z canonical: "kb.lasernetgroup.com/formatting-substitution" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # Formatting Substitution **Applies to:** Lasernet 9 The **Formatting substitution** tool allows you to visually differentiate text within the same rearrange based on definite criteria and using the preferable settings. Changing your document layout in such a way can help you to arranged information in the most logical, easy-to-grasp order. In this exercise, you can learn how to add a formatting substitution element, specify its settings, and define the required criteria for it. The given example illustrates four different regions. Each region, in turn, is presented by divisions that are all part of the same company. Every division is considered to make a profit per a definite period. So, you are proposed to add and apply formatting substitution elements in such a way that you can see and compare profits of different divisions, what division profits meet/do not meet/exceed expectations, etc > [!NOTE] > Note > > This article describes a software version that is no longer supported. Although the software will no longer receive updates or technical support, existing documentation, such as this article, will be retained for reference purposes but will no longer be updated. If you have any questions, contact [Lasernet Support](https://support.lasernetgroup.com/new-ticket). ## Exercise Download and import the attached configuration called **37. Formatting Substitution** **in Lasernet Developer 9.** Afterward, navigate to the **Forms** section and open the **Sample** form. Follow these steps to add and then set formatting substitution elements. 1. Start by opening the **Profits** rearrange for editing. 2. Ensure the **Edit Rearrange** dialog opens on the **Fonts** tab. 3. Under the **Formatting substitution** section, click the **Add** button. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180908CLRMIVQSLTTJUVX0-image.png) 1. In the **Edit Font Formatting Substitution** dialog on the **General** tab, define a name for the formatting substitution and specify the settings, as shown in the following image. Ensure that, for the **Bold** setting, both the checkbox is selected and the **Bold** button is clicked. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180915JRBFWVMHLREJABM0-image.png) 1. In the **Edit Font Formatting Substitution** dialog, switch to the **Criteria** tab. 2. On the **Criteria** tab, click the **Add Object** button. 3. In the **Object Criterion** dialog displayed, type the name of the object whose value is to be checked for matching, and specify values for the **Operator** and **Match** fields, as shown in the following image. Once you are done, click **OK** on both dialogs to save the changes you have made. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180917FVOPXHPZGWKFCAP0-image.png) 1. Add one more formatting substitution element by copying the one you have just added. To this end, under the **Formatting substitution** section, right-click the existing element record and then click **Copy** in the context menu that appears. Afterward, click anywhere in the **Formatting substitution** section, and then click **Paste** in the context menu that appears. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180920BBEFGBBFKHPBHLA0-image.png) 1. Once you are done, open the record you have just copied for editing. To this end, select the record in the list and then click the **Edit** button, right-click the record, and then click **Edit** in the context menu that appears, or double-click the record. 2. In the **Edit Font Formatting Substitution** dialog displayed, first, edit the **General** settings as it is shown in the following image. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180922BGHEBFRDKBRMWHX0-image.png) 1. Afterwards, switch to the **Criteria** tab and edit the object by specifying values as it is shown in the picture below. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180926QDUZUNWUBBPVWDV0-image(1).png) 1. Once you are done, click **OK** on all dialogs to save the changes you have made, and then run JavaScript (**SHIFT+F5** or click **Run JavaScript** on the **View** menu) to see the result. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180930QPRJYOCIYMBFKZL0-image.png) Now, you can add a formatting substitution element, but this time, for the standalone absolute rearrange presenting the total of division profits for each region. 1. Select the **Profits** rearrange for which you have just added formatting substitution elements, and then on the toolbar, click **Format Painter**. You have just copied the **Fonts** settings of the **Profits** rearrange. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/download.png) 1. Click the **Profits Total** rearrange to apply the **Fonts** settings of the **Profits** rearrange. Then, open the **Profits Total** rearrange for editing, and ensure the **Edit Rearrange** dialog opens on the **Fonts** tab. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/download (1).png) 1. Open each record of the **Formatting substitution** section for editing. 2. In the **Edit Font Formatting Substitution** dialog displayed, keep the **General** settings and do not change them. On the **Criteria** tab, edit the object by specifying values as shown in the following images: a) High ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180942JJKHTYECNLIVMSC0-image.png) b) Low ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4180943RIMEBHSRBJCHTBW0-image.png) 1. Once you are done, run JavaScript (**SHIFT+F5** or click **Run JavaScript** on the **View** menu) to see the final result. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/download (2).png) ## Attachments - [37.-Formatting-Substitution.lnconfigx](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/37.-Formatting-Substitution.lnconfigx)