FormFieldDto
DTO representing a dynamic form field.
dataLabelstring
The label of the form field displayed to the user, e.g., 'First Name'.
Example:
First NamedataNamestring
The internal name used to identify the form field, e.g., 'firstName'.
Example:
firstNamedataTypestring
The type of data expected in the form field, e.g., 'text', 'number', or 'email'.
Example:
textdataValueList object[]
A list of select values if the field is a dropdown type.
Array [
valuestring
The unique value to represent the option
Example:
123labelstring
The display label for the option
Example:
Option A]
dataFormatstring
The data format or pattern expected for the field, e.g., 'yyyy-MM-dd' for a date field.
Example:
yyyy-MM-ddsizeMininteger<int32>
The minimum size or length for the data entered in the form field.
Example:
3sizeMaxinteger<int32>
The maximum size or length for the data entered in the form field.
Example:
50FormFieldDto
{
"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
}