> **Source:** https://knowledge.leegality.com/document-execution/template/pdf-editor/fields > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # Field Properties and Options The PDF Template Engine allows you to add dynamic fields on the PDF templates. Each field has properties that determine its appearance and behaviour. This article outlines the properties of each field type to help you configure your templates efficiently. ## Types of Fields - Textbox - Dropdown - Radio Button - Checkbox - Date Field - Image Attachment ### Common Properties Several basic properties are shared across multiple field types: - **Label:** The text that appears as the label for the field. - **Mandatory Field:** Indicates whether the field is mandatorily required either by the sender or an invitee (to be filled in the signing/review journey). - **Invisible Border:** Specifies whether the field border should be invisible. - **Location on the PDF (in px):** Determines the exact position of the field on the PDF document. - **Px from left:** Distance in pixels from the left side of the page. - **Px from top:** Distance in pixels from the top of the page. ### Field-specific Properties #### Textbox - **Allow only Numbers:** Specifies whether the textbox should only accept numeric input. - **Character Limit:** Defines the maximum and/or minimum number of characters that can be entered. - **Boxed Field:** Specifies if the text box should display a separate box for each character, similar to physical forms. - **Text Formatting:** Font Size, Family, and Style (e.g., bold, italic). #### Dropdown - **Dropdown Values:** List of options available in the dropdown. - **Default Value:** The value that is selected by default. #### Radio Button - **Value (single-selection):** List of available options. #### Checkbox - **Value (multi-selection):** List of available options. #### Date - **Date format:** The format in which the date should be displayed. #### Image - **Max upload size:** The maximum size of the image to be uploaded. (Note: Maximum size cannot exceed 200KB) - **Width (Px):** Width of the image frame in px - **Height (Px):** Height of the image frame in px ## Copy Field Copy Field allows users to reuse the field they have already created. By copying a field all the properties of the original field will also be copied. > **Info — Note** > > Unlike Duplicate Fields, these are not interconnected and need to be filled individually every time. ### To Copy a Field 1. Go to **List of Fields** in the right panel. 2. Click on the Copy icon ![Copy Field](https://knowledge.leegality.com/img/copy.png) and select **Copy**. 3. The Duplicate Field will be attached to the cursor tip, click on the desired place in the document to drop it. ## Duplicate Field Duplicate Fields allow users to enter information once, and then automatically replicate that input across multiple instances of a specific field that requires the same information. > **Info — Example** > > For instance, if a user needs to input their address multiple times in a bank account creation form, Duplicate Fields enable them to enter the address once, and the system will automatically populate the same address in all linked or duplicated address fields. ### To Duplicate a Field 1. Go to **List of Fields** in the right panel. 2. Click on the Copy icon and select **Duplicate**. 3. The Duplicate Field will be attached to the cursor tip, click on the desired place in the document to drop it. > **Info — note** > > Duplicate fields only work with Textbox and Date fields as of now. ## Cut Field To Cut a Field: 1. Go to **List of Fields** in the right panel. 2. Click on the Copy icon ![Copy Field](https://knowledge.leegality.com/img/copy.png) and select **Cut**. 3. The field will be attached to the cursor tip, click on the desired place in the document to drop it. ## Delete a Field To delete a field, 1. Find the field you want to delete. You can find the field directly in the PDF or from the **List of Fields** on the right. 2. Click on the field and then in the right panel, click on the **Delete** icon ![Delete Field](https://knowledge.leegality.com/img/delete.png). > **Info — Note** > > Deleting a field is an irreversible action. ## Download Form Fields The Download Form Fields option provides a JSON of the fields used in a template. You can use this JSON to pass field values in a POST API call. ### To Download Form Fields 1. Click on **Tools** on the top menu and select **Templates** on the left. 2. Find the template whose fields you want to download by searching the template name or template ID. 3. Click on the **three dots (⋮)** on the right and select the **Download Form Fields**. This will download a JSON file containing all template fields, which you can use to make an eSign request. To create an eSign request: 1. Make a POST request to: `https://sandbox.leegality.com/api/v2.1/sign/request` 2. Include the fields JSON in the request body under file > fields.