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

Invisible fields have their values saved with the Form entry

    Details

      Description

      Steps to reproduce:

      1. Create a form with 2 fields and one rule:
        • Fields:
          • Single Selection:
            • 2 options: "yes" and "no";
          • Text Field;
        • Rule:
          • If Field [Single Selection] is equal to Value [yes] Show [Text Field];
      2. Publish the form;
      3. Go to the form's page;
      4. First, select "yes" on the Single Selection field;
      5. Type any text in the Text Field;
      6. Select "no" on the Single Selection field;
      7. Submit this entry;
      8. Go back to view this form's entries;
      9. Assert that the only form entry is:
        • Single Selection: no;
        • Text Field: [text you typed].

      Expected result:
      The entry should be successfully saved with its invisible fields blank.

      Actual result:
      All fields have their last values saved, even the invisible ones.

        Attachments

          Activity

            People

            • Assignee:
              tai.nguyen1 Tai Nguyen
              Reporter:
              rodrigo.paulino Rodrigo Paulino
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks, 4 days ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                Master