Forms and Links
Forms are essential to ensure submissions work well for any application. We use a versatile set of properties to ensure we can handle any edge case.
Properties
The form output structure is an array of dictionaries that represent different sections of a form. Each section has specific attributes like label, required, tag, type, selector, and description.
- Name
label
- Type
- string
- Description
Label for the input
- Name
required
- Type
- boolean
- Description
Whether the input is required
- Name
tag
- Type
- string
- Description
The html tag for the input
- Name
type
- Type
- string
- Description
The type of input
- Name
selector
- Type
- string
- Description
The input's selector
- Name
description
- Type
- string
- Description
The input's description (if any)
Example
const form_section = {
label: 'string',
required: 'boolean',
tag: 'string',
type: 'string',
selector: 'string',
description: 'string',
}