Table

This field is used to enter data in the form of a horizontal table where each row can have as many fields as the user desires.

{
"type": "table",
"id": "prodClaimsTable",
"label": "Product Claims",
"showInTable": true,
"isRequired": true,
"rowsCount": {
"max": 5
},
"fields": [
{
"type": "text",
"id": "prodName",
"label": "Product Name"
},
{
"type": "number",
"id": "num",
"label": "Product Number"
}
]
}

The above example creates a table field where each entry has 2 fields, a text field which stores Product name, and a number field which stores a Product Number.

Field Attributes

NameTypeDescription
idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry
rowsCountnumberIndicates the maximum and minimum numbers of rows in the table