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

As a Form Admin, I want to check a summary of responses for my numeric field question

    Details

    • Type: Story
    • Status: Ready for Development
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Forms

      Description

      As a Form Admin, I want to check a summary of responses for my numeric field question

      Design Deliverables

      Mockups
      Component

      Context

      One of the main purposes for a Form is to make Surveys and that's one of the main gaps that Liferay Forms has. During the product's life, we saw many users deciding to use Google Forms or some other Form Tool instead of Liferay Forms because they needed a Form answers summary report and didn't have one. Now we are trying to fix that by providing a brand new Answers Reports capability in Liferay Forms.

      In this Story's scope, users should be able to:

      1. Check the total sum of all numbers submitted;
      2. Check the arithmetic average of all numbers submitted;
      3. Check what was the lowest number submitted;
      4. Check what was the highest number submitted;
      5. Check the number of total answers that my Numeric field type had.

      Acceptance Criteria

      1- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when one or more Form Submitter has already submited answers to the Numeric Field,
      then the Form Admin should be able to check the Form Report and identify how many answers the Field had.

      2- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when the Form already had submissions, but none of them has answered the Field,
      then the Field card should still be displayed in the Form Report, but with a "No Responses yet" status.

      3- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when one or more Form Submitter has already submited answers to the Numeric Field,
      then the Form Admin should be able to check the Form Report and see a list with all entries of the Numeric Field.

      4- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when one or more Form Submitter has already submited answers to the Numeric Field,
      then the Form Admin should be able to check the Form Report and understand the sum of all entries submitted;

      • The Sum number format must be display a thousand separator and decimal separator;
      • The Sum number format should simple round the number when the number of digits overflows the box, but show all decimals number in the tooltip when a user hovers it;

      5- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when one or more Form Submitter has already submited answers to the Numeric Field,
      then the Form Admin should be able to check the Form Report and understand the arithmetic average of all entries submitted;

      • The average number format must be display a thousand separator and decimal separator;
      • The average number format should simple round the number when the number of digits overflows the box, but show all decimals number in the tooltip when a user hovers it;

      6- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when one or more Form Submitter has already submited answers to the Numeric Field,
      then the Form Admin should be able to check the Form Report and understand what is the lowest number submitted;

      • The min number format must be display a thousand separator and decimal separator;
      • The min number format should simple round the number when the number of digits overflows the box, but show all decimals number in the tooltip when a user hovers it;

      7- Given that a Form Admin created a Form with a Numeric Field Type and published;
      when one or more Form Submitter has already submited answers to the Numeric Field,
      then the Form Admin should be able to check the Form Report and understand what is the highest number submitted.

      • The max number format must be display a thousand separator and decimal separator;
      • The max number format should simple round the number when the number of digits overflows the box, but show all decimals number in the tooltip when a user hovers it.

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Verify if the test labels were added;
      • 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

          Activity

            People

            • Assignee:
              matheus.xavier Matheus Xavier
              Reporter:
              matheus.xavier Matheus Xavier
              Recent user:
              Matheus Xavier
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package