- Status
- Resolved
- Reported for
- WPForms Multilingual 0.5.0
- Resolved in
- WPForms Multilingual 0.5.1
- Related plugin/theme
- WPForms
- Topic tags
- Compatibility
Overview of the issue
After updating to WPForms 1.10.0.5, translated values from multilingual choice fields such as:
- Multiple Choice
- Checkboxes
- Dropdowns
- GDPR Checkbox fields
may fail validation when submitted on translated forms. As a result, forms may not submit correctly
This happens because WPForms introduced stricter validation for submitted choice values.
Workaround
Please, make sure of having a full site backup of your site before proceeding.
- Open your functions.php file.
- Add the following code:
add_filter( 'wpforms_field_choices_allow_unknown_value', '__return_true' );