Skip to content
Foxcolab

How to Make an Order Form with Automatic Totals

What an order form needs, why the total belongs on the form, a worked example with the arithmetic, and how to build an order form with a live running total in Foxcolab Forms, then invoice and take payment separately.

8 min read
On this page12 sections

In short

An order form lists your products with prices, asks for quantities and delivery details, and shows a running total so the customer knows what they'll pay. Take the order on the form, confirm stock, then send an invoice and collect payment your usual way. Foxcolab Forms has a Product order form template with a live subtotal and total, and Encrypted forms lock each customer's details on their device.

Key takeaways

  • List every product with its price and unit, and ask for a quantity with a minimum of zero.
  • Show the total, including delivery charges, before the customer submits.
  • Treat the form as an order request. Confirm it, then send an invoice and take payment separately.
  • In Foxcolab Forms, the Product order form template calculates the subtotal and total with logic rules you can edit.
  • Encrypted forms lock names, addresses and orders on the customer's device, so Foxcolab can't read them.

Last reviewed 4 December 2026 by Foxcolab Team

An order form collects what a customer wants to buy, how many, where to send it, and shows the total before they submit. A good order form lists every product with its price, asks for quantities, adds delivery charges, and gives the customer a total that matches the invoice they'll get. This guide covers what to include, why the total belongs on the form, and a worked example with the arithmetic. Then it shows how to build an order form with a live running total in Foxcolab Forms, where Encrypted forms lock each customer's details on their own device, and how to invoice and take payment once the order is in.

What an order form needs#

PartWhat to ask or showWhy
ProductsName, pack size or unit, price"Darjeeling, 250 g, ₹420" leaves nothing to guess
QuantityA number box for each product, minimum 0Stops negative or fractional orders
OptionsSize, color, grind, only when relevantHide options that don't apply to the order
DeliveryMethod and its chargeDelivery is the most common surprise on a bill
Running totalSubtotal, delivery and totalThe customer checks it before submitting
Customer detailsName, email, phone, delivery addressEverything you need to invoice and ship
NotesA free text boxDelivery instructions, gift messages, PO numbers
TermsWhether prices include tax, when you invoice, how long delivery takesSets expectations before anyone commits

Ask only for what you'll use. A phone number is worth asking for if your courier needs it. A date of birth isn't.

Show the total before the customer submits#

A customer who sees the full price up front is less likely to dispute the invoice or abandon the order. In India, it's also in the rules for online selling. The Consumer Protection (E-Commerce) Rules, 2020 require an inventory e-commerce entity, meaning a business that "owns the inventory of goods or services and sells such goods or services directly to the consumers", to show the "total price in single figure" with a breakup "showing all the compulsory and voluntary charges, such as delivery charges, postage and handling charges, conveyance charges and the applicable tax" (rule 7(1)(e), G.S.R. 462(E), 23 July 2020%20Rules,%202020.pdf)). Sellers on marketplaces must give the same breakup under rule 6(5)(b).

Practically, that means three lines at the bottom of the form: subtotal, delivery and total, plus a note saying whether prices include GST.

Take the order first, then the payment#

An order form is a request. Between the request and the money, you check stock, confirm delivery dates and sometimes adjust the order. Most small businesses run it in this order:

  1. The customer submits the form. They see the total and a confirmation screen.
  2. You confirm. Check stock and the delivery date, then reply to confirm the order or suggest a change.
  3. You send an invoice. Include your bank or UPI details, or a payment link from your payment provider. For GST invoices, see how to make a GST invoice.
  4. You dispatch after payment, or on credit terms for trusted trade customers.
  5. You mark the order done so nothing is shipped twice.

Treat the total on the form as the customer's estimate and the invoice as the bill. Recalculate the invoice from your price list rather than copying the total from the form.

A worked example: a tea company's trade order form#

A small tea company at example.com supplies cafés. Its order form lists three teas and three delivery options:

Trade order form, Your order page·Text
Assam CTC, 500 g          ₹240   Quantity [ 3 ]
Darjeeling, 250 g         ₹420   Quantity [ 2 ]
Masala chai, 500 g        ₹310   Quantity [ 0 ]

Delivery  ( ) Pick up from the warehouse (free)
          (•) Courier, 2–4 days (+₹80)
          ( ) Same day within the city (+₹150)

Subtotal                  ₹1,560    (3 × 240 + 2 × 420)
Total including delivery  ₹1,640    (1,560 + 80)

Prices include GST. We confirm stock and email an invoice within one
working day. No payment is taken on this form.

The second page asks for the café's name, the buyer's name, an email for the invoice, a phone number for the courier, the delivery address and order notes. The confirmation screen says when to expect the invoice.

Mistakes that cause wrong orders#

MistakeWhat happensFix
Prices only in a separate PDFCustomers order from an old price listPut each price in the question label
Free text for quantities"Two boxes" and "2 kg" for the same productOne number box per product, whole numbers only
No delivery charge on the formThe invoice comes as a surpriseAdd delivery to the total
Unclear taxDisputes over whether GST is extraSay "Prices include GST" or "plus GST"
Taking payment before confirming stockRefunds and apologiesConfirm, then invoice
No status for each orderOrders are missed or shipped twiceMark every order as it moves along

Make an order form in Foxcolab Forms#

An order form collects names, phone numbers and home or business addresses. In an Encrypted Foxcolab form, each response is locked on the customer's device before it's sent, and only you and the admins you add can read it. Foxcolab can't read your customers' details or what they ordered. Forms comes with every Foxcolab account, and it doesn't take payments: you collect the order and invoice for it your usual way.

Start from the Product order form template#

  1. Create a form

    In your forms library, select New form, then choose Template.

  2. Pick the template

    Type order in Search templates, or open the Business category, and select Product order form. Its description says it all: quantities with a live subtotal and total including shipping, with no payment taken.

  3. Name it and keep answers encrypted

    Enter a Title, such as Trade order form. Under Answers, keep Encrypted.

  4. Create it

    Select Create form. The form opens in the Build tab.

The template builds a two-page form. Your order has a number question for each of three sample products, a Clothing size question that appears only when someone orders a T-shirt or hoodie, a required Delivery choice, and two calculated lines, Subtotal and Total including delivery. Delivery details asks for a full name, an email for the invoice, a phone number, a delivery address and order notes. The ending screen is called Order received.

Put in your own products and prices#

  1. Rename the products

    Click each number question and type your product, unit and price, such as Assam CTC, 500 g, ₹240. Each one already has a Minimum of 0, a Maximum of 50 and 0 Decimal places. Change the maximum to suit your stock.

  2. Set your prices in the calculation

    Open the Logic tab and expand the rule Calculate totals. Its first action is Set variable Subtotal, calculated as each quantity times its price. Replace the sample prices (499, 1,299 and 299 in rupees, or 24, 48 and 18 in dollars) with yours.

  3. Check the currency

    Back in Build, select the Subtotal question. If your browser is set to India, by its time zone or its language, the template starts in rupees, with Format on Money and Currency on INR. Otherwise it starts in US dollars, so set Currency to INR. Choose the Decimals, and do the same for Total including delivery.

  4. Remove what you don't sell

    Delete the Clothing size question if you don't sell clothing, then in Logic open the Rule options menu on Show sizes for clothing and choose Delete.

The calculation rule has no condition, so it reads always (no conditions yet) and runs every time a quantity changes. Empty quantities count as zero, so the total stays correct while the customer is still filling in the form.

Set your own delivery charges#

Each Delivery option carries the amount it adds to the total. The Calculate totals rule adds up the Delivery question, so every option shows its amount in a small = box next to it on the canvas, and Assign values stays on in the panel on the right.

  1. Rename the options

    In Build, change the Delivery options to your own, for example Pick up from the warehouse (free), Courier, 2–4 days (+₹80) and Same day within the city (+₹150).

  2. Type each charge

    In the = box next to each option, type what it adds: 0 for pickup, 80 for the courier and 150 for same day. Type plain numbers, without the currency sign.

  3. Clear the warnings

    Forms flags an option with no value, or a value that isn't a number, because it adds 0. It also flags an option whose label shows a different amount, for example: “Courier, 2–4 days (+₹80)” shows ₹80, but its value is 49. Fix each one until the panel on the right lists no problems.

The second action in Calculate totals already sets Total to Subtotal plus Delivery, so the Logic tab needs no changes for delivery.

Add a product#

To add a fourth product, add a Number question in Build with a Minimum of 0 and 0 Decimal places. Then in Logic, select Add rule, set When to the new question is greater than 0, and add two Add to variable actions: one to Subtotal and one to Total. In each, open Add to the calculation, choose Times, pick the new question as the first term and type its price as the second.

Open the preview and place a test order before you publish. Check that the totals match what you'd invoice, by hand, for two or three combinations.

Publish, then manage orders in Results#

Select Publish, pick the link and publish. The Share tab gives you the link, a QR code to download as PNG or SVG for a counter or a catalog, and Embed on your website. To stop orders at a cut-off time, open Settings and set Closes under Schedule. For a limited batch, set a Response limit.

As orders arrive, open Results and click a response to see the order. Use its Review section to move it from New to In review when you've sent the invoice and to Done when it's shipped. Add a label such as Paid or Credit, and keep the invoice number in the private note. The drawer reminds you that notes and labels are encrypted, so only your team can read them. To work on a batch of orders in a spreadsheet, select Export, choose Excel or CSV, and switch on Variables so the Subtotal and Total columns come with it. Downloaded files aren't encrypted, so keep them somewhere safe. View, filter and export form responses covers filters and exports, and Use form logic, calculations and multiple endings explains rules in depth.

Take orders without handing your customers' details to anyone else. Create a free account and start from the Product order form template, or see plans for your own domain and more storage. Taking trade orders across teams or regions? See Foxcolab for enterprise or talk to sales.

Frequently asked questions

What should an order form include?

Each product with its price and unit, a quantity box, any options such as size, the delivery method and its charge, a running total, the customer's name, email, phone and delivery address, a notes box, and your terms, such as when you'll invoice and how long delivery takes.

Can Foxcolab Forms take payments?

No. Forms collects the order and shows the total. You confirm the order and send an invoice with your payment details, or a payment link from your payment provider. The Product order form template says so on the form itself.

How do I add up prices automatically in an order form?

Use a number question for each product's quantity and a calculation that multiplies each quantity by its price. In Foxcolab Forms, logic rules set a Subtotal and a Total variable, and a Calculated value question shows them as money while the customer fills in the form.

Are order form responses private?

In an Encrypted Foxcolab form, each response is locked on the customer's device before it's sent, and only the form's owner and the admins they add can read it. Foxcolab can't read the names, addresses or orders.

Written by

Foxcolab Team

The Foxcolab team, who build the apps and help people set them up.

More from Foxcolab

Did this guide help you get it done?

One click, no account needed.

Try the tools we write about.

Mail, files, documents, spreadsheets and meetings in one account, with no ads. The free plan is enough to start.

Jump to