processmaker-builder
Version:
The gulp task runner for ProcessMaker building
491 lines • 19.4 kB
JSON
{
"name": "form-example",
"items": [
{
"type":"panel",
"items":
[
[
{
"type": "title",
"colSpan": 12,
"name": "title",
"label": "PMDynaform 5 - Fields disabled"
}
],
[
{
"type": "subtitle",
"colSpan": 12,
"name": "subtitle",
"label": "TextInput Field"
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "text",
"colSpan":12,
"name": "textName1",
"defaultValue": "field1",
"label": "string with max Length",
"required": true,
"readonly": false,
"dataType": "string",
"maxLength": 10,
"textTransform": "upper",
"disabled": true,
"autoComplete": "on",
"hint":null
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "text",
"colSpan":12,
"name": "textName2",
"defaultValue": "field3",
"label": "String",
"disabled": true,
"required": true,
"readonly": false,
"dataType": "string",
"hint":null
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "text",
"colSpan":12,
"name": "textName3",
"defaultValue": "field4",
"label": "String",
"required": true,
"disabled": true,
"readonly": false,
"dataType": "string",
"hint":null
}
],
[
{
"type": "subtitle",
"colSpan": 12,
"name": "subtitle",
"label": "Suggest Field"
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "suggest",
"colSpan":12,
"name": "textName1",
"defaultValue": "field2",
"label": "Suggest",
"required": true,
"readonly": false,
"disabled": true,
"dataType": "integer",
"maxLength": 10,
"options":[],
"hint":null
}
],
[
{
"type": "subtitle",
"colSpan": 12,
"name": "subtitle",
"label": "Link Field"
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "link",
"colSpan":12,
"name": "textName1",
"value": "This is the link value",
"label": "link",
"required": true,
"disabled": true,
"maxLength": 10,
"hint":null,
"readOnly": true
}
],
[
{
"type": "subtitle",
"colSpan": 12,
"name": "subtitle",
"label": "Dropdown Field"
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "dropdown",
"colSpan":12,
"name": "Option",
"label": "Options",
"readonly": false,
"disabled": true,
"options":[
{
"label": "Option 1",
"value": "option1"
},
{
"label": "Option 2",
"value": "option2"
},
{
"label": "Option 3",
"value": "option3"
}
],
"hint":null
}
],
[
{
"type": "subtitle",
"colSpan": 12,
"name": "subtitle",
"label": "Checkbox Field"
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "checkbox",
"colSpan":12,
"name": "chekbox1",
"label": "Checkbox",
"disabled": true,
"required": true,
"options": [
{
"label": "This is the option A",
"value": 1,
"selected": true
},
{
"label": "This is the option B",
"value": 2
},
{
"label": "This is the option C",
"value": 3,
"selected": true
}
],
"hint":null
}
],
[
{
"type": "subtitle",
"colSpan": 12,
"name": "subtitle",
"label": "TextArea Field"
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "textarea",
"colSpan":12,
"label": "Textarea",
"name": "textarea1",
"placeholder": "Column1",
"defaultValue": "Column1",
"maxLength": 15,
"disabled": true,
"required": true,
"readonly": false,
"rows":3,
"cols":5,
"hint":null
}
],
[
{
"var_name": "simplevariable",
"var_uid": "752292886541b20d3325955025125925",
"type": "radio",
"colSpan":12,
"name": "radiogroup1",
"defaultValue": "1",
"label": "Radio Grp",
"disabled": true,
"required": true,
"options": [
{
"label": "This is the option A",
"value": 1
},
{
"label": "This is the option B",
"value": 2
},
{
"label": "This is the option C",
"value": 3
}
],
"hint":null
}
],
[
{
"var_name": "simplevariablethree",
"var_uid": "31319212954524865487616020584523",
"type": "datetime",
"pickType":"datetime",
"colSpan":12,
"name": "datetime1",
"defaultValue": "",
"label": "Date time",
"disabled": true,
"required": true,
"readonly": false,
"hint":null
}
],
[
{
"var_name": "simplevariablethree",
"var_uid": "31319212954524865487616020584523",
"type": "datetime",
"pickType":"date",
"colSpan":12,
"name": "datetime2",
"defaultValue": "",
"label": "Date",
"required": true,
"disabled": true,
"readonly": false,
"hint":null
}
],
[
{
"var_name": "simplevariablethree",
"var_uid": "31319212954524865487616020584523",
"type": "datetime",
"pickType":"time",
"colSpan":12,
"name": "datetime3",
"defaultValue": "",
"label": "Time",
"disabled": true,
"required": true,
"readonly": false,
"hint":null
}
],
[
{
"type" : "submit",
"colSpan" : 12,
"label" : "Submit"
}
]
],
"variables":
[
{
"var_acceptedValues": [],
"var_dbConnection": "workflow",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "users",
"var_name": "users",
"var_allowNull": 1,
"var_sql": "SELECT USR_UID, USR_USERNAME\nFROM USERS\nWHERE USR_USERNAME <> \" \"",
"var_uid": "752292886541b20d3325955025125925"
},
{
"var_acceptedValues": [],
"var_dbConnection": "workflow",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "country",
"var_name": "country",
"var_allowNull": 1,
"var_sql": "SELECT IC_UID,IC_NAME \nFROM ISO_COUNTRY WHERE IC_NAME <> \" \"",
"var_uid": "943312492541b2101075730071729173"
},
{
"var_acceptedValues": [],
"var_dbConnection": "workflow",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "subdivision",
"var_name": "subdivision",
"var_allowNull": 1,
"var_sql": "SELECT \nIS_UID,\nIS_NAME FROM ISO_SUBDIVISION WHERE IC_UID = \"@#country\" AND IS_NAME <> \" \"",
"var_uid": "562853519541b20e79b6960026331275"
},
{
"var_acceptedValues": [],
"var_dbConnection": "workflow",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "location",
"var_name": "location",
"var_allowNull": 1,
"var_sql": "SELECT IL_UID, IL_NAME\nFROM ISO_LOCATION\nWHERE IS_UID = \"@#subdivision\" AND IL_NAME <> \" \" AND IC_UID = \"@#country\"",
"var_uid": "448293955541b20b5e393c3052081446"
},
{
"var_acceptedValues": [],
"var_dbConnection": "workflow",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "varname",
"var_name": "varname",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "752292886541b20d3325955025125927"
},
{
"var_acceptedValues": [],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "simplevariable",
"var_name": "simplevariable",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "299463130541b212c93a3d7047589419"
},
{
"var_acceptedValues": [],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "Simple Variable Two",
"var_name": "simplevariabletwo",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "992707483545248537300e5085346250"
},
{
"var_acceptedValues": [],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "datetime",
"var_label": "Simple Variable Three",
"var_name": "simplevariablethree",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "31319212954524865487616020584523"
},
{
"var_acceptedValues": [
{
"value": "First Value",
"keyValue": "firstvalue"
},
{
"value": "Second Value",
"keyValue": "secondvalue"
}
],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 100,
"var_fieldType": "string",
"var_label": "optionsvariable",
"var_name": "optionsvariable",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "109090183545298e8505313008393063"
},
{
"var_acceptedValues": [],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "variablegridone",
"var_name": "variablegridone",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "8391557125458eb60509b60057650758"
},
{
"var_acceptedValues": [],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 100,
"var_fieldType": "string",
"var_label": "variablegridtwo",
"var_name": "variablegridtwo",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "5746882395458eb6b8b54a2015704374"
},
{
"var_acceptedValues": [],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "variablegridthree",
"var_name": "variablegridthree",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "5532828265458eb76ebf700002684261"
},
{
"var_acceptedValues": [
{
"value": "variable option 1",
"keyValue": "variable_option_1"
},
{
"value": "variable option 2",
"keyValue": "variable_option_2"
},
{
"value": "variable option 3",
"keyValue": "variable_option_3"
}
],
"var_dbConnection": "none",
"var_defaultValue": "",
"var_fieldSize": 10,
"var_fieldType": "string",
"var_label": "variablegridfour",
"var_name": "variablegridfour",
"var_allowNull": 1,
"var_sql": "",
"var_uid": "6551198965458ebe28477c5094393260"
}
]
}
]
}