Skip to main content

FormPrBase

Common form properties.

Type​

Object

Properties​

NameTypeDescription
keystringThe form key.
placeholderstringThe form placeholder text.
requiredbooleanSpecifies if the form is required or not.
rolestringThe role to fill out form.
tagstringThe form tag.
tipstringThe form tip text.

Example​

Create a text form with the common form properties.

// How do I create a text form using its base properties?

// Create the base properties and apply them to the ApiTextForm object.

let formPrBase = {
"key": "Personal information",
"tip": "Enter your first name",
"required": true,
"placeholder": "First name"
};
let textForm = Api.CreateTextForm(formPrBase);