Legacy Knowledge Base
Published Jul. 2, 2025

Form field values are not saved when translations are added

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Steps to reproduce:
    1. Start Liferay with Commerce installed.
    2. Go to Content > Forms > Element Sets
    3. Add a new element set
    4. Add a text field to the element set
    5. Add any translation to the element set and save.
    6. Go back to form and add any new form
    7. Add the element and save
    8. Now, add any translation to the form
    9. In the Properties tab of the Text field, add a Predefined value and Save (if you add it to the default language, it should automatically be saved to the translated field too)
    10. Preview the form.
    11. Predefined value is not showing for translation added.

    Expected Result: The predefined value is displayed on the editor and on the side bar when the non-default language is chosen, going against the rules of forms for fields based on element sets
    Actual Result: The value shouldn't be displayed on the editor and on the side bar when the non-default language is selected.

Environment

  • Liferay DXP 7.1
  • Liferay DXP 7.2
  • Liferay DXP 7.3

Resolution

  • The observed behavior is a known issue/bug.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base