Skip to main content

Switch Attribute

Docusaurus logo

How to use in JSON metadata in form builder:

{
"id": "switch",
"label": "Switch",
"input_type": "SWITCH",
"is_standard": true,
"editable": true,
"display_order": 8,
"validation_rules": {}
}

Properties of date attribute:

#AttributeDefaultDescription
1idswitchBase attribute which specifies "text" input field.
2labelswitchUsed to specify the label of the field
3input_typeSWITCHBase attribute which specifies input types no need to change
4is_standardtrueNo need to change (by default: TRUE)
5editabletrueAllows user to edit the input
6display_order1Allows user to define the order of the fields