Which fields should an order form require?
A required field should help complete an order or contact the customer. Other information can be collected later. More questions before a clear result make a form harder to finish.
A working example
A dessert order needs an item, quantity, date and collection or delivery. A delivery address is relevant for delivery but unnecessary for collection. Requiring the same fields for both creates avoidable errors.
This is a fictional example explaining a rule, not actual customer data.
What to check and discuss with your developer
- Connect each field to an decision about an order.
- Separate required and optional information.
- Show delivery fields only for delivery orders.
- Explain the expected date, quantity and contact formats.
You do not need to write code yourself. Tell your developer what result you need and ask them to show you an example.
How to check the result
Try collection without an address, then delivery without one. Collection should complete; delivery should show a helpful explanation.
A product from my portfolio
MyKondi ↗