Expressions (calculations)

Download

 

Description

Expressions can be used within Infocapture, to produce calculated values. These expressions 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.

However, expected mid 2018 will be an Expressions Wizard within the form builder. This will mean that one will no longer be expected to type out formulas to make calculations within the form. Please get in touch if you would like to examine our prototype!

 

Functionality Demonstrated

Expressions and calculations: Go to Checkout Form to edit to explore the demonstrated 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}

More information on how to use expressions within Infocapture are available here: https://discover.claromentis.com/intranet/knowledgebase/article_view.php?id=59

Created on 30 January 2018 by Jon Mulhern. Last modified on 8 May 2018

Was this helpful?  

1 Like
Share

[Discuss]

photo
{{ comment.user.is_me ? cc.translations.my_comment : comment.user.name }} {{ comment.user.is_me ? cc.translations.my_comment : comment.user.name }} {{comment.user.name}} [wrote]...
[Reply] [Like] [Unlike]  {{comment.like_count}} [person] [people] [liked this] [Edit] [Delete] {{ comment.timestamp.date_str }}

[Loading...]