# Calculate total price

• info920_Maria_info
Asked on February 23, 2021 at 07:40 PM

Hi,

im trying to have a formula to do this:

box : 1box=40\$

dessert: 1dessert=8,05

tip: + x\$

if i have an adresse (for delevry or else thers no charge)1x6,90\$ (i have probleme with that)

So for exemple if you take 1 boxe+1dessert+10\$tip+delivry (adress) =64,95\$

what is the formula to put. i already have the begin i think.

Tank you!

• Rosa_C
Answered on February 24, 2021 at 03:07 AM

Hi there,
Thank you for contacting us.

Right click on the field and select Hide so that users won't see this field:

Create an Update/calculation field logic:

The condition says: If the address for delivery is filled, then enter 6.90 into the field "Delivery price":

Now, add the field "Delivery price" to the formula:

Related guides:

https://www.jotform.com/help/268-how-to-insert-text-or-calculation-into-a-field-using-conditional-logic

https://www.jotform.com/help/259-how-to-perform-form-calculation-using-a-widget
Please give it a try and let us know how it goes.
Thank you.