PDF If then code question
I'm trying to make a pdf order form that will calculate the total amount of a line item.
I have one variable that is the number of Trade Packets (TP), one variable that is the number of M packets (M), the unit price (UP), and the Amount (Amt). What I need is if one of the variables is empty it still calculates. The TP and M fields are one or the other, but not both as they are different qty in each.
So if I have 5 TP at $1.00 and the M field is blank, the amount would be $5.00
If I have 5 M at 10.00 and the TP field is blank, the amount would be $50.00.

