I have just started to use JWT plugin and want to create a 'calculated text field' which will have to perform a multiplication like below.
C = A * B, where A & B are custom fields with single select 'text' options.
The selected text options need to be converted to integers and then multiplied. The corresponding result (integer) is to be converted into text and displayed as 'C'.
Requesting help on the formula to be used in this scenario. Also, even if no option is selected or any 1 is selected, will the calculated text field be able to handle them?
A | Corresponding values |
Very High | 5 |
High | 4 |
Medium | 3 |
Low | 2 |
Very Low | 1 |
B | Corresponding values |
Very High | 5 |
High | 4 |
Medium | 3 |
Low | 2 |
Very Low | 1 |
C= A * B | References |
>= 15 | Major |
>=10 | Serious |
>=5 | Marginal |
<=4 | Minor |