Crocoblock / jetformbuilder

72 stars 15 forks source link

Preset field shows error with existing docx file #443

Open sakibstime opened 1 month ago

sakibstime commented 1 month ago

Hi, I set an input form to upload documents where the supported formats are docx & pdf.

It works properly for both formats while uploading as a new file.

But, the problem is with the preset field for docx.

Process flow:

For PDF File: Clicked on the Edit button to open the form > The existing pdf file was attached > I didn't change anything > Clicked on the Update button. The form was submitted successfully.

For DOCX File: Clicked on the Edit button to open the form > The existing docx file was attached > I didn't change anything > Clicked on the update button.

The form displayed the following error "The file type is not allowed".

I Tested with both versions 3.3.4.1 & 3.3.0; having the same issue.

Please review this error and fix it.