Hi, Iām running into the same error so i will try to explain it in more detail.
Description
What iām trying to do is to add an āfile upload fieldā to the contact form 7 form. The input button renders correctly and the window to upload a file opens. The form template looks like this.
Your name
[text* your-name]
Your email
[email* your-email]
Subject
[text* your-subject]
Your message (optional)
[textarea your-message]
[file]
[submit āSubmitā]
But upon submitting a file the page turns blank and the following error shows up in the console.
As far as i can tell the contact form 7 package tries to set the value of the file input field in the same way it does the normal input fields and causes it to break.
As this package has been created by an external contributor (@imranhsayed) you should open an issue in the pluginās repo so the author can tell you if the Fronrity package is prepared to deal with file fields
After looking over the repo it does look like the package does not have support for file upload yet, i will look at another form solution. Thanks for the replies.
The current version of the Frontity Contact Form 7 package is fairly rudimentary and only supports input type=text and textarea fields, so file upload is not supported, nor are select form elements or other input types such as radio or checkbox.
As far as weāre aware Imran doesnāt seem to be supporting it anymore, but itās released under the GPLv2 licence, so feel free to fork it and develop it further to update/enhance it, or contribute to the existing project. Support for more form elements would be useful for anyone working with Frontity and CF7.