Last updated
Was this helpful?
Last updated
Was this helpful?
👉 To learn how to create a custom widget, refer to .
👉 To learn more about the functioning od Custom Widgets, refer to .
Here is the list of propname fields and their specificities:
Displays a list of input numbers It is primarily used to define box-model dimensions (top, right, bottom, left) for many uses, margins, padding, positioning, etc.
value: array containing an object The number of elements in your object will define the number of inputs. Input labels are object keys and the values are the key/values from the object.
Displays a checkbox in the form
value: checkboxes do not have a value property but a checked property instead, which is a boolean
Displays a code editor input You can specify the code type (JS or CSS).
value: character string
Specific Property
rows: enables you to define the number of rows to display by default in the UI.
Displays a color picker
value: character string
Displays a simple date picker
value: date object or valid date string
Displays an all-in-one date and time picker, enabling you to get a requested date and time from users. Can be used for a countdown, for instance.
value: date object or valid date string. An empty date string will use the current date as the default value.
return value: Unix timestamp
Displays a datetimepicker, in addition to a collapsed group to set further information :
a toggle to follow the sun (will end at this time in each timezone or not)
a selection input to choose a timezone when needed (when the "follow the sun" toggle is off)
value: object with two properties at init :
type: should be set to init on the form part
value: same as datetimepicker but also allows a GMT timezone string
DATA value: a complete object
previewTimestamp: timestamp number (value to be used for the editor preview when the "follow the sun" toggle is on)
type: local or global value, depending on whether the "follow the sun" toggle is on or off.
timecustom widgets: object, in numbers, corresponding to the minute, hour, day, month, or year.
raw: object with all data:
followTheSun: boolean
previewTimezone: character string for geolocation timezone Ex: 'Europe/Paris' (value to be used for the editor preview when "follow the sun" toggle is on)
timedef: object. Same as timecustom widgets.
timezone: character string for geolocation timezone ex: 'America/Los_Angeles'
userContext: object with complete data related to the current user:
isInDST: boolean describing whether the user is currently in daylight - saving time or not.
local: object similar to timecustom widgets but with current user date and time values
offset: number resulting from getTimezoneOffset
timestamp: timestamp number
timezone: character string for geolocation timezone ex: 'Asia/Tokyo'
Hides an input
value: character string
Displays information to the user about the features of your form or custom widget
value: This custom widget does not need a value property.
Specific Properties:
label: character string corresponding to the message to be displayed
hrefUrl: character string corresponding to the URL you want the user to be redirected to
Displays an input of type number
value: number
Specific Properties:
You are also able to provide more properties:
min: number (default value is 0);
max: number (default value is 9999);
step: number (default value is 1).
Displays text into the form. It can be used to inform, alert, and so on
value: no value is needed in this case.
Content should be placed in the text property - character string.
Displays a radio input with multiple radios
value: character string || number || boolean
Specific Property for Radio:
options [Array of objects: {label: type label, value: same as value}]
Display a radio input with images/icons as buttons
value: character string
Specific Property: options are the same as for radio label and style The character string should be long or short, depending on the desired button size.
Displays a select that includes a search input for selects that have several values
value: character string
Specific Property:options are the same as for radio
Specific Options Properties:
placeholder: character string. Text to be displayed when the search field is empty.
Displays a select
value: character string
Special Property: options are the same as for radio
Displays an input used to fill selectors containing a button. It will enable the user to select a website element.
value: character string (more likely formatted as a CSS selector)
Displays a slider to select a number as a value
value: number
Specific Properties: min and max of type Number Both are optional. The default values are 0 and 100.
Displays a switch that enables the user to select an option
value: boolean
Displays a text area that enables the user to enter text
value: character string
Specific Property: rows of Number type to define the number of rows of your textarea
Displays a simple text input
value: character string
A text type input dedicated to the URL Format checking and error handling are managed by default.
value: character string
Displays a textarea input enriched with text styling features
value: character string