Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-90467

Ability to dynamically update the form rules based on the form field changes

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Forms
    • Labels:

      Description

      Issue
      After updating the form (i.e. change the label of a field), its form rules are not updated to reflect the changes

      **Steps to Reproduce

      1. Start up Liferay DXP 7.1 + DXP-6
      2. Go into Liferay DXP (Site) > Content > Forms
      3. Create a new form with the following content:
        1. Add a Single Selection - Title it "A", with two selections "Radio 1" and "Radio 2"
        2. Underneath it, add a Select From List - Title it "B", with some manual data (arbitrary)
      4. Click Publish Form
      5. Go to the Rules tab and create a rule with the following content:
        1. If "A" - "Is equal to" - "Value" - "Radio 1"
        2. Do "Show" - "B"
      6. Save the Rule
      7. Click the Builder Tab again, and modify the "Radio 1" option from "Radio1" to "Radio 3"
      8. Go back to the Rules tab and notice the rule shows "radio1", then edit the Rule to look at the value

      Actual Behavior
      Notice how the Rules Builder shows "radio1" which is the actual "field name" that was adopted from the original "Radio 1" label. However, when we try to edit the field, notice how the last field shows "Choose an Option"

      Feature Request
      Add the ability to dynamically update the form rules based on the form field changes.

        Attachments

          Activity

            People

            • Assignee:
              team-forms Product Team Forms
              Reporter:
              jordi.rodo Jordi Rodó
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package