legacy-knowledge-base
公開されました Jun. 30, 2025

1 つのフィールドが非表示の場合、フォームの計算ルールが機能しない

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

learn-legacy-article-disclaimer-text

問題

  • DXP 7.4 でフォームを作成し、以下の手順を実行すると、挿入された数値が 10 以外の場合、計算フィールド自体が入力されません。これにより、2 番目のフィールドが表示されなくなり、計算が実行されません。

再現する手順:

    1. Content & Data > Forms で新しいフォームを作成する
    2. 3 つの数値フィールドを追加します (値 1、値 2、計算)
    3. [ルール] タブに切り替えます
    4. ルールを追加します (フィールド値 1 が値 10 と等しい場合、値 2 を表示)

Environment

  • DXP 7.4

解決策

  • ホットフィックスは LPS-169459でリクエストできます。
  • 7.4 U37 以外のバージョンにアップグレードすると、この問題も解決するはずです。

did-this-article-resolve-your-issue

legacy-knowledge-base