File field (Chrome only) – not triggering upload window
-
I have added a file field to my C7F with the following code in the form template:
[file your-file]
And the following code in the Mail template under File attachment:
[your-file]
When I test the form in Chrome by clicking the “Choose File” input, nothing happens (i.e. there is no window that triggers to select a file). ONLY in Chrome does this issue happen. Firefox and Safari work just fine.
What I tried:
- Deactivating all plugins
- Current theme is a child of Twenty Twenty, so I tried switching to a different theme
- Clearing site cache as well as browser cache and opening site in an Incognito window
- Added this code to the functions.php file
add_action('wpcf7_before_send_mail', 'save_application_form' ); function save_application_form($wpcf7) { $submission = WPCF7_Submission::get_instance(); $files = $submission->uploaded_files(); }
I’m completely out of ideas at this point and would appreciate any help.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘File field (Chrome only) – not triggering upload window’ is closed to new replies.