The usage of the conditional system is important when you have too many logical operations. It is really easy to use this feature due to its user-friendly interface.
After choosing Calculator elements created in a calculator, only those elements will be listed in your condition area. Since this feature is dynamic, you cannot put conditions relative to an element that does not exist.
You have to click just once on an element that you need and it will be shown in the working area.
The chosen element has 8 connection points for chaining with other elements. The top right point is for deleting this element.
All connection points of one element are equal and their position does not affect the conditions.
To create a connection, you need to drag a line from the selected element to the desired one. The arrow indicates that the right element depends on the left element.
It is possible to create multiple connections and conditions between different elements.
How to Create a Condition
To create the condition(s), it is enough to click on the circle button in the chain between elements.
You can create single or many conditions for one connection:
After pressing the Add condition button, three main fields will appear:
More fields (e.g., Select date and Options selected) will appear depending on which options are selected in the Condition and Action fields.
In Condition field, there are 5 possible options:
is equal to
is inferior to (less than)
is superior to (greater than)
is different than
Value field possible options will depend on element settings. For example, if you have created 3 options for a Drop-down element and trying to make a condition depending on that element, all 3 options will be available in Value field.
In Action field, you can find 13 operations:
hide (leave in total)
set value and disable
select option and disable
set date and disable
set period and disable
Make sure that you are using logically correct conditions and choosing proper elements for them.
When you set the condition, you can save the changes that will be applied to the calculator.
Condition Creating Example
Let's take an example of making the conditional system more clear.
Below you can see the initial view of the Loan Form sample calculator without any conditions.
For example, you want to create a condition for the Annual Interest Rate depending on the Loan Amount. So, you should create a link from Loan Amount to the Annual Interest Rate.
Condition: if the loan amount is greater than 15 000, set the annual interest rate to 10; if the loan amount is less than 5 000, hide the annual interest rate element.
Below you can see how it is done:
Now it is time to see the result. The first picture is for the first condition. When the loan amount is set to 16 000, the annual interest rate should be set to 10.
The second picture is for the second condition. When the loan amount is set to 3 000, the annual interest rate should be hidden.
In a similar manner, you can create different conditions for calculator elements, improving its functionality.
It is possible to create conditions bound with AND/OR terms.
Let's take an example of making bound conditions for the Annual Interest Rate depending on the Loan Amount.
Condition: if the loan amount is greater than 5 000 and less than 7 000 set the annual interest rate to 10:
In the first preview, we can see that only one condition is met and the annual interest rate has not changed:
In the second preview, both conditions are met and the annual interest rate is set to 10: