Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Mathematical calculations

Author: Eileen Wilde Reference Number: AA-00169 Views: 10146 Last Updated: 09/25/2009 02:01 PM 0 Rating/ Voters

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 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 the following expression on the next form page, in the database template, the log file template, or the email template.

Template:

{# field_a + ( field_b * field_c ) #}

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

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

Result:

37