The Smart Form Mailer

Back to SEND IT! Technical Reference Guide

SEND IT! Example 6 -- Calculations
If you know how to write a math problem, you know how to do calculations. In this example, we will assume you wish to purchase a couple of items we have for sale. How about SEND IT! and J-BOTS. We'll take the Quantity times the Cost and show it as an extended value on the follow-on confirmation page. Look at the source to see how easy it is to create this order form! Try your hand at one (scroll down).

Quantity Description Cost
SEND IT! The Next Generation Form Mailer 54.95
SEND IT! FrontPage Interface 20.00
J-BOTS A Great Add-in for FrontPage 97 34.95


Try your hand at a calculation. Just enter your calculation below. We have given you some text boxes to use in the calculation.

Enter your calculation here >  
                                        $T1%.4 calc field 
The %.4 you see is the formatting. Show 4 positions after the decimal point. It is
appended to the field name. %w.d Where w is the width of the resulting field
and d is the number of positions after the decimal point. The decimal point is
counted in the field width.
An input value can be used    
                                 V1 -- input value
Another one                    
                                 V2 -- input value

Please note that it does not matter that the values used in the calculation are after the calculation. If you wish to use a calculation in another calculation, the calculation to be used must appear before its use.