Skip to main content

betaThis is a new capability. Help us improve it and give your feedback on Slack.

form-definition-schema-properties-pages-pages-item-properties-components-components-item-properties-options

Options Type

object (Options)

options Default Value

The default value is:

{}

options Properties

PropertyTypeRequiredNullableDefined by
rowsnumberOptionalcannot be nullForm Definition Schema
maxWordsnumberOptionalcannot be nullForm Definition Schema
maxDaysInPastnumberOptionalcannot be nullForm Definition Schema
maxDaysInFuturenumberOptionalcannot be nullForm Definition Schema
customValidationMessagestringOptionalcannot be nullForm Definition Schema
customValidationMessagesobjectOptionalcannot be nullForm Definition Schema
amountnumberOptionalcannot be nullForm Definition Schema
descriptionstringOptionalcannot be nullForm Definition Schema
Additional PropertiesAnyOptionalcan be null

rows

Number of rows for textarea components

rows

Rows Type

number (Rows)

maxWords

Maximum number of words allowed in text inputs

maxWords

Max Words Type

number (Max Words)

maxDaysInPast

Maximum days in the past allowed for date inputs

maxDaysInPast

Max Days In Past Type

number (Max Days In Past)

maxDaysInFuture

Maximum days in the future allowed for date inputs

maxDaysInFuture

Max Days In Future Type

number (Max Days In Future)

customValidationMessage

Custom error message for validation failures

customValidationMessage

Custom Validation Message Type

string (Custom Validation Message)

customValidationMessages

Custom error messages keyed by validation rule name

customValidationMessages

Custom Validation Messages Type

object (Custom Validation Messages)

amount

Payment amount in GBP (£0.30 - £100,000)

amount

Amount Type

number (Amount)

amount Constraints

maximum: the value of this number must smaller than or equal to: 100000

minimum: the value of this number must greater than or equal to: 0.3

description

Payment description (max 230 chars)

description

Description Type

string (Description)

description Constraints

maximum length: the maximum number of characters for this string is: 230

Additional Properties

Additional properties are allowed and do not have to follow a specific schema