--- title: "TXT (Add New Form with Criteria) - Lasernet From Editor 9" slug: "txt-add-new-form-with-criteria-lasernet-training" description: "In this exercise, you can learn how to add a new TXT form. You are also proposed to set up a criterion to recognize the form. " tags: ["Criteria", "Form Editor", "Lasernet 9 ", "TXT "] updated: 2026-03-06T07:42:03Z published: 2026-03-06T07:42:03Z canonical: "kb.lasernetgroup.com/txt-add-new-form-with-criteria-lasernet-training" --- > ## 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. # TXT (Add New Form with Criteria) **Applies to:** Lasernet 9 In this exercise, you can learn how to add a new TXT form. You are also proposed to set up a criterion to recognize the form. The form criterion is used by the Form Engine to look for the key data in specific locations in the input data and recognize a form in the form list. > [!NOTE] > Note > > If no criteria are specified for a form, such a form is not processed. > [!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 **03. TXT (Add New Form with Criteria) in** **Lasernet Developer 9**. Afterward, follow these steps: 1. On the **Tools** panel, click **Forms** to open a form area. 2. Click the **Add** button on the top toolbar. Otherwise, you can drag the **Form** item to the form area. As one more alternative, you can right-click in the form area and then click **Add** in the context menu that appears. 3. Enter the name of the new form (**Sample**) in the **Name** field. 4. Select **TXT** as an input format. 5. Select **EMF** as an output format. 6. Once you are done, click **Ok** to confirm changes. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257571038.png) 1. Open the **Sample** form you have just added for editing. To this end, select it, and then click the **Edit** button on the toolbar. Otherwise, you can right-click the form and then select **Edit** on the context menu that appears, or just double-click the form. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257570283.png) Before you can set up a new form, you must open a grab file, which shows in the input window of **Lasernet Form Editor**. A grab file contains the output data as delivered from the application for which you want to create a report. 1. On the **Form** menu, click **Select Grab File(s)**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257569244.png) 1. In the **Select Grab File(s)** dialog that opens select the **Copy of Sample** folder, then select the **Sample** file, and then click **Open**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257571362.png) 1. On the Developer toolbar, click **Criterion**, and then click **Form Criterion**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257569499.png) 1. Move the cursor to the **30000** item in the input and select it. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257569977.png) 1. Once you release a mouse button, the **Form Criterion** dialog opens. Accept the settings for the selected item by clicking **Ok** twice. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257568572.png) As a result, the input view shows an object highlighted in dark grey, illustrating that the form contains a criterion for recognizing the XML data. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/1628257568940.png) ## Attachments - [03.-TXT-Add-New-Form-with-Criteria.lnconfigx](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/03.-TXT-Add-New-Form-with-Criteria.lnconfigx)