Phone
This field is used to input a phone number along with a country code in a workflow.
{"type": "phone","id": "Phone","label": "Phone No.","showInTable": true,"isRequired": true}
The above example is a required field where the user inputs a phone number with a country code and the editor verifies if it is a valid phone number or not.
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 |