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

As a form admin, I want to be able to request datetime from my users

Details

    Description

      Context:

      Many use cases require datetime values. For example:

      • In commerce orders, every time a shipment passes to the next stage in the delivery process, the time needs to be documented when the paymenet was confirmed, when delivered to the transport company, or deliverd to the buyer.
      • In customer portals, datetime is used to track SLA and to order answer priority with the customer support.
      • In flight ticket companies, the time of the flight are important information about the tickets that the customer buy in the portal.

      Out of the context of this story:

      • Field support in Forms Rules
      • Field support to validations

      Design Deliverables

      Mockup

      Acceptance Criteria

      1 - Given a form admin,
      when creating a form,
      then I must be able to add datetime field in my form

      • This field should be available only in the forms sidebar for now.

      2 - Given a form admin,
      when adding a datetime field in my form,
      then I must be able to set the following properties

      • Label
      • Help Text
      • Required
      • Field Reference
      • Predefined value
      • Searchable
      • Show label
      • Repeatable

      3 - Given a form user,
      when filling the form,
      then I should see the field format in the selected language of the form

      4 - Given a form admin,
      when checking the answers in entries and view entries,
      then I should see the values in the portal language format

      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)

      Attachments

        Issue Links

          1.
          [DS] Mockup LPS-143169 Design task Closed Julia Lira  
          2.
          [FE] Format the value of input hidden according to the field type LPS-144709 Technical Task Closed Rebeca Silva  
          3.
          [FE] Create a variable called use12Hours LPS-144708 Technical Task Closed Rebeca Silva  
          4.
          [PM] Acceptance Criteria LPS-143385 Technical Task Closed Luiz Jardim  
          5.
          [FE] Adjust getDateMask to consider dateTime LPS-144710 Technical Task Closed Rebeca Silva  
          6.
          [FE] Add a new case (date_time) on switcher of checkType LPS-144711 Technical Task Closed Rebeca Silva  
          7.
          [BE] Create DateTimeDDMFormFieldTypeSettings LPS-144713 Technical Task Closed Rodrigo Paulino (Inactive)  
          8.
          [BE] Create feature flag LPS-144712 Technical Task Closed Rodrigo Paulino (Inactive)  
          9.
          [BE] Create DateTimeDDMFormFieldType LPS-144714 Technical Task Closed Rodrigo Paulino (Inactive)  
          10.
          [BE] Adapt DDMFormFieldTypeServicesTracker LPS-144715 Technical Task Closed Rodrigo Paulino (Inactive)  
          11.
          [BE] Add to TextDDMFormFieldTypeReportProcessor LPS-144716 Technical Task Closed Rodrigo Paulino (Inactive)  
          12.
          [BE] Create a new method in DateParameterUtil LPS-144717 Technical Task Closed Rodrigo Paulino (Inactive)  
          13.
          [BE] Adapt DateDDMFormFieldValueRenderer LPS-144718 Technical Task Closed Rodrigo Paulino (Inactive)  
          14.
          [BE] Create tests (unit or integration) LPS-144719 Technical Task Closed Product Team Bravo (Inactive)  
          15.
          [QA] Review ACs and Draft TCs LPS-144833 Technical Testing Closed Support QA  
          16.
          [FE] Create unit tests LPS-145181 Technical Task Closed Rebeca Silva  
          17.
          [QA] Manual Validation - Round 01 - Failed LPS-145880 Technical Testing Closed Support QA  
          18.
          Predefined value is not working correctly on Date and Time field with English language LPS-145983 Impedibug Closed Rebeca Silva  
          19.
          Date and Time modal is not showing the typed value on field LPS-145987 Impedibug Closed Support QA  
          20.
          Date and Time entries are not showing on 'See All Entries' modal LPS-145998 Impedibug Closed Rebeca Silva  
          21.
          [QA] Manual Validation - Round 02 - Passed LPS-146293 Technical Testing Closed Support QA  

          Activity

            People

              daniel.angotti Daniel Angotti (Inactive)
              luiz.jardim Luiz Jardim
              Rodrigo Paulino Rodrigo Paulino (Inactive)
              Marcela Cunha Marcela Cunha
              Diogo Santos (Inactive), Rafaella Jordao
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master