You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uploader.onAfterAddingFile=function(fileItem,e){varfileName=fileItem.file.name.split('.');if(fileName.length<2){alert("Uploaded file must have a valid extension! For more information see the Supported Formats")}varfileExtension="."+fileName.pop();fileItem.file.name=e+fileExtension;console.info('onAfterAddingFile',fileItem);}
I wonder if I can retrieve the name of the input and rename the uploaded file? Thanks!
The text was updated successfully, but these errors were encountered:
In my html:
and my uploader:
I wonder if I can retrieve the name of the input and rename the uploaded file? Thanks!
The text was updated successfully, but these errors were encountered: