Forms Engine Package
Overview
Installation
dependencies:
forms_engine:
git:
url: https://github.com/egovernments/health-campaign-field-worker-app.git
path: packages/forms_engine
ref: delivery_flowflutter pub getConfiguration Example
{
"name": "DELIVERYFLOW",
"order": 2,
"pages": [
{
"page": "DeliveryDetails",
"type": "object",
"label": "APPONE_REGISTRATION_DELIVERYDETAILS_SCREEN_HEADING",
"order": 1,
"navigateTo": { "name": "household-acknowledgement", "type": "template" },
"properties": [
{
"type": "integer",
"format": "date",
"fieldName": "dateOfRegistration",
"label": "APPONE_REGISTRATION_DELIVERYDETAILS_label_dateOfDelivery",
"systemDate": true,
"order": 1,
"includeInForm": true,
"includeInSummary": true
},
{
"type": "dynamic",
"format": "custom",
"fieldName": "resourceCard",
"label": "APPONE_REGISTRATION_DELIVERYDETAILS_label_resource",
"enums": [ { "code": "SP1", "name": "SP1" }, { "code": "SP2", "name": "SP2" }, { "code": "AQ1", "name": "AQ1" }, { "code": "AQ2", "name": "AQ2" } ],
"validations": [{ "type": "required", "value": true, "message": "..._mandatory_message" }],
"order": 2,
"includeInForm": true,
"includeInSummary": true
},
{
"type": "string",
"format": "dropdown",
"fieldName": "deliveryComment",
"schemaCode": "HCM.DELIVERY_COMMENT_OPTIONS_POPULATOR",
"label": "APPONE_REGISTRATION_BENEFICIARYDETAILS_label_deliveryComments",
"order": 3,
"includeInForm": true,
"includeInSummary": true
},
{
"type": "string",
"format": "scanner",
"fieldName": "scanner",
"label": "APPONE_REGISTRATION_DELIVERYDETAILS_label_scanner",
"order": 4,
"includeInForm": true,
"includeInSummary": true
}
],
"actionLabel": "APPONE_REGISTRATION_DELIVERYDETAILS_ACTION_BUTTON_LABEL_1",
"description": "APPONE_REGISTRATION_DELIVERYDETAILS_SCREEN_DESCRIPTION"
} ],
"project": "CMP-2025-07-09-009012",
"version": 2,
"disabled": false,
"isSelected": true
}Schema & Key Concepts
Usage
Extension Points
Last updated
Was this helpful?