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

As a form creator, I want to create masks for my integer numeric type fields

Details

    Description

      Context:

      In several use cases, to allow the user a better filling/reading experience, it is important to provide the known format of a given information, mainly if we are talking about long numbers. Some very known information that we use to see in a specific format are phone numbers, social security numbers, ID number, zip code, card number, bar codes and many others.

      Notes:

      After analyzing the complexity of the context, we decided to divide this story and have a separeted one for decimal numbers.

      Design Deliverable

      Mockup

      Acceptance Criteria

      1 - Given a form creator,
      when adding a integer numeric type field,
      then I must be able to add a mask to that field.

      • The masking setting should not appear for decimal numbers for now

      2 - Given an form creator,
      when adding a integer numeric type field,
      then I should be able add flexibility for my user to fill in the form.

      • The default mask should show only the required ones 

      3 - Given a form creator,
      when creating a mask for a numeric field,
      then the field should be localizable.

      • All characters are allowed for the Format field, except: 1,2,3,4,5,6,7,8

      4 - Given a form creator,
      when creating a mask for a numeric field,
      then I must add at least a 0 or a 9.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Code with peer review completed;
      • Validated by QA, Product Designer and/or PM;
      • No critical bug related to Story scope (ex.: similar of FP4, FP5);
      • Make sure that all system documentation were updated (if necessary)
      • Make sure that it has the extensions points needed to allow GS and customers to customize the feature (If applicable)

      Attachments

        Issue Links

          Activity

            People

              luiz.jardim Luiz Jardim
              luiz.jardim Luiz Jardim
              Luiz Jardim Luiz Jardim
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.13 DXP GA1
                  Master