Calculated - Mapping Type

Calculated - Mapping Type - Introduction

  • Users can calculate App Fields from your Form Fields by using 'Calculated' mapping feature.
  • Types of Calculated fields
    1. Predefined
    2. Expression
      • Standard Expression
      • Custom Expression

Predefined Calculated Values

Some of the types of predefined values that are supported are

  • Current Date/Time
  • Form Respondent Email
  • Form Author Email
  • Form Response Timestamp
  • Unique Id
  • Auto Increment

Current Date/Time

Choosing this will Include the current date and time with the specified format that you have selected

Form Respondent Email

Choosing this will include the Form Respondent Email address to the mapping field after form submission

Form Author Email

Choosing this will include the form owners email address to the mapping field after form submission

Form Response Timestamp

Choosing this will include the date and time of form submission to the mapping field after form submission

Unique Id

Choosing this will randomly generate an unique Id to the mapping field after form submission

Auto Increment

Choosing an auto increment field will keep track of your each form submission in a incremented order.

  • Open Edit Mapping
  • Choose App Field.
  • Choose Calculated Field and Type as Pre Defined.
  • Choose Auto increment from drop down list.
  • Set Prefix and digits size.
  • Save the mapping dialog.

Expression

There are two types of Expressions

  • Standard
  • Custom

Standard

This section contains some common arithmetic operations like

  • Sum
  • Difference
  • Average

Sum

Add your Form responses and direct it to your app field

  • Choose Sum in the dropdown
  • Click on add button to choose which are the fields that you need to add
  • Click on save

Difference

Subtract the values from your form responses

  • Choose Difference in the dropdown
  • Click on add button to choose which are the fields that you need to subtract
  • Click on save

Average

Get Average of the values you selected from your form response

  • Choose Average in the dropdown
  • Click on add button to choose which are the fields that you need to get average
  • Click on save

Custom

Do all your custom calculations by choosing custom

Insert the form fields into expression by click on three dots on the right corner

Check your custom expression by clicking on check expression and see your result