E-Commerce checkout form with gift option
Imagine that you want to create an online order form for an e-commerce business using Zoho Forms. This form should give respondents the option to buy a product as a gift for someone else. When the respondent chooses to send the item as a gift, the form should prompt them to provide:
- The recipient’s name
- A gift message to include with the package
If the customer is buying for themselves, these gift fields are unnecessary and should stay hidden, ensuring the form remains clean and relevant.
Watch a quick video to understand how to configure this and how the form will behave.
Configuring Field Rules
So, in your order form,
- Add a Decision Box field and allow customers to indicate whether their order is a gift by checking this box.
- Add 2 additional fields to the form, a Name field for the recipient's name and a Multi Line field for the gift message to include with the gift.

To, show or hide fields, we use
Field Rules. Field Rules are used to control visibility of specific fields based on user input.
To configure Field Rules to Show/Hide fields,
- After building your form, navigate to the Rules tab.
- Under Field Rules, click Configure Now.
Condition: Is this a gift? is True
Action: - Show Recipient's Name
- Show Gift Message

- Click Add.
This is how the form will behave when Is this a gift? option is not selected.
This is how the form will behave when Is this a gift? option is selected.