• Resolved egroj3

    (@egroj3)


    In a Forminator form, I have a file upload field. I’ve specified two specific types of filetypes — xlsx and csv — that I will allow to be uploaded, but the form is also allowing additional filetypes to be uploaded, including webp, htm, html, js, json, and svg. How can I disable those additional filetypes?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter egroj3

    (@egroj3)

    Clarification on above: all filetypes beside xlsx and csv are currently checked off, so everything but xlsx and csv files should be disabled/not allowed for upload.

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @egroj3

    I hope you are doing well today.

    Please export your form, upload it to google drive or dropbox and share a link in your next reply so we could take a closer look at your settings.

    Kind Regards,
    Kris

    Thread Starter egroj3

    (@egroj3)

    Here’s the part that should be of interest to you:

    Please submit your file here.”,”filetypes”:[“webp”,”htm|html”,”js”,”json”,”svg”,”xlsx”,”csv”],”file-type”:”single”,”file-limit”:”unlimited”,”upload-limit”:”10″,”filesize”:”MB”,”custom-files”:”1″,”additional-type”:””,”required”:”1″,”condition_rule”:”any”,”use_library”:””

    • This reply was modified 1 year, 7 months ago by egroj3.
    • This reply was modified 1 year, 7 months ago by egroj3.
    Thread Starter egroj3

    (@egroj3)

    So I edited that line in the code and left only xlsx and csv, then I imported the full code and the import file field is working now. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Forminator Allowing Unselected Filetypes to Be Uploaded’ is closed to new replies.