I created an order form for my bakery. It has a radio button to select order pickup or delivery, and a repeating section with fields to select flavors and quantity. If the customer chooses order delivery, I want to have a graduated local delivery fee added to the order. For example: Order total up to $60 – add $5 delivery fee, Order Total $61 to $120 – add $10 delivery fee, $121 to $180 – add $15 delivery fee. How do I create a calculator in my form to add this conditional line item to the payment section?
Cognito-forms – Adding Calculator to Cognito Form to create delivery charge line item
calculatorcognito-forms
Related Topic
- Cognito-forms – Cognito form using wrong form name in email subject line
- Cognito-forms – Adding multiple images to an order form in Cognito
- Cognito-forms – Create incrementing number field in Cognito Form
- Cognito-forms – Decrease available inventory item on Cognito Form, removing it when zero
- Cognito-forms – Using Cognito Form Creator to create Order Forms with Multiple Available Options
- Cognito-forms – Prefilling a Cognito form
- Cognito-forms – How to add line breaks for visual formatting of a Cognito form
Best Answer
To do this:
=MyOrder.Sum(ItemTotal)
=(if OrderTotal <=60 then 5 else 0) + (if OrderTotal >= 61 and OrderTotal <= 120 then 10 else 0) + (if OrderTotal >=121 and OrderTotal<=180 then 15 else 0)