跳到主要内容

DateFormPr

The date form properties.

Type

Enumeration

Values

Example

This example creates a date form with the common and specific date form properties.

// How to create a date form with its properties.

// Create the properties and apply them to the ApiDateForm object.

let dateFormPr = {"key": "Nowadays", "tip": "Enter current date", "required": true, "placeholder": "Your date here", "format": "mm.dd.yyyy", "lang": "en-US"};
let dateForm = Api.CreateDateForm(dateFormPr);