form | Input collected from the user |
user | Details of the user executing the menu. |
entity | Details of the entity in which the menu is being used. |
target | Details of the form field in which the value has been changed. |
network | Details of the network in which the menu being. |
Attribute | Property | Description |
fields | Type: JSONArray Maximum limit: 20 | Array of field objects that you want to add or update in the form |
remove | Type: JSONArray Maximum limit: 20 | Array of field names that you want to remove from the form. |
error | String (50) | The error message that has to displayed for the entire form. |
fieldError | JSONObject | Error message for an individual field. (Refer to Table 2 in this document to add error message for each field.) |
Attribute | Property | Description |
fieldName (the name of the field in which you'd like to display the error message should be used as attribute. eg: startDate) | String (200) | The error message to be displayed for each field. |
Attribute | Property | Description | Pre-requisite |
after | String (20) | Enter the name of the field that has to be inserted/moved next to the particular field | Optional |
before | String (20) | Enter the name of the field that has to inserted before/moved up before the particular field | Optional |

"fields": [
{
"before": "taskDueDate",
"hint": "Select the projects",
"name": "Project",
"options": [
{
"label": "UI Enhancements",
"id": "13429993739813",
"value": "13429993739813"
}
],
"label": "Project",
"type": "multiSelect",
"mandatory": "false"
},
{
"hint": " Select assignees",
"name": "Assignee",
"options": [],
"label": "Assignee",
"after": "Project", // To add the field after 'Project' field.
"type": "select",
"mandatory": "false"
},
{
"hide": "false",
"name": "taskTitle"
},
{
"hide": "false",
"name": "taskDesc"
},
{
"hide": "false",
"name": "taskDueDate"
} ] }
{
"fieldError":{
"endDate":"The end date must be greater than the start date." }
}
{
"fields":[
{
"name":"dLang",
"value":""
}
],
"error":"Sorry, we're unable to translate the text to the selected language." }