Documentation
  • Welcome to Documentero Docs
  • General
    • Usage Limits and Quotas
    • Manage Account & Plans
    • Documentero Roadmap / Changelog
    • Privacy Policy
    • Frequently Asked Questions
  • templates
    • Templates Introduction & Tutorial
    • Template Upload/Re-upload
    • Organize Templates into Folders
    • Fields
    • Fields - Images
    • Fields - QRCodes
    • Fields - Links
    • Fields - HTML Support
    • Fields - Markdown Support
    • Fields - Mermaid Support
    • Fields - Formatters
    • Sections
    • Sections - Types & Options
    • Smart Fields
    • Smart Sections
    • Template Variables
  • Charts & Diagrams
  • Forms
    • Create Documents using Form
    • How to customize document form
    • Fields/Sections - General Settings
    • Field- Types & Options
      • Field - Multi Checkbox
      • Field - Checkbox
      • Field - Radio Button
      • Field - Datepicker
      • Field - Radio Select
      • Field - Select
      • Field - Multiline
      • Field - Number
      • Field - TextField
    • Conditional Fields & Sections
    • Shared Forms
      • Sharing Forms
      • Shared Form Configuration
      • Consent Form (GDPR)
      • Embeed & customize shared form on your website
  • Spreadsheet
    • Create Documents using Spreadsheet
  • API
    • Create Documents using API & JSON
    • Integrate with Documentero Cloud API
  • ChatGPT
    • Create Documents using ChatGPT
  • Integrations
    • Zapier
    • Make.com
    • Integrately
    • Pabbly Connect
    • Albato
    • Bubble.io Plugin
    • Webflow
    • Flutterflow
Powered by GitBook
On this page
  • Recommended Field Name Rules
  • Multiline text
  1. templates

Fields

You need to provide placeholders in the document template (field name in curly brackets). It's as simple as that.

PreviousOrganize Templates into FoldersNextFields - Images

Last updated 27 days ago

If the same field is repeated in other parts of the template we will detect that and fill the document accordingly (with the value provided only once).

Fields could be used inside Sections

Recommended Field Name Rules

Omit special characters and spaces in field name. It will be easier to refer them in Smart Fields

We recommend camelCase rules for field naming e.g. fieldWithMultipleWords. If you want to use fields in Smart Sections & Smart Fields please also omit numbers and special characters in field names

Use Special Filters to modify results

{field | toFixed:2} > Sets number decimal precision 5300.1 > 5300.10
{$ labor + parts | format:2:',':'.'} > Sets number decimal precision, thousand separator, decimal separator e.g.  5300.1 > 5,300.00
{$ labor + parts | inWords:'en'} > Spells Number in words based on selected language

Multiline text

If you want to pass text in multiple lines (e.g. from API call or integration) you can use new line mark "\n" when passing text to your field.

"field": "first line \n second line" => In output document second line will go to next line

If you need more advanced formatting consider using

Fields with HTML Support