# Menus, coupons, events and forms

URL: https://qrdx.dev/docs/forms-and-pages
Source: https://github.com/qrdxinc/qrdx/blob/main/apps/docs/content/docs/forms-and-pages.mdx

Hosted page blocks for restaurants, offers, events and app downloads, plus forms that collect feedback into a response inbox.

A [hosted page](https://qrdx.dev/docs/landing-pages) is built from blocks, and five of them do most of the work for print jobs: a menu, a coupon, an event, an app download and a form. Each has a page type and templates of its own, and each can be added to any other page. Use this guide when you're putting a code on a table, a flyer, an invitation, an app poster or a feedback card.

**Plans**

Every block here works on every plan. Form responses have a monthly limit per plan ([below](#monthly-limits)), and alerts about responses need Pro (email) or Business (Slack, Discord, webhooks). See [Plans and limits](https://qrdx.dev/docs/plans-and-limits).

In a hurry? The short task page for forms: [Collect answers with a form](https://qrdx.dev/docs/help/pages-and-forms/forms).

## Menu [#menu]

The **Menu** block lists sections (Starters, Mains and so on) with items. Each item can have a description, a price, a note after the price ("per glass", "Market price"), a photo, a short badge ("Chef's pick") and:

- **Dietary tags:** vegetarian, vegan, gluten-free, dairy-free, halal, kosher, spicy, organic.
- **Allergens:** the 14 allergens food businesses must declare in the EU and UK (gluten, crustaceans, eggs, fish, peanuts, soy, milk, tree nuts, celery, mustard, sesame, sulphites, lupin, molluscs), shown as "Contains: …".
- **Sold out:** the item stays on the menu, dimmed and marked as sold out.

All prices on one menu use the currency you pick. With two or more sections, shortcut chips at the top jump to each section. A menu holds up to 30 sections and 300 items.

![A hosted menu page as a visitor sees it on a phone: the café's name, a menu with sections and prices, opening hours and the Wi-Fi details.](https://qrdx.dev/docs-static/shots/hosted-menu-page.light.webp)

The **Wi-Fi** block shows your network name and password with copy buttons. Phones can't join a network from a web page, so guests copy the password and paste it in their Wi-Fi settings. Anyone who opens the page can see the password. Turn on **Show the security type** for guests who add the network by hand, and **Show how to join** for short steps on iPhone (Settings → Wi-Fi) and Android (Settings → Network & internet → Internet), shown in each visitor's language and covering hidden networks. The **Guest Wi-Fi page** type starts with both.

## Coupon [#coupon]

The **Coupon** block shows a headline, the code with a copy button and, optionally, a barcode your till can scan:

- **Code 128** encodes up to 48 letters, digits and symbols (no accents or emoji).
- **EAN-13** takes 12 digits (QRdx adds the check digit) or all 13. Numbers starting with 20 to 29 are reserved by GS1 for in-store use, which suits coupon codes.

By default the barcode encodes the coupon code; set **Barcode value** to encode something else, such as your point-of-sale number.

**Valid from** and **Valid until** are calendar days. A coupon counts as started once its first day has begun anywhere in the world and as expired only after its last day has ended everywhere, so nobody sees "expired" early because of their time zone. Expired coupons stay visible, marked as expired.

Turn on **Redeem button** to count redemptions: the visitor taps **Redeem coupon**, shows the screen to your staff and confirms with **Redeem now**. The page then shows "Redeemed" with the time on that phone, and the count appears on the page's [Responses](#responses) screen. It can't stop the same code being shown on another phone, so treat it as a counter, not a lock.

## Event [#event]

The **Event** block shows the date and time, venue and address (with an **Open in Maps** link), an online link, the organizer and a button such as **Get tickets**. Times are entered in the event's time zone and shown to visitors in that time zone, for example "7:00 – 10:00 PM GMT+1". All-day and multi-day events are supported; without an end time an event lasts an hour.

**Add to calendar** offers Google Calendar, Apple Calendar (an `.ics` file), Outlook.com and Yahoo Calendar. The `.ics` download is served from your page's address, so it also works on a [custom domain](https://qrdx.dev/docs/custom-domains); in the editor preview it's disabled until the page is published. Once the event is over, the block says so and hides the calendar button.

## App download [#app-download]

The **App download** block takes your App Store link (`apps.apple.com`), Google Play link (`play.google.com`) and a website. The visitor's store comes first: iPhone and iPad users see the App Store button on top, Android users Google Play, everyone else your website. The other links stay underneath, so nobody is stuck.

## Forms [#forms]

The **Form** block collects answers. Questions can be:

| Type | Visitors answer with |
| --- | --- |
| Text | A short or long answer (you set the maximum length) |
| Email | An email address |
| Phone | A phone number |
| Star rating | Stars, out of 3 to 10 (you choose; 5 by default) |
| NPS (0–10) | A 0 to 10 "how likely are you to recommend us" score |
| Choice | One option, or several when **Allow several answers** is on |
| Checkbox | A tick, for example consent to be contacted |

Mark questions as **Required** to make them mandatory. Visitors see errors next to the question, and a thank-you message you write after sending. Ask only for what you need, and say how you'll use contact details.

![The page editor with the Form block open: its questions, each with a type and a required switch, the submit button label and the thank-you message, next to the phone preview.](https://qrdx.dev/docs-static/shots/form-editor.light.webp)

Spam protection is built in: a hidden field that only bots fill in, and limits on how often one device can send a form. When the server has [Cloudflare Turnstile](#cloudflare-turnstile) keys, forms also run Turnstile's invisible check.

### Review links [#review-links]

The **Review links** block shows "Review us on Google" (and Tripadvisor, Yelp, Facebook, Trustpilot or any other site) buttons. It's shown to every visitor, whatever they answered in a form. Review sites, Google included, don't allow showing review links only to people who rated you highly, so QRdx never hides them based on a rating. In Google Business Profile, choose **Ask for reviews** to copy your review link.

## Responses [#responses]

Open a page in **Pages & forms** and choose **Responses**. Responses are listed newest first, 25 per screen, with the time (UTC), the code the visitor scanned and every answer. Email addresses and phone numbers are links.

![The Responses page of a feedback form: a table of answers with a star rating, the choices picked and a free-text note, and an Export to Google Sheets button.](https://qrdx.dev/docs-static/shots/form-responses.light.webp)

- **Several forms on one page:** tabs filter by form.
- **Export CSV:** one row per response and one column per question. Columns follow the current questions, then questions you removed that still have answers. Renaming a question keeps its column.
- **Delete:** select responses, or use the trash button on one. Deleting can't be undone. Members can delete responses on pages they created; owners and admins on any page in the workspace.

Responses belong to the page. Deleting the page deletes its responses.

### Monthly limits [#monthly-limits]

| Plan | Responses per month |
| --- | --- |
| Free | 50 |
| Pro | 1,000 |
| Business | 10,000 |

The limit counts responses received by all pages in the workspace, per calendar month (UTC), and starts over on the 1st. The Responses screen shows how many you've used.

When the limit is reached, forms show "This form isn't accepting responses right now. Please try again later." and keep what the visitor typed. Responses you already have are never deleted or hidden, on any plan, including after a downgrade.

## Access rules [#access-rules]

Forms and calendar files follow the page's [code controls](https://qrdx.dev/docs/code-controls): while a code is paused, scheduled for later, expired or over its scan limit, its form stops accepting responses and the `.ics` file isn't served. On a password-protected page they work once the visitor has entered the password.

## Notifications and webhooks [#notifications-and-webhooks]

Every response sends a `form.submitted` event with the answers. On Pro and Business, [email alerts](https://qrdx.dev/docs/notifications) deliver each response to your inbox; on Business, Slack and Discord messages and [webhooks](https://qrdx.dev/docs/webhooks) (Zapier, Make, your own server) get it too.

## Privacy [#privacy]

Answers are stored with the page in your workspace. QRdx doesn't store visitors' IP addresses with responses: each response keeps only a salted hash of the IP address and browser for that day, which can't be turned back into either.

## Self-hosting [#self-hosting]

### Cloudflare Turnstile [#cloudflare-turnstile]

Set both variables to protect forms with [Cloudflare Turnstile](https://developers.cloudflare.com/turnstile/):

```bash title="apps/app/.env.local"
NEXT_PUBLIC_TURNSTILE_SITE_KEY=0x4AAAAAAA...
TURNSTILE_SECRET_KEY=0x4AAAAAAA...
```

The server only verifies answers when both keys are set, so set them together. The Turnstile script loads when a visitor first touches a form, not with the page, and runs invisibly unless Cloudflare needs the visitor to click. If Cloudflare can't be reached, responses are still accepted so you never lose feedback; the other spam protections still apply.

### Custom domains [#custom-domains]

On a verified [custom domain](https://qrdx.dev/docs/custom-domains), the form endpoint (`/api/forms/...`) and calendar files (`/api/calendar/...`) are served next to your pages, so forms and add-to-calendar work there without extra setup.

## Related [#related]

- [Landing pages](https://qrdx.dev/docs/landing-pages): every page type and block
- [Notifications](https://qrdx.dev/docs/notifications): an email or chat message for each response
- [Collect answers with a form](https://qrdx.dev/docs/help/pages-and-forms/forms)
- [A scan shows an error page](https://qrdx.dev/docs/help/troubleshooting/error-pages): the "isn't accepting responses" message and others
