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

Field Groups remain visible even though all Fields are hidden through Form Rules

    Details

      Description

      Steps to Reproduce

      1. Start up a clean instance of DXP 7.3
      2. Create a new Form called ‘Upload Data’
      3. Drag a Single Selection field to the form with the following options:
        1. Spreadsheet Upload
        2. Enter List
      4. Drag an Upload field onto the form
      5. Drag two text fields onto the form, one labeled ‘Item Name’ and another labeled ‘Item Description’
      6. Arrange the two text fields so that the fields form a Fields Group
      7. Click on the Fields Group and modify the settings to enable the ‘Repeatable’ option
      8. Go to the Rules tab of the Form
      9. Create two rules with the following definition:
        1. Condition: If Single Selection Is equal to Value Upload Spreadsheet
          Actions: Do Show Upload
        2. Condition: If Single Selection Is equal to Value Enter List
          Actions: Do Show Item Name AND
          Do Show Item Description
      10. Preview the Form

      Expected Behavior: All fields are hidden until a user selects either 'Upload Spreadsheet' or 'Enter List'

      Actual Behavior: The Fields Group that contains the Item Name and Item Description fields is still visible, and the user can duplicate these Fields Groups

      Testing

      Branch – Reproduced

      • 73x hash: ca8f9e0eb31081ea6d972a7811a9e342edfb9f5b

      Master – Reproduced

      • master hash: c33cc433de705c786a03eae1a242e4bb5fb4550d

        Attachments

          Activity

            People

            Assignee:
            carolina.barbosa Carolina Barbosa
            Reporter:
            lino.alves Lino Alves
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Lino Alves
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              41 weeks, 5 days ago

                Packages

                Version Package
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                7.4.13 DXP GA1
                Master