Legacy Knowledge Base
Published Jun. 30, 2025

Calculation rule of a form doesn't work if one field is hidden

Written By

Marcos da Silva Xavier

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

  • When creating a form in DXP 7.4 and doing the steps below, the calculation field does not populate itself if the inserted number is different than 10, this prevents the second field from showing up and with that, the calculation is not performed.

Steps to reproduce:

    1. Create a new form on Content & Data > Forms
    2. Add 3 Numeric fields (Value 1, Value 2, Calculation)
    3. Switch to the Rules tab
    4. Add a rule (If Field Value 1 is equal to Value 10 Show Value 2)

 

Environment

  • DXP 7.4 

Resolution

  • A hotfix can be requested with LPS-169459.
  • Performing an upgrade to a version other than 7.4 U37 should also resolve this issue.

 

 

Did this article resolve your issue ?

Legacy Knowledge Base