libreform / wp-libre-form

Easy native HTML5 forms for WordPress. Version 1.5 is unmaintained, but works without issue. 2.0 has been rewritten from the ground, and can be found at https://github.com/libreform/libreform
https://wordpress.org/plugins/wp-libre-form
GNU General Public License v3.0
67 stars 27 forks source link

required attribute doesn't work properly for input type=file #32

Closed anttiviljami closed 8 years ago

anttiviljami commented 8 years ago

Adding this <input type="file" name="myfile" required>

to a form causes validation to fail with an "Required fields are missing." error every time due myfile being empty.