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

Not visible / Hidden fields still take up space

    Details

      Description

      • Create a form with 5 (can be more or less, 5 for illustration purposes) fields the first being a select field, the others being text fields.
      • Make one select option
      • Set the visibility expression for the 3 following text fields to a select option. (ie. equals(selectFieldName, "optionName"))
      • Do not set the visibility of the 4th select option.
      • Load the form in the Forms portlet, do not use the select box.
      • Only the 4th text box should appear, but there is a lot of white-space in between the select box and text field.
      • Inspection of the page reveals that there are several div elements in the form where the hidden fields should be that are displaying nothing.

        Attachments

        1. Fixed.PNG
          90 kB
          Harry Chai
        2. pic1.jpg
          69 kB
          Dylan Rebelak
        3. pic2.jpg
          82 kB
          Dylan Rebelak
        4. Reproduced.PNG
          76 kB
          Harry Chai

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 26 weeks ago

                Packages

                Version Package
                7.0.0 CE GA1