ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
KT
editorial-practice · 24 min read

Keep the Reference Token Separate From the Amount

A neighborhood seed library prints a handout that invites a visitor to reserve up to two packets at a collection event. Below a prominent “2 packets” line is…

A neighborhood seed library prints a handout that invites a visitor to reserve up to two packets at a collection event. Below a prominent “2 packets” line is a smaller string identifying the visitor's reservation. The online form asks for a “voucher value.” The visitor enters 2. The page rejects it, but the error says only “Invalid value.” The visitor did not misunderstand how many packets the handout offered. They reasonably followed an interface that never made clear which kind of value it wanted.

Editorial illustration of perforated paper stub and geometric token chips. (generated editorial illustration; not documentary evidence)
Editorial illustration of perforated paper stub and geometric token chips. (generated editorial illustration; not documentary evidence)

This is an identity and labeling problem. A quantity tells readers how much of something is available, allowed, selected, or recorded. A reference token points to a record. On a printed stub and its matching web page, those facts may appear side by side, but one should not be usable as an accidental stand-in for the other. The form must ask for the reference using the same recognizable name the paper uses. Any Copy action should produce the reference itself, not the surrounding explanation, quantity, or punctuation.

The examples in this guide describe an invented, nonmonetary community program. No payment action is involved. The editorial and interaction checks help a reader identify, copy, enter, and verify a reference during a routine handoff. They do not determine eligibility, define authentication, or give a displayed token powers that the actual program never assigned.

Decide which fact each element is supposed to communicate

A printed stub can name the activity, display a quantity, identify the relevant time or location, and provide an opaque reference. Give each of those fields a specific role. “Up to two seed packets” is not a serial number. “Reference token” is not an instruction to enter a quantity. Retain the units beside quantities, because those units are part of the claim. Retain the exact characters of the token in a distinct location, because the characters are the locator.

Do not force one label to answer too many questions. A voucher might be the entire printed document, a reference printed on it, or the allowance that it describes. People may reasonably use the same word for all three in conversation. A form must make a choice about which object it needs. Start by naming the object with an ordinary role: “Pickup reference” or “Reservation reference.” Use that name beside the source value and the input, rather than changing it from code to voucher to value across the workflow.

Sometimes the quantity and reference both consist of digits. Distinction then depends strongly on wording and placement. If the program controls newly issued references, it can choose an easily recognizable presentation, such as a clearly labeled letter-prefixed reference, consistent with its real format policies. Do not change the value of existing references just to make cards look tidy. When the identifier is indistinguishable by visual appearance, the interface must do more to explain its role.

Keep identifiers as identifiers in every representation. A numeric-looking reference with leading zeroes is not a number someone should round or reformat for display. A stored quantity can be rendered in natural language and may legitimately change from singular to plural. A reference should not gain localized separators, lose leading zeroes, or change apparent spelling because a spreadsheet treats it as a number. What looks like formatting can change identity.

A printed document may also carry some number that is neither quantity nor reference. A date, pickup window, or public program edition may have its own digits. Show the field names near the values. Do not tell a reader to use “the big number” or “the number above the line.” Those instructions can fail when the layout changes, when the stub is printed at another size, or when someone reads the document using text extraction.

Write the handoff from the reader's perspective

The Digital.gov plain language guide advises designing and testing information for the people who need to understand and use it. Apply that principle to both ends of the handoff. Imagine someone standing at a counter with a printed stub, not a staff member who built the page. What do they know already? Which term on the form will let them find the right line on the paper immediately? Which terms sound synonymous even though the system uses them for different values?

One simple paper design reads “Pickup limit: 2 packets” and “Pickup reference: DEMO-26A.” The web form asks for “Pickup reference” and can add a short instruction such as “Use the reference printed below the pickup limit. Do not enter the number of packets.” The first sentence helps readers locate it; the second is useful only if that confusion is realistic in the layout. The entire interaction should not depend on memorizing an exception.

Choose examples that cannot be mistaken for the user's real reference. An example can clarify separators or length when the program has those rules. Introduce it as an example and do not style it like an issued record. A placeholder inside an empty field is not a durable label. It may disappear with typing, and a visitor may think the example is already filled in. Keep the field's purpose explicit with or without the sample.

Avoid using a phrase that overstates what the token does. If it only finds the reservation, “Look up reservation” is more truthful than “Confirm pickup.” If the next step separately confirms what will be collected, label that separate action. People should not misread an early verification message as proof the program marked their pickup complete. This is an editorial design issue even if the underlying system distinguishes the actions cleanly.

Use units whenever you repeat the quantity. A header that says “2” to save space can look like a code. “2 packets” provides a more stable clue. If the number is a limit rather than a current selection, keep that distinction in the wording. “Up to 2 packets” is not the same claim as “2 packets reserved.” A clear reference field cannot repair a quantity whose own status is wrong.

Build the form around the value people actually have

The W3C WAI forms tutorial discusses labeling controls, giving instructions, validating input, and providing user notifications. Its guidance is useful when someone must transfer a small exact string from another artifact. The tutorial does not specify the rules of a community program or the syntax of its references. Those details must come from the program's verified interface and records, not from an accessibility example.

Give the input a persistent, useful label. Attach relevant explanatory text in a way people can discover while using the control. If the form includes both a reference and a quantity field, make the labels and the layout clearly distinct. Ideally do not request an existing quantity at all if the reference can retrieve it. Asking the reader to retype a value that is already known creates more chances to confuse fields and may make the program appear to accept a different amount.

Support ordinary copying, pasting, and correction. Do not force everyone to type a reference by hand if copying is practical. If the input accepts letters, avoid presenting an input mode that makes letter entry unexpectedly difficult. For a paper-first flow, consider whether people can read the label and type the characters on a phone with both surfaces accessible. Dense spacing and a disappearing instruction can turn a brief action into a memory task.

If the user needs to enter a quantity at a later step, attach units and scope there. “How many packets would you like to reserve?” makes sense after the reservation or available choices are clear. “Amount” alone can be ambiguous on a page that also uses identifiers and eligibility limits. When a quantity has a maximum, communicate it independently rather than offering a number copied from a token-related display.

After an unsuccessful attempt preserve the person's input long enough to help them correct it. A message such as “Enter the pickup reference shown on your stub” helps when the field lacks a usable reference. Do not assert that a person entered the packet count merely because their input is short, unless the program has evidence for that diagnosis. A fund of plausible interpretations is not a reason to blame the reader. Explain what the field expects and let them recover.

When there is a format rule, convey it accurately. Some programs include separators or case distinctions; others accept common variations. The person reading a paper reference should not have to know which characters are decorative unless the form states the rule. If visual formatting and actual accepted input differ, provide a path with little room for error. The safest editorial recommendation is to show and copy the same exact approved value, and document any flexible entry behavior separately.

Give Copy only one job

A Copy reference control should copy the canonical reference, not the heading, allowance, sample value, or a hidden style character. The visual card may contain “Pickup reference: DEMO-26A” and “2 packets remaining.” The clipboard result should contain just the issued reference for that card. Name the button “Copy pickup reference,” especially if the same page has other copy controls. After activation, a short status can confirm what was copied without changing the reader's focus.

Test the contents instead of relying on the confirmation. A script can always display “Copied” even when the wrong string was written or permissions prevented the action. Paste into a plain text editor, then into the real receiving field in a safe test fixture. Compare exact characters, including initial zeroes, separators, and trailing spaces. The status is evidence of what the interface claims, not proof that the clipboard contains the correct data.

If the browser cannot perform a clipboard write, provide a useful fallback. Leave the reference available to select, and do not announce a successful copy. A short instruction can say to select the pickup reference and copy it manually. Do not replace the text with inaccessible graphics after a failed click. The value remains readable and usable even when the convenience feature is unavailable.

Separate reference copying from sharing a whole stub. Staff may want a text summary containing location, allowance, and pickup window. That is another action and can have a distinct label if the program supports it. Sharing the full page or image also has different implications than copying a single field. Give users a predictable result instead of guessing which downstream use is intended.

Keep the copied field stable if nearby quantities update. For instance, a family's permitted choice may change after partial fulfillment, while the original reference continues identifying the same reservation. A copy operation should read from the reference's own data, not from whatever is currently emphasized in the card. A test with a changing quantity can reveal a coupling that static mockups miss.

Be explicit about visible punctuation and grouping

A designer may want to insert breaks between chunks of a long reference. This can help a person compare characters across a line. But the visual separator needs a documented relationship to the source string. Is it part of the reference, a formatting guide, or an optional entry aid? If the layout displays a different separator from the one the form expects, test what manual entry and clipboard transfer actually do. Do not rely on a reader to recognize typography that looks identical at a glance.

An especially nonobvious issue appears when text is selected manually. A reference may be displayed next to a colon, surrounded by typographic quotation marks, or wrapped onto two lines. A copy command can strip the presentation cleanly, but a reader selecting text by hand may pick up a colon or line break. Keep enough separation to select the reference on its own. If the program intentionally tolerates incidental whitespace, verify that behavior rather than relying on it invisibly.

Do not auto-transform the printed field by running it through a generic text formatter. A program that formats a reference as a heading may capitalize it or replace separators. If interpretation is case sensitive, that formatting could alter identity. Even when entry is tolerant, a consistent canonical presentation is useful for people comparing a receipt, print stub, and web confirmation. If a flexible rule applies, name it in staff notes so future designs do not extend it unpredictably.

Consider visually similar characters in the actual typeface. The number zero and capital letter O or the numeral one and letter I may be hard to distinguish. Existing references cannot always avoid these characters, so readable typography and a reliable copy path matter. If a printed route requires manual transcription, an approved spelling aid can help staff confirm a character. Do not ask users to make guesses based on which digits a generic system might prefer.

A receipt intended to fit in a wallet still needs enough room for the reference. Shrinking it until it becomes faint or clips is not a solution to visual crowding. Keep the identifier intact and use the space freed by shorter supporting copy or a distinct second line. The same principle applies to responsive layouts. A token disappearing after an ellipsis is not available for transcription merely because a copy button works for some people.

Keep the print and web artifacts in agreement

Preview the specific artifact people will receive. A template may display the right fields in a browser but use a separate merge rule for the printed stub. That rule could place the packet allowance in a slot titled reference. The print can look polished while remaining wrong. Test with an issued practice record containing distinct content in every field. If all sample fields use interchangeable defaults, the test may not reveal a mistaken mapping.

Compare the paper stub, the electronic confirmation, and the receiving form. Check that all three use a recognizable name for the same reference. Check that the numbers describing quantity use the same units and the correct status as of their own point in the workflow. A printout from before a change may show an earlier allowance while a current page shows the latest one. Explain the distinction if recipients use both together; do not update the reference merely to hide that their values differ.

When a program changes its public vocabulary, proof both old and new materials. A person may arrive with a paper version that says “Reservation reference” while the new form only says “Pickup identifier.” If both mean the same thing, the form can retain the familiar term or briefly acknowledge the old label. If they identify different objects, explain what is accepted and where to find it. A paper stub can circulate long after a text field was renamed.

A print export may transform marks that look like ordinary separators. An automatic layout can replace a hyphen with a longer dash or introduce line-break characters. A scanner or text-recognition process can introduce changes too. Verify the human-readable print and any expected digital extraction independently. Clean layout is useful, but exactness matters more than visual polish where someone must recover the token.

If the paper includes a scan route such as a link encoded in a graphic, preserve a text route too where practical. A person may not be able to scan from the device carrying the stub. The scanning route also does not excuse unclear labels for manual lookup. Test that the visual graphic points to what it claims and that a reader can recover from an unsuccessful scan without trying to enter a quantity as a fallback.

Illustrative chart: Token tasks using displayed quantities by mistake

The chart uses seven fixed, constructed task cases. An item is one route in which the test still selects or transfers the displayed quantity instead of the reference. It is not a count of program participants, vouchers, financial transactions, or standards criteria. The figures are invented, not observed performance or a conformance score. Each checkpoint uses the same seven task cases.

Initial draft       #######  7 items
Targeted revision   #        1 item
Reviewed version              0 items
Audit stageToken tasks using displayed quantities by mistake
Initial draft7
Targeted revision1
Reviewed version0

The imagined first revision fixes six cases. A stub names the pickup reference separately from the limit; a direct-entry web form uses the same label; a mobile card restores the quantity unit; a keyboard route associates the visible label with the intended field; the ordinary web Copy action transfers the canonical reference; and a correction message helps someone recover after typing a packet count. Seven minus six leaves one.

The remaining case is a downloadable confirmation built by an independent export template. Its button labeled Copy reference still grabs the quantity highlighted in the confirmation page, because the template did not receive the distinct reference mapping. The second revision reconnects the field and verifies the copied string in plain text and at the receiving form. One minus one leaves zero. That result covers the seven specified routes, not every display, staff tool, or future print process.

Do not award a pass because a task no longer exposes the quantity at all if the removal also erases a necessary fact. The example aims to preserve both fields while keeping their functions clear. A task that succeeds by using an unspecified workaround may still reveal a defect in its intended route. Use the same success condition at each stage and record whether a repair changed the interface contract.

The chart does not say which issue should be fixed first. A team might prioritize the most frequently distributed print format or a failed accessibility route independently of raw counts. The five fixes that touch words can be quicker than one repair to an imported document. Counting an outcome is different from measuring repair effort. Keep the purpose of the chart bounded by its defined unit.

Make validation help the user choose the correct field

If a string does not fit the program's verified reference format, an error can explain what to look for. “The pickup reference is printed in its own box below the packet limit” is an example if that location is accurate on the paper in circulation. Better yet, duplicate the exact label. A generic “invalid number” does the opposite: it encourages people to think the system wants a numeric amount and that their arithmetic is wrong.

Choose how to present an unrecognized reference separately from a badly formed one. A typo, a reference from another event, or an unavailable lookup can produce different outcomes, but the interface should not invent cause when it cannot verify it. If the system cannot look up the value, say that it cannot confirm the reference right now and give the intended next step. Do not show a successful confirmation merely because the text passes a format check.

When a form presents an error, keep both the control and the corrective information reachable in a logical order. A person using a keyboard or assistive technology needs to identify which entry requires attention. If the page resets the field after every failed attempt, the person has to transcribe the complete reference again. Preserve it where appropriate and let them correct the suspect character. Use the WAI tutorial's form patterns as relevant without assuming that one label solves all notification and focus behavior.

Do not instruct users to paste the full stub into a reference field. That can include unnecessary information and is unlikely to help them see which field the form needs. Provide a clear manual path targeted to the required string. The textbox should not silently guess which sequence among several digits is intended. If the service supports importing a whole document through a distinct flow, name that feature distinctly rather than treating it as incremental paste behavior.

A different kind of notice can explain that a quantity is no longer current. Because the reference identifies a record, the returned quantity can differ from an old printed allowance. Name that fact and its context without implying a different reference was used unless that really is the case. If a user knows which reference they entered and which quantity the server returned, they can ask a precise question rather than wondering whether the correct facts were swapped.

Test the complete transfer rather than the appearance of the fields

Hand a reviewer a realistic practice stub and open the receiving form in a fresh session. Ask them to find the reference and use it to look up the named reservation. Avoid explaining the positions first. Observe which line they choose and what they think is about to happen when they submit. If they reach the correct record only after staff coaching, record the unmet instruction need rather than treating the lookup alone as a pass.

Give another reviewer a digital stub. Ask them to use the copy control and paste the result into an ordinary text field before attempting a lookup in the fixture. Confirm the exact token appears. Try selecting the same text manually when the clipboard shortcut is unavailable. An implementation that works only with a convenience action may fail in a restricted browser or operating environment, even when the page is otherwise readable.

Include a deliberately small numeric quantity and a longer reference containing mixed characters. If issued references can begin with zeroes, create an approved test example representing that condition. Compare the print value, the copied string, the text seen when tabbing into the form, and the confirmed record. Use fixtures instead of actual reservations. You want to isolate the role mapping and avoid exposing live references while inspecting different outputs.

Test a condition in which the visible amount changes. The application might fetch a current allowance after it loads, or show the remaining count following a prior reservation event. If a button reads the latest highlighted number instead of the reference field, a static test might never expose the bug. Change only the quantity, then verify that the lookup still selects the same record and the payload copied by the named action remains the canonical reference.

Test the words after a deliberate mistake. Try entering the amount instead of the reference and record what the response tells the reviewer to do. Can they locate the right label, preserve their place, and correct the field without leaving the form? If the form uses a validation summary, check that the focus and reading sequence support recovery. A clear error belongs to the interaction, not just to its test output.

Where a staff-assisted route is expected, test that route with the actual script or instructions. A person at a desk might ask for “the voucher number” and point to the largest writing, contradicting the thoughtfully labeled form. Use the same plain role language wherever readers are asked to transfer the value. An approved short name can support a conversation without requiring staff to repeat an entire technical explanation.

Preserve the reference when the program changes around it

A program can change the schedule, shift a pickup location, or revise how many packets are offered. Identify which changes are supposed to update an existing record and which create a different reservation. Do not imply the reference changed merely because the surrounding quantity did. Likewise, do not continue displaying an earlier reference as if it certainly points to a new record just because two cards share an activity name. Define the relationship before rendering the update.

Consider an event that moves to a later date. A mailed stub still shows the first date, while the current reservation lookup shows the revised date. A nearby line can explain the revision and confirm the record identity. The user can then distinguish “same reservation, updated schedule” from “different reservation.” Do not ask readers to compare opaque strings without labeling what those strings identify.

The same issue appears if one reservation maps to more than one line item. Two packets of one variety and one of another can produce quantities in several rows. The reference may identify the whole record rather than a line, or the program may issue separate references. Use clear headings and program evidence. A developer who positions a label beside a row can accidentally imply a narrower scope than the actual lookup supports.

Where opening a record merely confirms what is listed, make the confirmation describe the evidence received. “Reservation found: up to two packets” can be helpful if it reflects real status. “Two packets collected” would be false if no action of that kind took place. Distinct verbs help readers understand what their entry accomplished. An accurate workflow tells them what is required later instead of presenting all intermediate outcomes as final.

Walk through a fictional handout

Imagine a seed library preparing a pickup day with a first-time visitor audience. Each issued handout shows a short reference and a packet limit. Staff want visitors to identify the record at the desk, or look it up online beforehand to see the assigned window. The project asks designers to make the handout colorful and compact. The first layout gives the number two the largest type and places the reference beside a date with no field label.

The review team gives the form and handout to someone unfamiliar with the service. They use the number two and become stuck at “Invalid value.” The team does not change the allotted quantity or add a larger warning banner. It labels the actual facts: “Pickup limit: up to two packets” and “Pickup reference: DEMO-26A.” The web form uses “Pickup reference” and a concise locator. The result page separately states what quantity the record confirms and when that status applies.

Then staff test the digital confirmation. The Copy pickup reference button succeeds in the normal site but a printable file does not contain equivalent interactive controls. Its reference is made selectable and clearly readable as text. The editor also checks a download designed for staff review that does offer a separate copy action. Its template was pointing to the packet limit. That error did not appear in the site or the print version. Testing each supported transfer reveals the three different behaviors.

During the last walkthrough a visitor uses a mobile browser with a paste permission restriction. They can still read and select the reference and type it into the form. A notice after a failed convenience action does not claim the clipboard was updated. The nonvisual route provides the same distinction through properly named fields. The flow is no longer dependent on recognizing either a huge numeral or the color of the box around it.

The staff note identifies what was tested: selecting the token rather than the quantity from paper, copying it from the electronic card, maintaining it after a quantity refresh, and recovering from a mistaken entry. These are separate checks even though the same verified record supports them. No one reports that the program accepted or fulfilled real reservations during testing. The fixture establishes a usable transfer, nothing more.

Keep a compact record of what must stay exact

Handle paired records without blending their quantities

A household may bring two stubs to the same desk. For instance, one reference might identify a collection window for a Saturday activity and another might identify a different window for Monday. Both could list exactly two packets. The repeated quantity cannot tell staff which reservation is being discussed. Keep the activity name, date, and reference together, so the person can distinguish the records before any lookup. This is a useful test because a workflow that succeeds when only one stub is present can hide an identification problem.

When the web page displays several matching records, show a clearly labeled reference and entitlement for each one rather than offering a single summary Copy button with an unknown target. If the service supports copying the reference of the currently selected record, verify that the label or context identifies the selection and changes with it. A short role name plus a recognizable date can prevent ambiguity without forcing the button itself to repeat a whole record. Test the result after reordering the cards, since a copy action associated with a list position rather than a record can appear correct before the order changes.

Be deliberate about how labels travel into a conversation. A staff member might say, “I found the Saturday reservation, with a limit of two packets.” That names the record's state without reading out its reference to a crowded room. If there is still doubt about which record is meant, use the program's approved verification route. The distinction between quantity and reference does not determine what should be said publicly. It helps staff avoid requesting irrelevant information and avoid making one field do the work of another.

Proof a correction case in which the visitor starts with the wrong stub but a valid reference. A generic confirmation message might appear even though the result refers to Monday instead of Saturday. Include enough supported context in the response to let a visitor recognize the difference. Where appropriate, tell them how to return to the lookup without presenting the amount as a way to guess another reference. The key is a clear understanding of which record was found, not simply whether the typed string was accepted.

These cases make a useful small teaching fixture for later versions of the forms. Use similar quantities and visibly distinct approved sample references. Make the desired record clear from its labeled activity and date. Changing just the card design should not change the outcome of that task. If the team finds it hard to describe which reference the Copy action targets, the control is not yet ready to verify in a real handoff.

Document the data boundary

Set down a field contract that someone can apply without opening the source template. It should describe the reference's public name, its precise display value, which action copies it, which receiving field expects it, and what a lookup does. Record the amount separately, with its unit, time scope, and status. Specify whether a full share output includes both and which text labels it uses. This is practical documentation for repeated release work, not a substitute for proof.

When a bug is reported, preserve the form of evidence that shows the first failure. A screenshot can show that a receiving field was labeled “Amount.” It cannot prove what a copy command transferred. A clipboard sample without the associated page context cannot prove which control was pressed. Use a fixture result or a carefully scoped written observation to connect the two. That reduces the chance of fixing the copy code while leaving the source handout misleading.

Keep any language revisions tied across the surfaces that need the same vocabulary. A translation may require different grammatical forms for a heading and an instruction. What must remain discoverable is that the instruction refers to the public reference on the person's own document. Do not translate the actual token if its identity remains exact across languages. Verify the same value after switching languages, rather than assuming text localization leaves unrelated fields untouched.

For printed versions, retain a representative copy or proof when it helps document the supported format. A publisher may not control every old handout still in circulation. State which versions the present form recognizes by their wording, and make any transition understandable where a visitor starts. Keeping one version date with each sample is more useful than treating an unlabeled photograph of a stub as today's design.

The resilient pattern is to preserve the two facts, not choose one over the other. Quantities should tell people how much and under what conditions. References should tell people which record. Give each fact a clear name, show it in the right place, and verify that copying or entering it preserves the intended meaning. A reader should not need to know how the template works to tell two packets from a reservation's identifier.

Frequently asked
What is Keep the Reference Token Separate From the Amount about?
A neighborhood seed library prints a handout that invites a visitor to reserve up to two packets at a collection event. Below a prominent “2 packets” line is…
What should you know about decide which fact each element is supposed to communicate?
A printed stub can name the activity, display a quantity, identify the relevant time or location, and provide an opaque reference. Give each of those fields a specific role. “Up to two seed packets” is not a serial number. “Reference token” is not an instruction to enter a quantity. Retain the units beside…
What should you know about write the handoff from the reader's perspective?
The Digital.gov plain language guide advises designing and testing information for the people who need to understand and use it. Apply that principle to both ends of the handoff. Imagine someone standing at a counter with a printed stub, not a staff member who built the page. What do they know already? Which term on…
What should you know about build the form around the value people actually have?
The W3C WAI forms tutorial discusses labeling controls, giving instructions, validating input, and providing user notifications. Its guidance is useful when someone must transfer a small exact string from another artifact. The tutorial does not specify the rules of a community program or the syntax of its references.…
What should you know about give Copy only one job?
A Copy reference control should copy the canonical reference, not the heading, allowance, sample value, or a hidden style character. The visual card may contain “Pickup reference: DEMO-26A” and “2 packets remaining.” The clipboard result should contain just the issued reference for that card. Name the button “Copy…
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room