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

Form errors are not cleared if the field was visible and then became hidden disallowing the form to be submitted

    Details

      Description

      Steps to Reproduce:
      1) Create a New Form
      2) Add a Text Field labeled "A" and make it Required
      3) Add another Text Field labeled "B", make it Required, and fill the Field Visibility Expression with A>10
      4) Add another Text Field labeled "C", make it Required, and fill the Field Visibility Expression with A<10
      5) Add the Form to a page
      6) Submit the form without filling out anything and observe that the fields are required in order to do so
      7) In Text Field A, insert 11
      8) Observe Text Field B shows and insert 11 in the text field, as well
      9) Attempt to submit the form

      Expected Behavior: Form is Submitted successfully
      Actual Behavior: The Form does not submit

      Note - This for 7.0.x only because there are no Field Visibility Expressions in Master or 7.1.x.

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            jonathan.mccann Jonathan McCann
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 5 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP69
                7.0.X