DynamicFormDto
Dynamic form structure with configurable fields
Total number of fields in the dynamic form
3fieldList object[]
List of fields in the dynamic form
The label of the form field displayed to the user, e.g., 'First Name'.
First NameThe internal name used to identify the form field, e.g., 'firstName'.
firstNameThe type of data expected in the form field, e.g., 'text', 'number', or 'email'.
textdataValueList object[]
A list of select values if the field is a dropdown type.
The unique value to represent the option
123The display label for the option
Option AThe data format or pattern expected for the field, e.g., 'yyyy-MM-dd' for a date field.
yyyy-MM-ddThe minimum size or length for the data entered in the form field.
3The maximum size or length for the data entered in the form field.
50criteriaList object[]
Label describing the criteria
ReferenceValue associated with the criteria
refList of fields attached to this criteria
["payment reference"]{
"fieldCount": 3,
"fieldList": [
{
"dataLabel": "First Name",
"dataName": "firstName",
"dataType": "text",
"dataValueList": [
{
"key": "1",
"value": "Option 1"
},
{
"key": "2",
"value": "Option 2"
}
],
"dataFormat": "yyyy-MM-dd",
"sizeMin": 3,
"sizeMax": 50
}
],
"criteriaCount": 0,
"criteriaList": [
{
"dataLabel": "Reference",
"dataValue": "ref",
"attachedFields": [
"payment reference"
]
}
]
}