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

[Calculation] - As a form builder, I would like Forms to support mathematical operations for a list of values to allow the form user to perform calculations using the Form interface.

    Details

    • Type: Story
    • Status: Backlog
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Forms
    • Epic Link:
    • Sprint:
      Forms #38 - Mar 20 - 31, Forms #39 - April 03 - 14, Forms_Old_Backlog

      Description

      Goal:

      • Allow mathematical operations using Forms interface.

      Users:

      • Form Builder

      Benefits:

      • Increase forms personalization performing mathematical operations with values provided by the form user;
      • Display the result from mathematical operations into a form.

      User Story:

      As a form builder, I would like Forms to support mathematical operations for a list of values to allow the form user to perform calculations using the Form interface.

      DOD:

      1. Allow the form user to include new entries in a form (repeatable fields);
      2. Perform the following arithmetical calculations for a list of values in a form:
      • Addition
      • Subtraction
      • Multiplication
      • Division
      1. Allow values typed into fields to be part of the mathematical expression (i.e.: I could multiply a field named "Quantity" with another named "Price");
      2. The form builder should be allowed to choose the target field (which will display the result of the mathematical expression defined by him/her);
      3. Display constant values to the form builder (from 0 to 9);
      4. The form builder could build the operations either using a visual calculator with the arithmetical signs and values (from 0 to 9) or inputing with the keyboard.

      Use Case:

      • As a admin analyst, I would like to use Liferay Forms to build a reimbursement app, so that I can perform calculations, currency conversions and establish expenditure limits.

      For this use case, the form user should be allowed to include new fields and these fields (repeatable) should be included in the form calculation.

      Product Design references:

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            charlles.pinon Charlles Pinon (Inactive)
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package