Expressions IC Template

Download

 

Overview

Expressions can be used within Infocapture to produce calculated values. They should be defined as the default value of the field, which should store and display the calculated value. Such values will be unchangeable, and therefore, it's recommended that these fields be configured as disabled to avoid any confusion. Examples can be found in this form.

 

How expressions work

 

Go to Checkout Form to edit the example expressions. Edit any field that is disabled (these show as greyed out). 

There are two main calculation types, parseFloat and parseInt.

parseFloat example:

{#parseFloat($line_item_1)+parseFloat($line_item_2)+parseFloat($line_item_3)-parseFloat($discount)}


parseInt example:

{#parseInt($level_of_cover)*parseInt($number_of_months)}


There is also an expression to copy the value of another field:

{#@office}

 

How to use expressions within Infocapture

 

If you have a query about expressions, please raise a support ticket for the team to assist your further :)
Created on 31 January 2018 by Hannah Door. Last modified on 25 June 2026

7788 Views   

Share