Background of the issue:
I use WPML and WPForms. I've created a form with a repeater field. When the visitor adds two or more repeater fields (by clicking the "Add" button in the form), it's not possible to submit the form. In the console, I see an Ajax error. This is urgent since the form is a crucial part of campaign that will launch in a couple of days.
Since this has worked before, I've deactivated all plugins and custom scripts to identify the conflict (that's why the design looks bad). I found that deactivating WPForms Multilingual 0.4.0 fixes the problem and it's possible to submit forms with multiple repeater fields again. However, I need to use this plugin since it's a multilingual site.
What should I do? Is it possible install an older version of WPML or WPForms Multilingual to see if that solves the problem (since this worked. before)?
Screenshot from Ajax error message when trying to submit form with multiple repeater fields when WPForms Multilingual 0.4.0 is activated: hidden link
I'm happy to share login credentials to wp-admin if needed.
Here's how to recreate the issue. The sounds seems to be missing but I hope you get it anyway. Important: it the issue only occurs when clicking "Lägg till" ("Add") and adding more than one (1) repeater fields in the end of the form.
I also wonder if it's possible to download an older version of WPML (and WPForms Multilingual) from about five weeks ago? Since everything worked fine back then, it could perhaps be a temporary fix for the campaign deadline?
No wait, that screenshot was from the WPForms support and it worked for them. But I use the same WPML versions an another site and multiple repeater fields does still not work. I'll try with even older versions and post and update.
Major breaktrough! I've identified what's causing the conflict between WPML and WPForms:
It's the dropdown field (heading "Tävlar i klassen") in the repeater field.
1. Here's the form with the dropdown: hidden link
2. And here is a duplicated form with the dropdown removed: hidden link
The duplicate can be submitted even when the user adds multiple repeater fields.
The dropdown has several characters that might cause the problem like (/*+ etc. in the code. I'll see if I can narrow down which field in the dropdown that causes the conflict.
The dropdown works if WPForms Multilingual is deactivated but not when it's activated.