Senpiper
  • Introduction to Senpiper One Resource
  • Getting started
    • Overview
    • Log in to the platform
    • Web workspace
    • Mobile Applications
    • White-labeled Apps and custom domains
  • Groups/Applications
    • Groups Overview
    • How to create groups?
    • Open vs Closed groups
    • Managing group members
      • Types of group members
      • Manual Group member management
        • Adding users individually
        • Adding users in bulk
        • Removing users
      • Automated user management
        • How to define criteria for adding users?
        • How to auto-remove users?
        • User Removal Alerts and Task Delegation
    • Group Details on web
      • Form Table View
      • Kanban View
      • Group chats
      • Pending task (assigned to you)
        • How to access the tasks assigned to you?
        • How to take actions on the tasks assigned to you?
        • How to toggle between different views?
    • Group Details on Mobile Apps
      • Managing Group Views
      • Group Chat Features
      • Form Submissions
        • Form card settings
      • Media Directory
        • How to create Media folder ?
        • How to upload media ?
        • How to delete Media ?
      • Pending Tasks
      • Group Settings
  • Media folders
    • Overview
    • How to access the Media Folders?
    • How to create media folders?
    • How to upload media files in folders?
    • How to delete media folders and files?
  • Scheduler
    • Overview
  • HOW TO CREATE APPLICATIONS
    • Overview
    • Tools to create an application
  • USER MANAGEMENT
    • Introduction
    • Managing users
      • User lists
        • How to create user lists?
        • How to create users?
        • How to add custom user list parameters?
      • How to add users to a user list?
        • Adding multiple users to a user list
      • More actions
        • Viewing users
        • Searching users
        • Downloading user lists
        • Delegating tasks
        • Viewing the change log of a user profile
        • Editing users
        • Deleting users
        • Blocking users
        • Unblocking users
        • Unlocking user
        • Granting permissions to users
    • Managing custom roles
      • Creating roles
      • Assigning custom roles to users
      • Removing custom roles from users
      • Granting permissions to roles
    • Roles and Users for the Reimbursement Use Case
  • FORM BUILDER
    • Introduction
    • How to create forms?
      • Basic details
      • Adding fields and saving a form
        • Types of fields
        • Default field settings
        • Individual field settings
        • Creating master records
        • Language settings for fields
      • Additional form settings
        • Conditions
          • Manage field settings
          • Copy field values
          • Conditional values of fields
            • Master Mapping
          • Validate field values
          • Calculate field values
          • Validate location
          • Face Matching
          • Append values to a field
        • Submit button settings
        • Configure pre loader
        • Configure post loader
        • Set form card layout
        • Set form table properties
    • Advanced concepts
      • Parent-child form settings
      • Using report data in forms
    • Editing forms
    • Deleting forms
    • More form options
  • WORKFLOW BUILDER
    • Introduction
      • Overview
      • Navigating workflow builder
      • How to add a new workflow?
      • How to view draft workflows?
    • Defining workflows
      • Define conditions for a workflow step
      • Define Workflow Actions
        • Configuring communication settings
        • Configuring a conditional assignee
        • Selecting an assignment strategy
      • Define workflow Step
        • Updating the status for a step of the workflow
        • Configuring button settings for a step of the workflow
          • Basic details
          • Form edit settings
          • Assignment settings
          • Comment log settings
          • Auto trigger settings
          • Time settings
      • Ending workflow
    • Editing workflows
    • Deleting workflows
    • Designing the reimbursement workflow (Path 1)
    • Designing the reimbursement workflow (Path 2)
  • ALARM BUILDER
    • Introduction
    • Alerts for form submission
      • Add New Alarm
        • Configuring the basic details
        • Defining the communication type
          • Send an Email
          • Send an SMS
          • Send an App Notification
        • Setting up the schedule for alerts
      • Viewing alarm event details
      • Editing an existing alarm
      • Deleting an existing alarm
    • Alarms for Custom Data Exports
      • Add a new alarm
        • Configuring Basic Details
        • Configure Content
        • Define Schedule
      • View Alarm event details
      • Clone a Alarm
  • General System Settings
    • Introduction
    • Authentication settings
      • Login option Preferences
      • Password settings
      • Custom URLs
    • Organization Branding
    • Custom Settings
    • Enable Sign-Up
      • Build a Sign-up form
      • Settings for Sign-up form
      • Customize Sign-up form
  • DIGITIZE A SAMPLE PROCESS
    • Overview of the process
    • Step 1: Register a company
    • Step 2: Create a group/Application
    • Step 3 : Design forms
    • Step 3: Create Process flow
    • Step 4 : Set up the communication
    • Testing the platform
  • Process migration
    • Introduction
  • Different types
  • Steps for migrating any process
Powered by GitBook
On this page

Was this helpful?

  1. FORM BUILDER
  2. How to create forms?
  3. Additional form settings
  4. Conditions

Calculate field values

PreviousValidate field valuesNextValidate location

Last updated 2 years ago

Was this helpful?

This feature is used to apply values from specific fields to calculate the value of other fields.

To calculate a field value,

1. Under Calculate field values, to enter a condition for calculating field values, click Set condition.

Let's say we there are 3 fields in a form: Number of days, Expense per day and Total expense. The Total expense can be calculated by using the formula: Total expense = Number of days * Expense per day. Let's add in a condition that the Total expenses field will only be auto-calculated if the Number of days is greater than 1.

2. To configure a condition for the calculation of a value for the field, under Calculate field values, click Set condition.

The Set condition screen is displayed.

2. To add a condition, click Add rule.

The option to add a condition is displayed.

3. To enter the condition, enter the required field name, operator and the field value and then click Apply.

The condition is added in the Calculate field values tab.

3. In the text area, enter the required formula using the keypad on the right.

To use the standard math functions namely algebraic, logarithmic and trigonometric functions, click Add func.

Add func. has 2 categories: Custom functions and Math functions.

Math functions are algebraic, logarithmic and trigonometric functions.

Custom functions includes some commonly used custom made javascript expressions like getDate(), getMonth(), Sum(), average() and more.

The Paste formula is auto-filled based on the formula entered in the text area.

4. In Select field for final output, select the field in which the calculated value is to be displayed.

5. To save the settings, at the bottom right of the screen, click Save.

Based on the formula and settings configured above, the Total expense field will be auto-filled whenever the Number of days field has a value greater than 1.