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
Name | Type | Description |
---|---|---|
id | string | Assigns a name for the given field on the backend. This name can be used to refer this field in another field |
label | string | Adds a label to the given field |
isRequired | boolean | Makes a field mandatory |
showInTable | boolean | Displays the field in a table after saving the entry |
initValueExp | string | Evaluates and returns the default value based on an expression |