Audio
This field is used to upload audio in a given entry. The user can record audio live or upload an audio file by browsing their device. The user has the option to capture live location, limit the size of the audio file, or make it a required field etc.
{"type": "audio","id": "sound","label": "Sound","showInTable": true,"isRequired": true,"captureLocation": true,"sizeLimitMb": 5}
In the example above the user is uploading a live or previously recorded audiio file to the field name "Sound" which gets saved in the id "sound". The field is required(*) and will be shown in the table after saving the entry. The maximum size limit of the audio file is 5 MegaBytes.
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 |
captureLocation | boolean | Captures the live location of the user |
isRequired | boolean | Makes a field mandatory |
showInTable | boolean | Displays the field in a table after saving the entry |
sizeLimitMb | number | Limits the size of the uploaded file |