Skip to main content

FormPrBase

Common form properties.

Type

Object

Properties

NameTypeDescription
keystringForm key.
placeholderstringForm placeholder text.
requiredbooleanSpecifies if the form is required or not.
tagstringForm tag.
tipstringForm tip 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);