Mathematical calculations

Top  Previous  Next

Furthermore, you may do some math and calculation by using Form Processor Pro. Just make sure you have separated all variables and signs by a white space. That's the only one rule.

Example:

You have three text input fields:

<input type="text" name="field_a">

<input type="text" name="field_b">

<input type="text" name="field_c">

You can use following expression on the next form page, in the database template, log file template or email template.

Template:

{# field_a + ( field_b * field_c ) #}

Let's say you enter following numbers into those fields:

Into field_a: 2
Into field_b: 5
Into field_c: 7

Result:

37