Skip to main content

FormData

Form data.

Type

Object

Properties

NameTypeDescription
keystringThe form key. If the current form is a radio button, then this field contains the group key.
tagstringThe form tag.
typeFormSpecificTypeThe form type.
valuestring | booleanThe current field value.

Example

Specify the form data that can be used to create the form.

// How to create a form data indicating its key and value.

// Create a data to add it to the form.

let formData = {key: "CompanyName", value: "OnlyOffice", type: "text"};