Reference numbers and submission titles
What it does
Every submission can get a reference number, such as WF-2026-006243. It's printed in emails, so customers can
quote it when they write to you, and you can search for it in the Inbox. The Submission Title names what the
submission is about, such as "Oak dining table — Kofi Mensah", in place of the form's name.
The store-wide number format is in Stores → Configuration → MageMe Extensions → WebForms, under Submissions & Privacy → Reference Numbers. Each form can follow it, switch numbers off, or use its own format, in the form's Submission Identity section.
Before you start
- To change a form's settings, your admin role includes Edit Form, under Manage Forms.
- To change the store-wide format, you can open Stores → Configuration → MageMe Extensions → WebForms.
Steps
Choose the store-wide format
- Go to Stores → Configuration → MageMe Extensions → WebForms.
- Expand Submissions & Privacy.
- Under Reference Numbers, in Enabled, select Yes.
- In Type, select how the number is made: Alphanumeric, Hexadecimal, Numeric, Timestamp or Sequential. The hint under it shows an example of each.
- In Length, enter how many characters to generate.
- For Sequential, enter the first number in Starting Number.
- In Prefix, enter the text that goes before the number.
{Y}is replaced by the year, so the prefixWF-{Y}-gives numbers such asWF-2026-006243. - In Suffix, enter the text that goes after the number.
- Click Save Config.
The prefix and the suffix take letters in any alphabet, digits, spaces, the characters -, _, # and /, and
the date tokens {Y} (year), {y} (two-digit year), {m} (month) and {d} (day).
Every form with Reference Number Mode set to Use Store Configuration uses this format. On such a form's Submission Identity section, Effective Format sums it up with an example, such as "Sequential, minimum 6 digits, prefix WF-{Y}- — e.g. WF-2026-006373". See Settings: Submissions & Privacy for every setting.
Give one form its own format
- Go to Content → WebForms → Manage Forms.
- Click the form's name.
- Click Submission Identity in the list of sections on the left.
- In Reference Number Mode, select Custom Format. (Off gives the form's submissions no number.)
- In Reference Number Type, select the type, for example Numeric.
- In Reference Number Length, enter how many characters to generate, for example
5. - In Reference Number Prefix, enter the text that goes before it, for example
ST-. The same characters and date tokens work as in the store-wide format. - In Reference Number Suffix, enter the text that goes after it.
- Click Save.
With these values, the form's new submissions get numbers such as ST-48564.
Give submissions a title
- Open the same Submission Identity section.
- In Submission Title, enter the title. To put an answer into it, enter the field's tag, such as
{{field:product}} — {{field:your_name}}. - If you don't know a field's tag, click {..} and click the field.
- Click Save.
New submissions get the title made from their answers, for example "Oak dining table — Kofi Mensah". Leave Submission Title empty, and a submission is called "Form" with the form's name in brackets, such as "Form [Delivery Booking]".
A field with Hide in Submissions switched on is left out of the title everywhere: the submission grid, the Inbox, the customer account, PDFs, replies and emails. To keep its answer in the subject of emails to your team and of help desk tickets, switch on Allow in Staff Email Subject on that field. See General field settings. The Inbox shows a saved copy of each title: when you switch on Hide in Submissions for a field the title already uses, older submissions keep their old title there until your developer refreshes them, as CLI, cron and queues describes.
What you should see
- The submission's page is called Submission and its number, such as "Submission #ST-89424".
- The Inbox shows the number and the title of each submission.
- The subject of a reply puts the number first: "Re: #ST-89424: Oak dining table — Kofi Mensah".
- So does the customer's list of submissions in their account: "#ST-48564: Harbor 3-seater sofa — Sam Porter".
- In emails, the Reference Number tag prints the number. See Merge tags.
Limits
- You can't change a submission's number. Edit Result shows it as plain text.
- In a confirmation message shown on the page, the Reference Number tag prints nothing. See Confirmation messages.
- In an email sent when a new submission is assigned by Default Assignee, the Reference Number tag prints nothing. See Notification triggers.
- The prefix and the suffix take only letters, digits, spaces,
-,_,#,/and the date tokens. A dot, a colon, a bracket or{{…}}is refused when you save. Letters of any alphabet count as one character each toward the longest number allowed, and a date token counts as wide as it prints. - Sequential numbers come from one counter shared by all forms. The hint under Type warns that customers can then estimate how many submissions your store receives.
Troubleshooting
- "The reference number prefix and suffix may contain only letters, digits, spaces, the characters - _ # / and
the date tokens {Y}, {y}, {m}, {d}." The prefix or the suffix has another character, for example a dot or a
colon. Replace it with one of the allowed characters, such as
-. - A form's numbers don't change after you changed the store-wide format. The form has Custom Format or Off in Reference Number Mode. Select Use Store Configuration.
- Submissions are called "Form [your form's name]". Submission Title is empty. Fill it in, as in Give submissions a title.
What's next
- Working in the Inbox: find a submission by its number.
- Merge tags: print the number and the title in emails.
- Form settings: the other settings of a form.