Hi Jimeny,
- To disable the drag-and-drop functionality, use the following JavaScript code. Make sure to add the “disableDragDrop” CSS class to the File Upload field in Form Field Settings → Appearance → Custom CSS Class.
jQuery(document).ready(function($) {
$('.disableDragDrop').on('dragover', function(event) {
event.preventDefault();
});
$('.disableDragDrop').on('drop', function(event) {
event.preventDefault();
});
});
Final preview:
- To change the text “Choose File”, follow the previous solution provided by @chrishajer here: