I use file field
in autoForm
.
I would to get file name
{{> afQuickField name='uploadFile' accept=".tar"}}
AutoForm.hooks({
fileUpload: {
onSubmit: function (insertDoc, updateDoc, currentDoc) {
................; // get file name
Please help me.