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

フォームの計算フィールドでは、いくつかのルールを定義した後に編集できます

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

問題

  • 3 つの数値フィールドを含むフォームを作成し、そのうちの 1 つを計算専用にすると、編集を妨げるシステムからのブロッカーなしで、この計算フィールドを編集できます。 これは 7.2 ではできませんでした。

再現する手順:

  1. Content & Data > Forms で新しいフォームを作成する
  2. 3 つの数値フィールドを追加します (値 1、値 2、計算)
  3. ルールを追加します (フィールド値 1 が空でない場合は、[値 1]+[値 2]を計算に計算します)
  4. フォームのタブに戻る
  5. フォームを保存する
  6. プレビューボタンをクリックします
  7. 値 1 のフィールドに任意の数値を入力します
  8. 計算フィールドの値を変更します

環境

  • DXP 7.4

解決策

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

did-this-article-resolve-your-issue

legacy-knowledge-base