I have the following in Client side events in my field using File edit tag:
{ // keys = event types, values = handler functions
"change": function(e) {
$(this).fields("RescanNeeded").prop("checked",false);
}
}
When I click on the field and select a file, it unchecks the checkbox called RescanNeeded. If I drag a new file to the control instead of clicking it, the new file uploads but the checkbox doesn't change so it seems like the change handler isn't running. I guess I could turn off "Use drop zone for file upload fields" in Advanced Settings so the user can't drag and drop. Is there a way to make it work with the new control regardless of which way the file is changed?