This thread is resolved. Here is a description of the problem and solution.
Problem: When trying to save form configuration in WPForms under settings -> notifications -> Advanced -> File Upload Fields, the selected files to upload disappear after saving. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Edit the
After making these changes, please try to replicate the issue. This solution has been tested on a sandbox site and works as expected.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to save form configuration in WPForms under settings -> notifications -> Advanced -> File Upload Fields. After saving, the selected files to upload disappear. In the JSON in the post, I see: "file_upload_attachment_fields":{"hidden":"[6,7]"} instead of "file_upload_attachment_fields",[6,7]. This issue only occurs when WPML Multilingual is activated. After manually setting the data in the post, everything works as expected.
Symptoms:
Normal form behavior breaks after saving the configuration. The JSON in the post changes unexpectedly to: "file_upload_attachment_fields":{"hidden":"[6,7]"} after one save and "file_upload_attachment_fields":{"hidden":"["6","7"]"} after saving again.
Questions:
Why does the JSON change unexpectedly when WPML Multilingual is activated?
How can I prevent the file upload fields from disappearing after saving?
Hi, Thanks for setting up the sandbox environment. We need wpforms basic to reproduce the error. The [file upload] option is not available in the free version.
Hi, there is no licence key. As so as i tick the [file upload] option, the plu-in response is: "To access the File Upload field, please enter your WPForms license key." Should I use our own?