Time

This field is used to input time in HH:MM format

{
"type": "time",
"id": "time",
"label": "Time",
"showInTable": true,
"isRequired": true,
"initValueExp": "new Date().toISOString()"
}

The example above is used to store a time entered by the user. By default it stores the live time in it because of the given initial value expression.

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
initValueExpstringEvaluates and returns the default value based on an expression