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

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
captureLocationbooleanCaptures the live location of the user
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry
sizeLimitMbnumberLimits the size of the uploaded file