XForms Manual
  • XForms
  • Form Template
  • Form Controls
    • General
    • Date Control (dat)
    • Expression (exp)
    • Images Control (img)
    • Lookup (lkp)
    • Multi-Choice (mch)
    • Number (num)
    • Signature Control (sig)
    • Table Control (tbl)
    • Text Control (txt)
    • Time Control (tim)
  • PDF Template
  • Reference Lists
  • Webhooks
Powered by GitBook
On this page
  • Attributes
  • pdfConfig

Form Template

This section explains a Form Template structure

Attributes

type

Template Type

Defined by the usage

category

Template Category

Defined by the usage

name

Template name

description

Template description

Optional

templateType

pdfConfig

PDF Appearance Configuration (optional)

Details below

lockEdit

if true, cannot edit the form after submission.

pdfConfig

configurations are optional

Setting
Description
Values

orientation

PDF Page Orientation

"portrait" or "landscape"

removePageCount

To remove page number

true: remove page count false: keep page count

marginTop

Top margin in mm

number

marginBottom

Bottom margin in mm

number

marginLeft

Left margin in mm

number

marginRight

Right margin in mm

number

Example:

"pdfConfig": { "orientation": "landscape", "removePageCount": true, "marginTop": 0, "marginLeft": 10 }

PreviousXFormsNextForm Controls

Last updated 1 month ago