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

Repeatable fields, control how many instances of the field a user can add

    Details

    • Type: Feature Request
    • Status: Won't Do
    • Priority: Minor
    • Resolution: Workaround
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      A client recently asked for the ability to control the number of instances of a repeatable field when defining the field.

      The client plans to have dozens of forms, each with a generic workflow that triggers code to send the form content (and the attachments) to a back end ticketing system with routing of tickets based on custom hidden form fields whose values are populated when the form is being designed.

      The back end system allows a maximum of 3 attachments, so they would like to restrict the repeatable function to only allow the user to add a maximum of X Upload fields.

      The alternative is including 3 separate Upload fields which is what they are now doing. The question came up because the show / hide form rules don't work for Upload fields, they tried to toggle the second Upload field when the user had selected a file in the first etc.

      See https://issues.liferay.com/browse/PTR-1307

        Attachments

          Activity

            People

            Assignee:
            luiz.jardim Luiz Jardim
            Reporter:
            michael.wall Michael Wall
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package