Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Z.Example.SelectSingleNode by Anonymous
BEFORE MANDATORY
{
  "display": "wizard",
  "settings": {},
  "components": [
    {
      "title": "Activity Information",
      "label": "Activity Information",
      "type": "Activity",
      "key": "ActivityInformation",
      "components": [
        {
          "label": "Row1Columns",
          "columns": [
            {
              "components": [
                {
                  "label": "Activity Date",
                  "format": "dd/MM/yyyy hh:mm a",
                  "tableView": false,
                  "datePicker": {
                    "disableWeekends": false,
                    "disableWeekdays": false
                  },
                  "validate": {
                    "unique": true
                  },
                  "key": "Activity.ActivityDate",
                  "type": "datetime",
                  "input": true,
                  "suffix": "<i ref=\"icon\" class=\"fa fa-calendar\" style=\"\"></i>",
                  "widget": {
                    "type": "calendar",
                    "displayInTimezone": "viewer",
                    "language": "en",
                    "useLocaleSettings": false,
                    "allowInput": true,
                    "mode": "single",
                    "enableTime": true,
                    "noCalendar": false,
                    "format": "dd/MM/yyyy hh:mm a",
                    "hourIncrement": 1,
                    "minuteIncrement": 1,
                    "time_24hr": false,
                    "minDate": null,
                    "disableWeekends": false,
                    "disableWeekdays": false,
                    "maxDate": null
                  }
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            },
            {
              "components": [
                {
                  "label": "Duration (minutes)",
                  "mask": false,
                  "spellcheck": true,
                  "tableView": false,
                  "delimiter": false,
                  "requireDecimal": false,
                  "inputFormat": "plain",
                  "key": "Activity.Duration",
                  "type": "number",
                  "input": true
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            }
          ],
          "tableView": false,
          "key": "row1Columns",
          "type": "columns",
          "input": false
        },
        {
          "label": "Row2Columns",
          "columns": [
            {
              "components": [
                {
                  "label": "Activity Category",
                  "widget": "choicesjs",
                  "tableView": true,
                  "dataSrc": "custom",
                  "data": {
                    "custom": "values = getActivityCategoryValues()"
                  },
                  "valueProperty": "AgencyActivityCategoryId",
                  "template": "<span>{{ item.text }}</span>",
                  "selectThreshold": 0.3,
                  "validate": {
                    "required": true
                  },
                  "key": "Activity.AgencyActivityCategoryId",
                  "type": "select",
                  "indexeddb": {
                    "filter": {}
                  },
                  "input": true
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            },
            {
              "components": [
                {
                  "label": "Attendance",
                  "widget": "choicesjs",
                  "tableView": true,
                  "multiple": false,
                  "dataSrc": "custom",
                  "data": {
                    "custom": "values = getAttendanceValues()"
                  },
                  "valueProperty": "AgencyActivityAttendanceId",
                  "template": "<span>{{ item.text }}</span>",
                  "selectThreshold": 0.3,
                  "key": "Activity.AgencyActivityAttendanceId",
                  "type": "select",
                  "indexeddb": {
                    "filter": {}
                  },
                  "input": true
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            }
          ],
          "tableView": false,
          "key": "row2Columns",
          "type": "columns",
          "input": false
        },
        {
          "label": "Activity Options",
          "widget": "choicesjs",
          "tableView": true,
          "multiple": true,
          "dataSrc": "custom",
          "data": {
            "custom": "values = getActivityManagerValues(data.Activity.AgencyActivityCategoryId)"
          },
          "template": "<span>{{ item.text }}</span>",
          "refreshOn": "Activity.AgencyActivityCategoryId",
          "clearOnRefresh": true,
          "selectThreshold": 0.3,
          "calculateServer": false,
          "validate": {
            "required": true,
            "multiple": true
          },
          "key": "Activity.ActivityDetail",
          "type": "select",
          "indexeddb": {
            "filter": {}
          },
          "input": true
        }
      ],
      "input": false,
      "tableView": false,
      "breadcrumbClickable": true,
      "buttonSettings": {
        "previous": true,
        "cancel": true,
        "next": true
      },
      "collapsible": false
    }
  ]
}
Activity.Duration
Activity.AgencyActivityAttendanceId
AFTER MANDATORY
XXXXXXXXXXXXXXX
{
  "display": "wizard",
  "settings": {},
  "components": [
    {
      "title": "Activity Information",
      "label": "Activity Information",
      "type": "Activity",
      "key": "ActivityInformation",
      "components": [
        {
          "label": "Row1Columns",
          "columns": [
            {
              "components": [
                {
                  "label": "Activity Date",
                  "format": "dd/MM/yyyy hh:mm a",
                  "tableView": false,
                  "datePicker": {
                    "disableWeekends": false,
                    "disableWeekdays": false
                  },
                  "validate": {
                    "unique": true
                  },
                  "key": "Activity.ActivityDate",
                  "type": "datetime",
                  "input": true,
                  "suffix": "<i ref=\"icon\" class=\"fa fa-calendar\" style=\"\"></i>",
                  "widget": {
                    "type": "calendar",
                    "displayInTimezone": "viewer",
                    "language": "en",
                    "useLocaleSettings": false,
                    "allowInput": true,
                    "mode": "single",
                    "enableTime": true,
                    "noCalendar": false,
                    "format": "dd/MM/yyyy hh:mm a",
                    "hourIncrement": 1,
                    "minuteIncrement": 1,
                    "time_24hr": false,
                    "minDate": null,
                    "disableWeekends": false,
                    "disableWeekdays": false,
                    "maxDate": null
                  }
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            },
            {
              "components": [
                {
                  "label": "Duration (minutes)",
                  "mask": false,
                  "spellcheck": true,
                  "tableView": false,
                  "delimiter": false,
                  "requireDecimal": false,
                  "inputFormat": "plain",
                  "key": "Activity.Duration",
                  "type": "number",
                  "input": true,
                  "validate": {
                    "required": true
                  }
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            }
          ],
          "tableView": false,
          "key": "row1Columns",
          "type": "columns",
          "input": false
        },
        {
          "label": "Row2Columns",
          "columns": [
            {
              "components": [
                {
                  "label": "Activity Category",
                  "widget": "choicesjs",
                  "tableView": true,
                  "dataSrc": "custom",
                  "data": {
                    "custom": "values = getActivityCategoryValues()"
                  },
                  "valueProperty": "AgencyActivityCategoryId",
                  "template": "<span>{{ item.text }}</span>",
                  "selectThreshold": 0.3,
                  "validate": {
                    "required": true
                  },
                  "key": "Activity.AgencyActivityCategoryId",
                  "type": "select",
                  "indexeddb": {
                    "filter": {}
                  },
                  "input": true
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            },
            {
              "components": [
                {
                  "label": "Attendance",
                  "widget": "choicesjs",
                  "tableView": true,
                  "multiple": false,
                  "dataSrc": "custom",
                  "data": {
                    "custom": "values = getAttendanceValues()"
                  },
                  "valueProperty": "AgencyActivityAttendanceId",
                  "template": "<span>{{ item.text }}</span>",
                  "selectThreshold": 0.3,
                  "key": "Activity.AgencyActivityAttendanceId",
                  "type": "select",
                  "indexeddb": {
                    "filter": {}
                  },
                  "input": true,
                  "validate": {
                    "required": true
                  }
                }
              ],
              "width": 6,
              "offset": 0,
              "push": 0,
              "pull": 0
            }
          ],
          "tableView": false,
          "key": "row2Columns",
          "type": "columns",
          "input": false
        },
        {
          "label": "Activity Options",
          "widget": "choicesjs",
          "tableView": true,
          "multiple": true,
          "dataSrc": "custom",
          "data": {
            "custom": "values = getActivityManagerValues(data.Activity.AgencyActivityCategoryId)"
          },
          "template": "<span>{{ item.text }}</span>",
          "refreshOn": "Activity.AgencyActivityCategoryId",
          "clearOnRefresh": true,
          "selectThreshold": 0.3,
          "calculateServer": false,
          "validate": {
            "required": true,
            "multiple": true
          },
          "key": "Activity.ActivityDetail",
          "type": "select",
          "indexeddb": {
            "filter": {}
          },
          "input": true
        }
      ],
      "input": false,
      "tableView": false,
      "breadcrumbClickable": true,
      "buttonSettings": {
        "previous": true,
        "cancel": true,
        "next": true
      },
      "collapsible": false
    }
  ]
}
Cached Result
Last Run: 9:36:40 pm
Compile: 0.016s
Execute: 0.17s
Memory: 16.34Mb
CPU: 0.186s