Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Field options

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

defaultValue

string

The value the field should initially be filled with

options

object

Additional field options (see below)

options.required

boolean

Whether the field must be filled to advance

options.readOnly

boolean

Whether it’s allowed to change the field value

options.maxCount

number

How many images are allowed to be uploaded

options.acceptedFileTypes

array

Array of strings of MIME-types of accepted files

JSON Example

{
  "name": "File",
  "displayText": "Laden sie ein pdf oder zip hoch",
  "description": "kk",
  "type": "File",
  "options": {
    "acceptedFileTypes": ["application/pdf", "application/zip"],
    "required": true,
    "maxCount": 1
  }
}
  • No labels