Word Template
This article introduces how to use Word templates.
What is the Word Template Printing Feature?
The Word Template Printing feature in Jodoo enables users to insert field codes from forms into Word documents. During printing, the system automatically populates the document with form data while maintaining the document’s original formatting. This feature is ideal for generating personalized and professional-looking printed documents efficiently.
When to Use this Feature?
1. Contract Management
After online approval of orders and contract details, users can print hard copies of contracts using Word templates. These contracts can then be signed offline, archived, or distributed for other purposes.
2. Government Reports
When preparing government reports, users can collect basic content through forms and then utilize Word templates for customized printing. This makes it easier to generate formal documents ready for stamping and submission.
3. School Management
Teachers can batch print student assignments using Word templates. This allows them to adjust formatting and layouts easily, reducing repetitive work and significantly improving efficiency.
How to Use this Feature?
Step 1 Prepare a Word Template Locally
To use the Word Template Printing feature in Jodoo, start by preparing a Word document on your local system. Open a new or existing Word document and edit the document to include the desired content, styles, and layout that fit your printing needs.
Step 2 Configure the Word Template in Jodoo
1. Navigate to the form in Jodoo where you need to set up the Word printing template. Locate the Extension option in the form’s settings menu. Click on Printing Templates >> +New Dpcument Template to proceed.
2. Insert Field Codes into the Word Template.
a. Click on Field Code Table and the table page will pop up.
b. Identify the data fields in your Jodoo form that you want to include in the document (e.g., "Name," "Price"). Copy the corresponding field code (e.g., ${Name#_widget_1729666252504},${Price#_widget_1729666252507}), and paste these codes into the appropriate locations in the document where the data should appear.
Supported Areas: You can insert the field codes into:
1. Text areas (e.g., within paragraphs, tables, or bullet points).
2. Headers and footers (e.g., page numbers, titles, or other metadata).
Step 3 Upload the Word Printing Template
After preparing and configuring your Word template with the necessary field codes, the final step is to upload it into Jodoo.
Navigate to the Printing Templates settings page in the form. In the Upload Template section, you can select or drag to upload the prepared Word template from your local system.
File Requirements
- Ensure the file size is within 10MB.
- The file must be in .docx format.
- Only one template can be uploaded per form.
Step 4 Configure Printing Template Settings
After uploading your Word printing template, you can configure additional settings to define its usage and output file name.
Click on Printing Template Settings located in the top-right corner of the Printing Templates page. You can set the available scope and the generated file name.
By setting Available Scope, you can configure where the template can be used for printing. Records in Manage Data, Permission Sets, Workflow Nodes, and Public Queries can be printed using custom templates.
By setting the Generated File Name, you can Set the file's name generated during the printing process. The length limit is 50 characters.
Step 5 Preview and Save the Word Printing Template Settings
After configuring the usage scope and file name for your Word printing template, the final step is to preview the output and save your settings.
Locate and click the Preview button in the template settings menu.
Verify that:
- The field codes are replaced with the correct data.
- The formatting and layout are displayed as intended.
- The generated file name follows your specified naming convention.
If there are discrepancies in the formatting or data mapping, return to the template configuration page to make corrections.
Supported Fields for Word Printing Templates in Jodoo
When creating a Word printing template, you can insert form fields and system fields. Below is a detailed breakdown of supported field types, their functionality, and any special instructions.
Field Type | Supported | Special Notes |
Single Line | √ | Supports text, barcodes, and QR codes. Barcodes and QR codes include a "size" parameter to adjust dimensions (in mm). Default sizes: QR Code 20×20, Barcode 30×20. Customization is allowed. |
Multi Line | √ | |
Number | √ | |
Date/Time | √ | |
Radio | √ | |
Checkbox | √ | If multiple values are selected, they are separated by commas in the print output. |
Single-Select | √ | |
Multi-Select | √ | If multiple values are selected, they are separated by commas in the print output. |
Divider | × | |
Image | √ | Includes a "size" parameter to adjust dimensions (in mm). Default size is 30×20. Four adaptive size options are provided with examples. 1. Fixed Width, Auto Height ${Image_Field#_widget_12345|size=30*auto} 2. Fixed Height, Auto Width ${Image_Field#_widget_12345|size=auto*20} 3. Auto Width and Height ${Image_Field#_widget_12345|size=30*20_auto} 4. Fixed Width and Height ${Image_Field#_widget_12345|size=30*20_fixed} Note: Images cannot be inserted into headers or footers. |
Attachments | √ | Represents the attachment names. If multiple attachments are included, they are separated by commas in the print output. |
Subform | √ | 1. Each field in the subform provides a separate code. Fields such as divider lines, queries, data selection, and text recognition are not supported. 2. Subform fields can only be printed within tables. During printing, data will be filled row by row for each group as a unit. Subfields placed outside the table will be printed as field codes. 3. If fixed content or main form field codes are written in the same cell with subfield codes, the fixed content and main form field codes will only be printed once in the original cell and will not expand along with the subfields. 4. Subforms support adding a "System Serial Number" field to the template. 5. Subfields in the subform cannot be inserted into headers or footers. |
Query Data | × | |
Select Data | √ | 1. Display fields retain the same behavior as their original field type. 2. Cannot be inserted into headers or footers. |
Signature | √ | 1. Field code includes a "size" parameter to adjust the image size (mm). Default is 30×20; customization is allowed. 2. Cannot be inserted into headers or footers. |
Serial Number | √ | 1. Supports text, barcodes, and QR codes. 2. Field codes for barcodes and QR codes include a "size" parameter to adjust the horizontal size (mm). Default: QR code 20×20, barcode 30×20, with customization allowed. |
Member | √ | |
Members | √ | If the field contains multiple values, they are separated by commas in the print output. |
Department | √ | |
Departments | √ | If the field contains multiple values, they are separated by commas in the print output. |
More to Know
1. When printing using a Word template, the output file format is also in .docx.
2. If the printing template contains fields that the member does not have permission to access within the permission group, the values of those fields will not be printed.
3.
Attributes | Effective During Download Only | Effective During Both Preview and Download |
Font Color - Gradient | ✔ | |
Text Effects (Shadow, Reflection, Glow) | ✔ | |
Page Color, Background | ✔ | |
Sections | ✔ | |
Chinese Typography (Character Merging, Width Adjustment) | ✔ | |
Font, Font Size | ✔ | |
Change Case | ✔ | |
Character Borders | ✔ | |
Bold, Italic, Underline, Strikethrough | ✔ | |
Text Effects and Typography | ✔ | |
Font Color | ✔ | |
Character Shading | ✔ | |
Bullets, Numbering, Multilevel Lists | ✔ | |
Alignment | ✔ | |
Indentation, Line and Paragraph Spacing | ✔ | |
Sorting | ✔ | |
Shading, Border Styles | ✔ | |
Tables (Fill, Border Styles) | ✔ | |
Images, WordArt, Drop Caps | ✔ | |
Signature Line, Date and Time, Formulas, Symbols | ✔ | |
Shapes, Icons, Watermarks | ✔ | |
Page Borders | ✔ | |
Page Layout (Text Direction, Margins, Orientation, Columns, Paper Size) | ✔ | |
References (Table of Contents, Footnotes) | ✔ |