Skip to content Skip to sidebar

Resolved

Reported for: WPForms Multilingual 0.5.0

Resolved in: WPForms Multilingual 0.5.1

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' );

2 Responses to “WPForms - Translated choice fields fail validation”

  1. Hello,

    We found another issue that seems related to WPML/taxonomies.

    When trying to add a new WooCommerce product category from Products → Categories, WordPress shows the error:

    “Empty Term.”

    This happens even with a simple category name/slug, and it also happens when trying to duplicate an existing product category.

    We already tested:

    * WPML String Translation disabled
    * WooCommerce Multilingual disabled
    * WoodMart Core disabled
    * WPML troubleshooting actions: Set language information, Fix terms count, Synchronize post taxonomies, Clear WPML cache

    The issue still happens.

    Can you please check the WPML taxonomy/term tables and WooCommerce product_cat language data? It looks like product category creation is being blocked or corrupted by taxonomy/language handling.

    Thanks.

    • Hi Sohaila,
      This issue doesn’t seem related to the problem mentioned in this errata. You could start by using our troubleshooting options.
      – From WPML: Set language information, Fix terms count, Synchronize post taxonomies, Clear the WPML cache
      – From WCML: Synchronize metadata for product categories

      If the issue persist, please open a chat on our support forum, one of our agents will assist you.