{"id":89403,"date":"2016-09-15T16:23:48","date_gmt":"2016-09-15T14:23:48","guid":{"rendered":"https:\/\/kizeoformscom.kinsta.cloud\/the-calculation-element\/"},"modified":"2021-01-28T16:21:37","modified_gmt":"2021-01-28T15:21:37","slug":"the-calculation-element","status":"publish","type":"post","link":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/","title":{"rendered":"Understanding and using the Calculation field"},"content":{"rendered":"<p><span style=\"color: #808080;\"><em>Automate your calculations with the Calculation element.<\/em><\/span><\/p>\n<h2>Presentation of the\u00a0Calculation field.<\/h2>\n<p>Insert a calculation field and\u00a0access its features: Go to the element options by clicking on the\u00a0<strong>pencil<\/strong>.<\/p>\n<p><a href=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/features-pencil-calculation.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-103874 size-full\" title=\"Calculation field with Kizeo Forms\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/features-pencil-calculation.png\" alt=\"Calculation field with Kizeo Forms\" width=\"1200\" height=\"685\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/features-pencil-calculation.png 1200w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/features-pencil-calculation-300x171.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/features-pencil-calculation-1024x585.png 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/features-pencil-calculation-768x438.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>Several options are available to you under the <strong>Properties<\/strong> tab:<\/p>\n<ul>\n<li>Define how many\u00a0<strong>digits after the decimal point\u00a0<\/strong>will be included in your results.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66784\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point.jpg\" alt=\"Numbers after the decimal point\" width=\"1300\" height=\"389\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point.jpg 2780w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point-300x90.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point-1024x306.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point-768x230.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point-1536x460.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Numbers-after-the-decimal-point-2048x613.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Define the\u00a0<strong>type\u00a0<\/strong>of results in your calculation: number or time.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66790\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode.jpg\" alt=\"calculation display mode\" width=\"1300\" height=\"380\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode.jpg 2778w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode-300x88.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode-1024x299.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode-768x224.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode-1536x449.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-display-mode-2048x599.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>By checking the <strong>Editable entry<\/strong> box,\u00a0you can change the results of your calculation. For example, if you want to round the results.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66796\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry.jpg\" alt=\"calculation modifiable entry\" width=\"1300\" height=\"391\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry.jpg 2782w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry-300x90.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry-1024x308.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry-768x231.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry-1536x462.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-modifiable-entry-2048x615.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Under the\u00a0<strong>Calculation<\/strong> tab, you will define the fields to calculate.<br \/>\n<a class=\"kizeo-anchor\" name=\"calculate-sum-of-a-table\"><\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66802\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula.jpg\" alt=\"tuto-image-border\" width=\"1300\" height=\"559\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula.jpg 2776w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula-300x129.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula-1024x440.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula-768x330.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula-1536x661.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-formula-2048x881.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>The <strong>Calculation<\/strong>\u00a0tool has several functions.<br \/>\n<strong><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Simple calculation<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/strong><\/p>\n<p>Consider the following example: You want the price for an order to be automatically calculated.<\/p>\n<p><span style=\"text-decoration: underline;\">In the back-office.<\/span><\/p>\n<p>Example: Start by inserting an<strong> Input\u00a0field <\/strong>and go to its properties:<br \/>\nRename it according to the needs of your form and choose the type that you need. In our example, the <strong>Entry field<\/strong>\u00a0will be called \u201cPrice\u201d and will be a \u201cdecimal number\u201d type.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66809\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal.jpg\" alt=\"input field digital decimal\" width=\"1300\" height=\"389\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal.jpg 2790w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal-300x90.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal-1024x306.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal-768x230.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal-1536x459.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/input-field-digital-decimal-2048x612.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Insert as many <strong>Input\u00a0fields<\/strong> as necessary to make your calculation and set the properties of these fields.<\/li>\n<li>Then insert your <strong>Calculation<\/strong><em>\u00a0<\/em>field and go into its options.<\/li>\n<li><strong>Add the \u201cPrice\u201d field <\/strong>in the &#8216;formula of calculation&#8217;.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66815\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field.jpg\" alt=\"Add a calculation field\" width=\"1300\" height=\"560\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field.jpg 2776w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field-300x129.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field-1024x441.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field-768x331.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field-1536x662.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Add-a-calculation-field-2048x882.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #95c01f;\">Note\u00a0<\/span>: To define what multiplication is, you must enter &#8221; <span style=\"color: #ff0000;\">*<\/span> &#8221; on the keyboard. Calculation signs are performed manually on the keyboard.<\/p>\n<ul>\n<li>Multiply with another field, like &#8220;Quantity&#8221; as shown here.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66821\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields.jpg\" alt=\"multiply multiple fields\" width=\"1300\" height=\"572\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields.jpg 2766w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields-300x132.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields-1024x450.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields-768x338.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields-1536x675.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/multiply-multiple-fields-2048x900.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>Once completed, confirm and save your form.<\/p>\n<h3><span style=\"text-decoration: underline;\">On the mobile.<\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-74365 size-full aligncenter\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/quantity_calculation_example-1.jpg\" alt=\"Example of calculation diplayed on a mobile device\" width=\"286\" height=\"617\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/quantity_calculation_example-1.jpg 286w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/quantity_calculation_example-1-139x300.jpg 139w\" sizes=\"(max-width: 286px) 100vw, 286px\" \/><\/p>\n<\/div><\/div>\n<p><strong><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Sum of a table<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/strong><\/p>\n<h3><span style=\"text-decoration: underline;\">In\u00a0the\u00a0back-office.<\/span><\/h3>\n<p>Consider the example of an employee time sheet.<\/p>\n<ul>\n<li>Create your time sheet form: A <strong><a href=\"\/\/kizeoformscom.kinsta.cloud\/en\/the-table-element\/\" target=\"_blank\" rel=\"noopener noreferrer\">table<\/a><\/strong> with a list of participants and a <strong>numeric entry field\u00a0<\/strong>where you specify the number of hours worked.<\/li>\n<\/ul>\n<p><span style=\"color: #95cf01;\">\/!\\ ATTENTION\u00a0\/!\\<\/span> <strong>Specify clearly the \u201cnumeric\u201d type.<\/strong><\/p>\n<p><a href=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/create-table.png\"><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-103881 size-full\" title=\"create your time sheet form: A table with a list of participants and a numeric entry field\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/create-table.png\" alt=\"create your time sheet form: A table with a list of participants and a numeric entry field\" width=\"800\" height=\"699\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/create-table.png 800w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/create-table-300x262.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/create-table-768x671.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Add an <strong>external<\/strong> <strong>Calculation<\/strong> field\u00a0to the table.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field.png\"><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-103888 size-full\" title=\"Add an external Calculation field\u00a0to the table.\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field.png\" alt=\"Add an external Calculation field\u00a0to the table.\" width=\"800\" height=\"705\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field.png 800w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-300x264.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-768x677.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Define the field: According to the example, the field will make the sum of the &#8220;Hours worked\u201d column.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66834\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked.jpg\" alt=\"The sum of hours worked\" width=\"1300\" height=\"561\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked.jpg 2776w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked-300x129.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked-1024x442.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked-768x331.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked-1536x663.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/The-sum-of-hours-worked-2048x884.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Confirm and save your form.<\/li>\n<\/ul>\n<h3><span style=\"text-decoration: underline;\"><span style=\"color: #000000; text-decoration: underline;\">On\u00a0the mobile.<\/span><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-74371 size-full aligncenter\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/employee_time_sheet_example.jpg\" alt=\"example of an employee time sheet on the mobile application\" width=\"287\" height=\"616\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/employee_time_sheet_example.jpg 287w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/employee_time_sheet_example-140x300.jpg 140w\" sizes=\"(max-width: 287px) 100vw, 287px\" \/><\/p>\n<\/div><\/div>\n<p><strong><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Use the calculation field as a 'Reference' field<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/strong><\/p>\n<p>This feature enables it to work from the outset with a\u00a0<a href=\"\/\/kizeoformscom.kinsta.cloud\/en\/understanding-the-referential-list\/\" target=\"_blank\" rel=\"noopener noreferrer\">Referential list<\/a>, but we would prefer to use the\u00a0<a href=\"\/\/kizeoformscom.kinsta.cloud\/en\/the-reference-element\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Reference<\/strong><\/a>\u00a0element, which was developed expressly for this feature.<\/p>\n<p>For those who already work with <strong>Referential lists<\/strong>\u00a0and <strong>Calculation<\/strong> fields, this feature still works..<\/p>\n<p>Idea: With the <strong>Referential<\/strong> and <strong>Calculation<\/strong>\u00a0elements, you have the option to create a proper purchase order form. In order to obtain an identical document to your current purchase orders, you can<a href=\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/custom-made-word-pdf\/\" target=\"_blank\" rel=\"noopener noreferrer\"> create a Word template<\/a>. Refer to the &#8220;purchase order&#8221; example, which is located in our forms library.<\/p>\n<\/div><\/div>\n<p><strong><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>The uniq Number<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/strong><\/p>\n<p>The <strong>Uniq Number <\/strong>allows you to create a random line. As an example, we will use the <strong>Uniq number<\/strong> to create the P.O number of your Purchase Order.<\/p>\n<h3><span style=\"text-decoration: underline;\">Configuration.<\/span><\/h3>\n<ul>\n<li>Add a\u00a0<strong>Calculation<\/strong> field and go in its option, \u2018calculation\u2019 tab.<\/li>\n<li>In the drop-down menu, select \u2018Uniq number\u2019.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66847\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number.jpg\" alt=\"uiq number\" width=\"1300\" height=\"565\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number.jpg 2780w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number-300x130.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number-1024x445.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number-768x334.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number-1536x667.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uiq-number-2048x890.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\/!\\\u00a0<\/strong>Don\u2019t forget to<strong>\u00a0confirm<\/strong><strong>\u00a0<\/strong>your settings and<strong>\u00a0<\/strong><strong>save\u00a0<\/strong>your form<strong>.<\/strong><\/p>\n<h3><u>On the mobile device.<\/u><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74377 size-full\" title=\"the uniq number\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uniq_number.jpg\" alt=\"the uniq number\" width=\"282\" height=\"615\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uniq_number.jpg 282w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/uniq_number-138x300.jpg 138w\" sizes=\"(max-width: 282px) 100vw, 282px\" \/><\/p>\n<\/div><\/div>\n<p><strong><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>the ItemRefNum<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\"><\/strong><\/p>\n<p>The <strong>ItemRefNum<\/strong> makes data reading easier. It is similar to the <a href=\"\/\/kizeoformscom.kinsta.cloud\/en\/the-reference-element\/\" target=\"_blank\" rel=\"noopener noreferrer\">Reference field<\/a>. It reads information contained in a given column. It is usually linked to <a href=\"\/\/kizeoformscom.kinsta.cloud\/en\/nfc-tag\/\" target=\"_blank\" rel=\"noopener noreferrer\">an NFC Tag<\/a> or an Input Field.<\/p>\n<p>To discover how to configure your NCF tag, do not hesitate to <a href=\"\/\/kizeoformscom.kinsta.cloud\/en\/nfc-tag\/\" target=\"_blank\" rel=\"noopener noreferrer\">check our tutorial<\/a>!<\/p>\n<\/div><\/div>\n<h2>Conditional operators<\/h2>\n<p>You can condition your calculations through different operators:<\/p>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>List of operators<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<h3>Arithmetic operators:<\/h3>\n<ul>\n<li>+ : addition and concatenation of text<\/li>\n<li>&#8211; : substraction<\/li>\n<li>\/ : division<\/li>\n<li>* : multiplication<\/li>\n<li>% : modulo or remainder of Euclidean division<\/li>\n<\/ul>\n<h3>Comparison operators:<\/h3>\n<ul>\n<li>&lt; : lesser than<\/li>\n<li>&lt;= : Less than or equal to<\/li>\n<li>&gt; : greater than<\/li>\n<li>&gt;= : greater than or equal to<\/li>\n<li>== : equality<\/li>\n<li>! = : inequality<\/li>\n<li>=== : strict equality<\/li>\n<li>!== : strict inequality<\/li>\n<\/ul>\n<h3>Logical operators:<\/h3>\n<ul>\n<li>&amp;&amp; : logical operator AND<\/li>\n<li>|| : logical operator OR<\/li>\n<li>! : negation<\/li>\n<li>? : ternary operator. It is written in the form: ((condition)? Value_if_true: value_if_false)<\/li>\n<\/ul>\n<h3>Bitwise operators:<\/h3>\n<ul>\n<li>&amp; : AND &#8220;bitwise&#8221;<\/li>\n<li>| : OR &#8220;bitwise&#8221;<\/li>\n<\/ul>\n<\/div><\/div>\n<h2>Examples:<\/h2>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Perform a calculation according to a checkbox<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>In order to perform a different calculation according to a checkbox, you can use the following formula:<\/p>\n<ul>\n<li><strong>Check box? <span style=\"color: #ff0000;\">my calculation or my text if my box is checked<\/span>: <span style=\"color: #0000ff;\">my calculation or my text if my box is not checked.<\/span><\/strong><\/li>\n<\/ul>\n<p>In the example below, we want to apply a 5% discount if our box is checked.<\/p>\n<p><a href=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-103895 size-full\" title=\"In the example below, we want to apply a 5% discount if our box is checked.\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-1.png\" alt=\"In the example below, we want to apply a 5% discount if our box is checked.\" width=\"800\" height=\"705\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-1.png 800w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-1-300x264.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/add-calculation-field-1-768x677.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>For this, we test whether our apply 5% discount? box is checked or not. The deduction will be applied if the box is checked.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66879\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox.jpg\" alt=\"conditional calcuation for checkbox\" width=\"1300\" height=\"561\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox.jpg 2782w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox-300x129.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox-1024x442.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox-768x331.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox-1536x663.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/conditional-calcuation-for-checkbox-2048x883.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Give a value in a calculation if an element is selected in a list<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>In order to give a value in our calculation when an element is selected in a list, we use the following formula:<\/p>\n<ul>\n<li><strong>List == value code A? Value if true: Value if false<\/strong><\/li>\n<\/ul>\n<p>In the example below, we applied it to our calculation to offer VAT if New Customer is selected.<\/p>\n<p>At first, we assign a code to our list, of the form code: list. This code will of course not be visible on the mobile device.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66886\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels.jpg\" alt=\"list with labels\" width=\"1300\" height=\"567\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels.jpg 2776w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels-300x131.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels-1024x446.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels-768x335.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels-1536x670.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/list-with-labels-2048x893.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>We then test if our new client has been selected.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66892\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list.jpg\" alt=\"calculation based on list\" width=\"1300\" height=\"560\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list.jpg 2776w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list-300x129.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list-1024x441.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list-768x331.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list-1536x662.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-based-on-list-2048x882.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #55C96B;\"><strong>Warning:<\/strong><\/span> if you add text, remember to remove the + which is generated automatically.<\/p>\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Perform operations with conditions - example: average<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>In the example below, we want to achieve a grade average of 0 to 10 and not to consider an item that is not applicable.<\/p>\n<p><a href=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/calculation-slider.png\"><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-103906 size-full\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/calculation-slider.png\" alt=\"In the example below, we want to achieve a grade average of 0 to 10 and not to consider an item that is not applicable.\" width=\"800\" height=\"697\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/calculation-slider.png 800w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/calculation-slider-300x261.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2021\/01\/calculation-slider-768x669.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><br \/>\nIn our Slider elements, we select the type Text and we add our different notes, for the Not applicable, we give it a code, -1:<\/p>\n<p>0<br \/>\n1<br \/>\n2<br \/>\n3<br \/>\n4<br \/>\n5<br \/>\n6<br \/>\n7<br \/>\n8<br \/>\n9<br \/>\n10<br \/>\n-1:Not applicable<\/p>\n<p>In our Calculation element, we test whether the non-applicable element is entered or not. For this we use the following formulas:<\/p>\n<ul>\n<li>my_slider == -1?0:my_slider &lt;- so, if Not applicable is selected, its value in the calculation will be equal to 0, otherwise the chosen value will be taken into account. This operation will allow us to know the selected note.<\/li>\n<li>my_slider == -1?0:1&lt;- thus, if Not applicable is selected, the value taken into account during the computation will be equal to 0; otherwise, it will be equal to 1. This formula will be used for the division to know how many items have been entered.<\/li>\n<\/ul>\n<p>By repeating the first calculation for each slider element and then dividing by the second, we get the calculation below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66905\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation.png\" alt=\"Slider calcuation\" width=\"1300\" height=\"561\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation.png 2782w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation-300x129.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation-1024x442.png 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation-768x331.png 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation-1536x663.png 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Slider-calcuation-2048x883.png 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Display a result if a field is equal to another field<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>In order to display a result when a field is equal to another field, we use the following formula:<\/p>\n<ul>\n<li><strong>Element A == element B? Value if identical: Value if different<\/strong><\/li>\n<\/ul>\n<p>In the example below, we applied it to two input fields to check if the email addresses are identical.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66912\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example.jpg\" alt=\"calculation identical and different example\" width=\"1300\" height=\"569\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example.jpg 2776w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example-300x131.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example-1024x449.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example-768x336.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example-1536x673.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/calculation-identical-and-different-example-2048x897.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #55C96B;\"><strong>Warning:<\/strong><\/span> if you add text, remember to remove the + which is generated automatically.<\/p>\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Using two conditions - example: display a result if a field is greater than, less than, or equal to another field<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>If you want to combine several conditions, you can use the following formula:<\/p>\n<ul>\n<li><strong><span style=\"color: #ff0000;\">Our first condition? Value if true<\/span>: <span style=\"color: #0000ff;\">Our second condition? Value if true<\/span>:<span style=\"color: #55C96B;\"> Value if false<\/span><\/strong><\/li>\n<\/ul>\n<p>If the first condition is false, we test the second, etc., until we reach the &#8220;Value if false&#8221;<\/p>\n<p>In the example below, we test our A value and B value to find out if A is greater than, less than or equal to B. We use the following formulas:<\/p>\n<ul>\n<li><strong>Element A &lt;element B? Value if true: Value if false<\/strong><\/li>\n<li><strong>Element A&gt; element B? Value if true: Value if false<\/strong><\/li>\n<\/ul>\n<p>Combined, we get the operation below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66919\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than.jpg\" alt=\"value equal to greater than or lesser than\" width=\"1300\" height=\"560\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than.jpg 2770w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than-300x129.jpg 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than-1024x441.jpg 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than-768x331.jpg 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than-1536x662.jpg 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/value-equal-to-greater-than-or-lesser-than-2048x883.jpg 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #55C96B;\"><strong>Warning:<\/strong><\/span> if you add text, remember to remove the + which is generated automatically.<\/p>\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>OR Function (||)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>To perform a calculation if a box is checked or if an item is entered, you can use this formula:<\/p>\n<ul>\n<li><strong>Our first condition || Our second condition? Value if true: Value if false<\/strong><\/li>\n<\/ul>\n<p>At first, we will test the first condition, if it turns out wrong, we will test the second, so on.<\/p>\n<p>In the example below, we test our input field. If it contains 0, 2, 4, 6, 8 or 10, then Even will appear, otherwise it will be Odd.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66926\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation.png\" alt=\"Odd or even calculation\" width=\"1300\" height=\"302\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation.png 2058w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-300x70.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1024x238.png 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-768x178.png 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1536x357.png 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-2048x476.png 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #55C96B;\"><strong>Warning:<\/strong><\/span> if you add text, remember to remove the + which is generated automatically.<\/p>\n<p><span style=\"color: #55C96B;\"><strong>Note:<\/strong> <\/span>we could also have used the percentage (%) to perform this operation. The Percentage allows to display the rest during a division. Thus, if the number is even, the division will not have any remainder and the calculation will be equal to 0.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66932\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1.png\" alt=\"Odd or even % calculation\" width=\"1300\" height=\"303\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1.png 2068w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1-300x70.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1-1024x239.png 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1-768x179.png 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1-1536x358.png 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/Odd-or-even-calculation-1-2048x477.png 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n<div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>AND Function (&amp;&amp;)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<p>To perform a calculation if a box is checked and an item is entered, you can use this formula:<\/p>\n<ul>\n<li><strong>Our first condition &amp;&amp; Our second condition? Value if true: Value if false<\/strong><\/li>\n<\/ul>\n<p>In the example below, we wish:<\/p>\n<ul>\n<li>Make a <span style=\"color: #ff0000;\"><strong>reduction of 10 \u20ac<\/strong><\/span> if the box New customer is checked<\/li>\n<li><strong><span style=\"color: #55C96B;\">Add a 10% or 20% VAT<\/span><\/strong> if the respective boxes are checked.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-24254 size-full\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/10\/Calculation-of-VAT.jpg\" alt=\"Calculation of VAT\" width=\"700\" height=\"539\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/10\/Calculation-of-VAT.jpg 700w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/10\/Calculation-of-VAT-300x231.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><br \/>\nThus, we test respectively:<\/p>\n<ul>\n<li>If the box New customer is checked<\/li>\n<li>If the box New customer and VAT 10% are ticked<\/li>\n<li>If the box New customer and VAT 20% are ticked<\/li>\n<li>If the 10% VAT box is checked<\/li>\n<li>If the VAT 20% box is checked,<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"tuto-image-border aligncenter wp-image-66938\" src=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation.png\" alt=\"VAT calculation\" width=\"1300\" height=\"305\" srcset=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation.png 2060w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation-300x70.png 300w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation-1024x241.png 1024w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation-768x180.png 768w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation-1536x361.png 1536w, https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/VAT-calculation-2048x481.png 2048w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #55C96B;\"><strong>Warning:<\/strong><\/span> if you add text, remember to remove the + which is generated automatically.<\/p>\n<\/div><\/div>\n<p style=\"text-align: center;\"><span class=\"s1\" style=\"color: #95c01f;\">Do not hesitate to comment on this article!<br \/>\n<\/span>All your questions, comments and suggestions are most welcome!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automate your calculations with the Calculation element. Presentation of the\u00a0Calculation field. Insert a calculation field and\u00a0access its features: Go to the element options by clicking on the\u00a0pencil. Several options are available to you under the Properties tab: Define how many\u00a0digits after the decimal point\u00a0will be included in your results. &nbsp; Define the\u00a0type\u00a0of results in your calculation: number or time. &nbsp; By checking the Editable entry [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":89230,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[723],"tags":[876],"class_list":["post-89403","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-back-office-en-us"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automate your calculations with the Calculation element with Kizeo Forms<\/title>\n<meta name=\"description\" content=\"This article explains you how to use the calculation field by detailing you its three main functions: Simple calculation, sum of a table and reference.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automate your calculations with the Calculation element with Kizeo Forms\" \/>\n<meta property=\"og:description\" content=\"This article explains you how to use the calculation field by detailing you its three main functions: Simple calculation, sum of a table and reference.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/\" \/>\n<meta property=\"og:site_name\" content=\"Kizeo Forms\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-15T14:23:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-28T15:21:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"306\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Beno\u00eet Raymond\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Beno\u00eet Raymond\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/\",\"url\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/\",\"name\":\"Automate your calculations with the Calculation element with Kizeo Forms\",\"isPartOf\":{\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png\",\"datePublished\":\"2016-09-15T14:23:48+00:00\",\"dateModified\":\"2021-01-28T15:21:37+00:00\",\"author\":{\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#\/schema\/person\/9446eb7b20a12c6a0a72d669daecfd1e\"},\"description\":\"This article explains you how to use the calculation field by detailing you its three main functions: Simple calculation, sum of a table and reference.\",\"breadcrumb\":{\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#primaryimage\",\"url\":\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png\",\"contentUrl\":\"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png\",\"width\":900,\"height\":306},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding and using the Calculation field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#website\",\"url\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/\",\"name\":\"Kizeo Forms\",\"description\":\"Mobile Solutions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#\/schema\/person\/9446eb7b20a12c6a0a72d669daecfd1e\",\"name\":\"Beno\u00eet Raymond\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f4e3683f199a97b3216f2eddc983db10?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f4e3683f199a97b3216f2eddc983db10?s=96&r=g\",\"caption\":\"Beno\u00eet Raymond\"},\"url\":\"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/author\/benoit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Automate your calculations with the Calculation element with Kizeo Forms","description":"This article explains you how to use the calculation field by detailing you its three main functions: Simple calculation, sum of a table and reference.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/","og_locale":"en_US","og_type":"article","og_title":"Automate your calculations with the Calculation element with Kizeo Forms","og_description":"This article explains you how to use the calculation field by detailing you its three main functions: Simple calculation, sum of a table and reference.","og_url":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/","og_site_name":"Kizeo Forms","article_published_time":"2016-09-15T14:23:48+00:00","article_modified_time":"2021-01-28T15:21:37+00:00","og_image":[{"width":900,"height":306,"url":"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png","type":"image\/png"}],"author":"Beno\u00eet Raymond","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Beno\u00eet Raymond","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/","url":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/","name":"Automate your calculations with the Calculation element with Kizeo Forms","isPartOf":{"@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#primaryimage"},"image":{"@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#primaryimage"},"thumbnailUrl":"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png","datePublished":"2016-09-15T14:23:48+00:00","dateModified":"2021-01-28T15:21:37+00:00","author":{"@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#\/schema\/person\/9446eb7b20a12c6a0a72d669daecfd1e"},"description":"This article explains you how to use the calculation field by detailing you its three main functions: Simple calculation, sum of a table and reference.","breadcrumb":{"@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#primaryimage","url":"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png","contentUrl":"https:\/\/kizeoformscom.kinsta.cloud\/wp-content\/uploads\/2016\/09\/ES-tutorial-kizeo-forms-e1476106241105.png","width":900,"height":306},{"@type":"BreadcrumbList","@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/the-calculation-element\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/"},{"@type":"ListItem","position":2,"name":"Understanding and using the Calculation field"}]},{"@type":"WebSite","@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#website","url":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/","name":"Kizeo Forms","description":"Mobile Solutions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#\/schema\/person\/9446eb7b20a12c6a0a72d669daecfd1e","name":"Beno\u00eet Raymond","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f4e3683f199a97b3216f2eddc983db10?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f4e3683f199a97b3216f2eddc983db10?s=96&r=g","caption":"Beno\u00eet Raymond"},"url":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/author\/benoit\/"}]}},"_links":{"self":[{"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/posts\/89403"}],"collection":[{"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/comments?post=89403"}],"version-history":[{"count":0,"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/posts\/89403\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/media\/89230"}],"wp:attachment":[{"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/media?parent=89403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/categories?post=89403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kizeoformscom.kinsta.cloud\/en-us\/wp-json\/wp\/v2\/tags?post=89403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}