File input (label) has no value when submitting the form (AJAX) – Jquery
I have a form with <input type="file">. It has display:none, so to style it I'm using a label. Every required input in the form has a "required" class. When it's empty the form won't be sent and there is a…