Form attachments cleared after submission error


(John) #1

Matrix Version: 5.3.3.0

Hi guys,

I have noticed an issue with form file attachments. If a user attaches a document, then submits the form with errors, the form reloads, all text fields are retained, but the attachment is missing. In this instance the question is not required so the users are not noticing this and submitting the form without an attachment. Has anyone found a solution to this problem?

Thanks!


(Bart Banda) #2

What are the form errors? Are they ones you can catch with client side JS validation before the form even submits?


(John) #3

Hi Bart I did a bit of sleuthing and it looks like you can’t populate a file input field due to browser security restrictions :frowning: nothing to do with matrix