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

As a form user, I want to see the masks created for 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 estimating the following story: As a form creator, I want to create masks for my integer numeric type fields, it was identified that the size of the story exceeds the maximum defined by our engineering for now (15 days).

      Design Deliverable

      Mockup

      Acceptance Criteria

      1 - Given an user,
      when seeing an empty field with a mask,
      then I should be able to identify that the field has a mask.

      2 - Given an user,
      when filling a numeric field with a mask,
      then I should be able to read the value in the field mask

      3 - Given an user from the previous criteria,
      when not filling completely the value demanded in the mask,
      then I should receive an error message.

      4 - Given an user,
      when filling a numeric field with mask,
      then the mask should be displayed according to the localizable definition.

      5 - Given an user,
      when seeing a field with a mask and a placeholder,
      then the placeholder has priority.

      6 - Given an user,
      when seeing a field with a mask and a predefined value,
      then the predefined value should fill the mask in the field.

      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

          1.
          [PM] Acceptance Criteria LPS-130849 Technical Task Closed Luiz Jardim  
          2.
          [DS] Mockups LPS-130850 Technical Task Closed Victor Santos  
          3.
          [BE] Send the inputMaskFormat property to FE LPS-132353 Technical Task Closed Carolina Barbosa  
          4.
          [FE] Apply the mask while the user is typing LPS-131738 Technical Task Closed Milton Castro  
          5.
          [FE] Show the mask as a placeholder if the field does not have a placeholder LPS-131737 Technical Task Closed Milton Castro  
          6.
          [FE] Apply the mask on the predefined value LPS-131739 Technical Task Closed Aline Cantarelli  
          7.
          [FE] Validate that the field value is in accordance with the mask LPS-131740 Technical Task Closed Milton Castro  
          8.
          [FE] Show value with mask in the Entries tab (report-web module) and in the View Entries LPS-132351 Technical Task Closed Carolina Barbosa  
          9.
          [FE] Create unit tests LPS-132350 Technical Task Closed Milton Castro  
          10.
          [BE] Do not allow the submission of the form if the value is not in accordance with the mask LPS-132352 Technical Task Closed Carolina Barbosa  
          11.
          [BE] Create unit tests LPS-132355 Technical Task Closed Carolina Barbosa  
          12.
          [BE] Add Feature Flag LPS-132354 Technical Task Closed Carolina Barbosa  
          13.
          [QA] Review ACs and Draft TCs LPS-131948 Technical Testing Closed Diogo Santos  
          14.
          [FE] Create remaining cases of masks LPS-133086 Technical Task Closed Aline Cantarelli  
          15.
          [FE] Remove mask before submit the Form LPS-133179 Technical Task Closed Aline Cantarelli  
          16.
          [QA] Manual Validation - Round 01 - Failed LPS-134076 Technical Testing Closed Gleice Lisbino  
          17.
          Input mask does not work correctly when starting with zero LPS-134162 Impedibug Closed Carolina Barbosa  
          18.
          The predefined value has an inconsistent behaviour when input mask is enabled and used on the Numeric field LPS-134259 Impedibug Closed Milton Castro  
          19.
          [QA] Manual Validation - Round 02 - Passed LPS-134611 Technical Testing Closed Support QA  
          20.
          [PM] Acceptance Criteria LPS-134681 Technical Task Closed Luiz Jardim  

            Activity

              People

              Assignee:
              luiz.jardim Luiz Jardim
              Reporter:
              luiz.jardim Luiz Jardim
              Engineering Assignee:
              Product Team Forms
              Recent user:
              Luiz Jardim
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  Master