Skip to main content

FormPrBase

Common form properties.

Type

Object

Properties

NameTypeDescription
keystringForm key.
tipstringForm tip text.
tagstringForm tag.
requiredbooleanSpecifies if the form is required or not.
placeholderstringForm placeholder text.

Example

This example creates a text form with the common form properties.

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