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

Form Builder - Allow no predefined value for the Radio field when the Required attribute is set to true

    Details

      Description

      Currently, it is not possible to use a Radio field with no predefined value in the Form Builder view tab. This means that setting the Required field attribute to true has no effect as there will always be an option selected.

      This can be resolved by removing the predefined tag in the Source tab, but that has its own issues..

      Steps to Reproduce

      1. Create a custom document type
      2. Add a Radio field to the document type
      3. Add options A, B, and C
      4. Select to edit the field settings
      5. The Predefined value is set and cannot be removed
      6. Go to the Document and Media Library and upload a file with the new custom document type
      7. When you get to the new Radio field, you will notice that one of the options (probably A) is already selected and there is no way to unselect it. It essentially makes this field a required field.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              jeremy.marshall Jeremy Marshall (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 27 weeks ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M2