Document

Add a field, that will capture a document from an image, crop the borders and transform the perspective.

image-20240304-150617.png

Field options

Name

Type

Description

Name

Type

Description

name

string

The name by which the field will internally be referenced

displayText

string

The main field label displayed above the field

description

string

An additional description displayed below the main label

options.useColor

boolean

Resulting image in color, instead of black/white.

options.maxCount

boolean

Maximum count of images.

options.required

boolean

Whether the field must be filled to advance

options.confirmation

boolean

Whether to include this field in the confirmation page

JSON Example

{ "name": "EXPENSE", "displayText": "Expense", "description": "Capture an expense", "type": "Document" options: { useColor: true, required: true } }