Pass the menu and read the page

SignupFolio

Date rules: 5 wording examples for signup forms

Date rules tell people which dates a field accepts; these five GOV.UK examples show how to word limits for a signup form.

Key takeaways

  • Choose a date field only when people can know or look up the answer without a calendar.
  • Compare the five wordings to choose the date limit your question needs.
  • Test an allowed date and a rejected date before publishing.

People know how to type a date, so it can seem there is nothing to decide. The trouble starts with the words around the field: the question, the label, the rule that checks the answer, and the message that appears when an answer breaks the rule. Those words decide whether people finish the form and whether the answer you receive is the one you meant to ask for.

If you write signup forms, you make these choices whether or not you think of them as choices. This post helps you make them on purpose. It is written for marketers and growth leads who choose the fields and write the text around them. It gives five example wordings for date rules and explains when a date field is the right choice at all. The post starts with why wording matters, then covers field choice, purpose and the rules themselves.

Most of the guidance comes from the GOV.UK Design System's date input page. The page says there are 2 ways to use the date input component, which this post calls a date field. Read the examples as wording models, not as a finished form. Each one shows how a rule can be phrased, and the sections below explain how to adapt that phrasing to your own questions.

Why the wording matters more than the field

The wording matters more because it tells people what to type before they type it. A date field shows where the answer goes, but it does not explain why you want the date, which event it belongs to, or what limits apply. Those things have to come from the text. When the text is missing or vague, people either guess or stop, and either way the answer you receive may not match the question you meant to ask.

The examples in this post show the kind of text that fills that gap. Each one names the event, states the limit, and gives the date. A reader can check their own answer against the sentence without asking anyone what the form wants.

Consider a question about a past event with no event named. A person can then give a sensible date for the wrong thing, and the field has no way to show that the answer is off.

A date rule can show up in two places: the text before the field and the message after a failed entry. Those two places should say the same thing. Writing both from the same sentence also makes the form easier to review with colleagues, because each rule can be read on its own.

When does a date field fit your question?

Use a date field when you ask for a date that users already know, or can look up without using a calendar. That is the first test to apply, because no wording can fix a question people cannot answer.

Equally, the component is the wrong choice if users are unlikely to know the exact date of the event you are asking about. A question that makes people guess or estimate is a poor fit for this field, however tidy the field looks. A plainer question, such as a choice from a short list, may serve you better.

The page's example of a question is "What is your date of birth?", and a date of birth is something a person already knows, so it passes the first test. Think about the person answering rather than the rule itself. Ask whether they would find the date in their records, in their memory, or in a calendar they have to open. A date they can find without a calendar fits. A date they would have to work out does not.

The page also says that if you ask one question on each page, you can set the contents of the legend as the page heading. The legend is the caption that labels the group of date fields, so this keeps the question and the heading in one place.

Make the purpose of the field clear

Write the label and the nearby text so that the purpose of the field is clear without guessing. A label such as "Date" tells people what kind of value to type, but not why you want it or the event it describes.

The W3C's guidance on input purpose makes a point about accessibility that matches this. Its page on Understanding Success Criterion 1.3.5: Identify Input Purpose says that some people with cognitive disabilities may not understand the input's purpose from the label alone. For a date rule, make the purpose clear in the question and nearby help text. Put the rule in the text beside the field, where people read it before they type.

Help text needs the same care. A short line under the label can name the event and the limit, so the rule is visible before anyone types. Keep it to one or two sentences. Long help text is easy to skip, and then the rule appears only when the form rejects the answer.

Match the label to the question as closely as you can. If the question asks for a date of birth, a label that names that date tells the person exactly which answer to give. A label that describes only the format of the field, without its purpose, leaves them to work out the rest. For a related review, see the guide to visible labels and accessible names.

Use plain words in every date rule

Use short sentences, one word for each field, and "you" where the form speaks to the reader. Those three habits make the rule easier to read.

Name the event in the question, so people know which date to give. The GOV.UK examples use both "date" and "day", and a form that switches between them can leave people unsure whether the two answers differ. Pick one and keep it.

Address people as "you" where it fits, as the first example does. The examples that use a name and "they" can be adapted to "you" in the same way. Each example keeps its rule to one sentence, with at most one condition, and you should do the same. Plain words also help people who read in a second language or who are tired when they reach the form. Keep sentences short and avoid abbreviations unless people use them.

Five example wordings for date rules

The GOV.UK page gives five example wordings for date rules, and each one ties a date to a named event. The list below reproduces them as the page gives them.

  1. "The date your course ends must be the same as or after 1 September 2017 when you started the course."
  2. "The day your course ends must be after 1 September 2017."
  3. "The date of Gordon's last exam must be the same as or before 31 August 2017 when they left school."
  4. "The date of Gordon's last exam must be the same as or before 31 August 2017."
  5. "The date your contract started must be between 1 September 2017 and 30 September 2017 when you were self-employed."

These examples concern courses, exams and contracts, not signup forms. They show wording patterns only. If a date rule decides whether someone can sign up, have legal or compliance staff review the final wording.

The table compares the facts in each wording.

ExampleDates in the wordingRuleAdded condition
11 September 2017same as or afterwhen you started the course
21 September 2017afternone
331 August 2017same as or beforewhen they left school
431 August 2017same as or beforenone
51 September 2017 and 30 September 2017betweenwhen you were self-employed

Each wording has the same parts: the thing being dated, the rule, the date or dates, and an optional condition that follows the date. Keep that order when you write your own. In plain terms, "same as or after" means that day or later, "after" means later than that day, "same as or before" means that day or earlier, and "between" means in the range from the first date to the second.

Two pairs in the list show how small wording changes alter the meaning. Examples 1 and 2 both concern the end of a course, but example 1 uses "same as or after" and adds the start of the course as a condition, while example 2 uses "after" and adds nothing. Examples 3 and 4 concern the same exam, and the only difference is the condition about leaving school. Those small words decide which dates the field accepts, so read each one with care.

Every rule in the list uses the word "must". That word states the requirement directly, so keep it when you adapt a wording. The case below uses the date from the quoted example to test its limit.

Work through one case step by step

Here is one case built on Example 3, using its figures as the quote gives them. The question asks for the date of a last exam, so the rule needs to limit how late the answer can be.

  1. Name the event. Ask for the date of your last exam, so the event sits in the question itself.
  2. Choose the rule type from the wording. The date must be the same as or before the limit.
  3. Use the example date for this test: 31 August 2017. When adapting the wording, replace it with the date your own rule needs.
  4. Decide whether you need a condition. Example 3 adds "when they left school", which names a second event. Keep that clause only if your question needs a second event.
  5. Test the rule with two entries: 31 August 2017, which the wording allows, and a later date, which it does not.

The test in step 5 checks the edge of the limit. If your question has no second event, leave out the condition and keep the rule type and the date. Example 4 shows the same rule without a condition, so you can compare the two and see what the condition adds. Work through the same steps for each date rule on the form, one rule at a time, so that a change to one rule does not quietly alter another.

Illustrative example: checking a course end date

Suppose your question asks when a course ends, and your rule allows the course start date or a later date. Enter the start date as the course end date: it should pass. Then enter an earlier date: it should fail. If the first entry fails, check whether the rule uses "after" when you meant to include the start date. Match the help text and error message to the limit you intended.

Write error messages that name the rule

Name the rule and the event in every error message, using the same words as the question. A message that says only "invalid date" leaves people guessing which part of their answer failed.

Write one message for each rule, not one message for every problem. If a date fails two rules, show the rule that failed first, so the person can fix the answer in order. Keep the message short enough to read at a glance. A short message can still name the event and the date, so there is no need to cut those to save space.

Write the message in the same plain voice as the question. A message such as "Enter the date your course ends" tells the person what to do, while "Invalid input" tells them only that something failed. Include these messages in your signup release review.

Mistakes to avoid with date rules

Four mistakes to avoid are a rule type that does not match the limit you need, a condition the person cannot answer, a rule that names no event, and a date field that collects information nothing uses.

First, pick a rule type that matches the limit you need. If you need only a latest date, the "same as or before" wording fits. "Between" sets a range for the answer; it does not require the person to enter two dates.

Second, do not add a condition that the person cannot answer. A condition such as "when you started the course" only works if the person can give that date. Ask yourself whether they will have that date to hand when they reach the question. Make clear which event supplies the comparison date.

Third, do not leave out the event. A rule that gives a date but no event leaves the user without a way to know which event the date describes.

Fourth, do not ask for a date the form does not need. A date field that collects information nothing uses adds work for the person filling it in.

Check one date field today

Choose one date field on your signup form and compare its question, help text and error message. Correct any mismatch, then try an answer at the limit and an answer beyond it. Keep a dated copy of each approved wording for your records.

Related guides: CCPA consumer rights: 7 rules for a software signup list · Child data checks: 5 rules before a signup form · Data access request: 5 rules from OAIC for signup lists.

Questions about date rules

Does "after" include the named date?

No, "after" means later than the named date. Use "same as or after" when that date should also be accepted.

Does "between" require two date entries?

No, it limits one answer to a range. The two dates in the wording describe the range's boundaries.

Can these examples be copied into a signup form?

Use them as wording models and adapt the event, dates and condition to your question. The original examples describe courses, exams and contracts.

Sources and check date

Related posts

More posts