Check onboarding forms for minimum length, maximum length, whole numbers and supported number ranges so customer answers are usable.
Key takeaways
- Set a minimum length where a short answer is clearly wrong.
- Set a maximum length that matches the place the value ends up.
- Require a whole number when the answer is a count.
- Set a number range that matches what you can actually support.
Why intake forms need their own rules
The onboarding intake form is usually the first structured information a new customer gives you. Its answers flow into your CRM, your provisioning scripts, your billing setup, and the agenda for the kickoff call. A value that looks fine on screen can still break one of those steps. A seat count typed as "forty" passes a quick glance, but your provisioning script expects a number.
Most teams already check that required fields are filled in and that an email address looks like an email address. Fewer check the rules that decide whether a value is usable: how long it can be, how short it can be, whether it must be a whole number, and whether a number falls inside the range your product supports.
The examples below use wording from the GOV.UK Design System's text input guidance. We borrow the patterns and the style of the error messages. We do not claim its limits apply to your product. Your limits have to come from your own systems.
Rule 1: Set a minimum length where a short answer is wrong
A minimum length catches values that are filled in but obviously incomplete. A single letter in a "Full name" field, or a one-character company name, needs checking against what your process accepts. The GOV.UK guidance gives this example: "Full name must be 2 characters or more" ( GOV.UK Design System). The message names the field and states the minimum in plain words.
Be careful, though. A minimum is only useful when a shorter value would really be wrong for your process. Some real names are short, and some company names are only a few letters long. If you set the minimum too high, you block legitimate customers and create support tickets. Before you add a minimum, ask what the shortest valid answer looks like across your customer base, and check a sample of past records to see what has actually been entered.
A good test is this: if a value below the minimum would still let your team do its job, do not block it. Show a note or a soft warning instead, or leave the field alone. If the value would break a downstream step, such as creating an account record that needs a name, the minimum is worth the friction.
Trim spaces before you count. A field that contains only spaces has a length, but it has no content. If you count before trimming, a value of several spaces can pass a minimum check that it should fail. Trim leading and trailing spaces first, then apply the rule.
Rule 2: Set a maximum length that matches where the value goes
A maximum length protects the systems that receive the form data. If your billing tool prints the legal company name on invoices and has room for only part of a long name, the rest will be cut off or will wrap in a way nobody checked. The intake form is the cheapest place to catch that problem.
The GOV.UK guidance uses the example "Address line 1 must be 35 characters or less" ( GOV.UK Design System). The useful part is the pattern.
Set the maximum from the destination, not from the form field. Ask where the value is stored and where it is displayed. Use the smaller of the two as your starting point, and confirm it with the team that owns each destination.
Also decide how the form counts characters, and test it with a real long value rather than a guess. A name with accented letters or with characters from another alphabet can look shorter on screen than it is once it is stored or printed. Paste a long, realistic value into a test copy of the form and follow it through to the place where your customer will see it. That one check often shows a limit that is too generous or too tight.
A maximum that is too tight causes the same trouble as a minimum that is too high. Long legal names, long street addresses, and multi-part project names are real. If a limit blocks a legitimate answer, the form has failed the customer, even if the rule was technically correct.
When a field needs both limits, combine them into one rule and one message. The GOV.UK guidance gives this pattern: "Last name must be between 2 and 35 characters" ( GOV.UK Design System). One message that covers both bounds is easier to read than two separate errors that appear one after the other.
Rule 3: Require a whole number when the answer is a count
Many intake questions ask for counts: number of users, number of sites, number of integrations, number of training sessions. These should be whole numbers. A fraction of a user or a fraction of a site means nothing to a provisioning script, and it creates a question that someone on your team has to answer by hand.
The GOV.UK guidance shows the difference between a plain number rule and a whole number rule. One example reads "Hours worked a week must be a number, like 30", and the stricter version reads "Hours worked a week must be a whole number, like 30" ( GOV.UK Design System). For a count, use the stricter version. For a quantity that can reasonably have decimals, such as a monthly spend or a percentage, a plain number check may be enough. In that case, say the expected unit in the field label or hint text.
Customers will type things you did not plan for. They enter a number with a thousands separator, write something like "about a hundred", or spell a number out in words. Decide which of these your form accepts, and tell the customer in the hint text. For example, you might accept commas and strip them before saving, but reject words. Write that decision down so the support team and the developer both know it.
Where your form tool offers a numeric input type, use it. On a phone, a numeric input shows a number keypad, which makes it less likely that someone types a letter into a count field. The input type does not replace validation, because a customer can still paste text into it, so keep the server-side check as well.
Rule 4: Set a number range that matches what you can support
A range check says that a number must sit between a minimum and a maximum. The GOV.UK guidance shows each case as its own rule: "Hours worked a week must be 16 or more", "Hours worked a week must be 99 or fewer", and "Hours worked a week must be between 16 and 99" ( GOV.UK Design System). Those are three different rules. Pick the one that matches your need: a lower bound only, an upper bound only, or both.
For an onboarding form, a seat count often needs a lower bound. If your product needs at least one seat to work, a value of zero or less should not pass. An upper bound is less obvious. If your plan tiers top out at a certain number of seats, that tier limit is your upper bound. If they do not, a very large number is probably a typo, and it is better to flag it for review than to reject it outright.
The most important point is where the bounds come from. Check the plan limits, the provisioning limits, and the terms of the contract the customer is signing. Do not guess them from memory, and do not copy a number from a competitor's form. A range check that is wrong by a factor of ten will either block real customers or let bad data through, and neither outcome is good. For a related seat review, see quantity rules before seat renewal.
Some values will be valid but unusual. A large enterprise may need more seats than your self-serve plan allows. For those cases, a hard block can be the wrong answer. Consider routing the value to a person instead. The form can accept the number, mark it for review, and tell the customer that a team member will confirm the details. That keeps the customer moving and keeps your records accurate.
Write error messages a customer can act on
A good error message names the field, states the rule, and adds an example where useful. The GOV.UK examples all name the field and state the rule, and some add an example of a valid value ( GOV.UK Design System).
Compare that with "Invalid input". The customer knows something is wrong, but not what to change. "Seat count must be a whole number, such as the number of licences you have bought" tells them exactly what to type. It takes a little more effort to write, and it saves a support email.
Keep the wording consistent. If one field says "characters" and another says "letters", customers will wonder whether the rules differ. Use the same phrasing for the same kind of rule across the whole form, and reuse the same messages for the same problems.
Show the limit before the customer makes a mistake. A hint such as "Up to 35 characters" under the field helps people who would otherwise type a long answer and then hit an error. The error message is the backup, not the main way the customer learns the rule.
Place each message next to the field it describes. A summary at the top of the page can help when several fields fail at once, but the message should also appear beside the field so the customer does not have to search for the problem.
Keep long intake forms easy to finish
Length and number rules add work for the customer. If the form has many fields, a customer who hits several errors at once can feel stuck and leave. The fix is partly about structure. Jotform's guidance on multi-page forms says that you can "organize your form into clear sections that are easier to navigate and complete", which helps create a more focused and comfortable filling experience ( Jotform).
Group related fields into steps. Put company details on one step, contacts on another, and technical setup on a third. Each step should have one clear purpose, so that a customer knows what kind of information they are being asked for and can finish that part before moving on.
Tell the customer how far they have to go. The W3C Web Accessibility Initiative advises that, "If possible, the first step of a form should explain how many steps will follow" ( W3C WAI). A short line at the top, such as "This form has four steps", lets the customer plan their time and makes the form feel finite. See multi-page form progress settings when reviewing that part of the form.
Check each step when the customer leaves it. If a length or number rule fails on step two, the customer should learn about it before they start step three. That keeps the error close to the context where they entered the value. Still run every rule again on the final submit, because a value can change after a step has passed.
Save progress as the customer goes. Intake answers often need a colleague's input, such as a seat count from the finance lead or a domain name from IT. A form that saves partial answers lets the customer come back later instead of starting over.
Put the four rules together on one form
Here is how the rules look on a short intake form. Imagine four fields: the company's legal name, the name of the admin who will manage the account, the number of seats the customer is buying, and the number of sites that will connect to your product.
The legal name needs a maximum length. It does not need a strict minimum beyond a check that the field is not blank after the spaces are trimmed. Apply the same test to the admin name: require a minimum only when a shorter answer would prevent your team from using it. It may also need no maximum at all if your destination systems handle long values well. Write down which case applies.
The seat count needs a whole-number rule and a range. A lower bound makes sense if your product needs at least one seat to work. The upper bound comes from the plan tier. If the customer enters a number above the tier limit, route the request to sales rather than blocking the form, and tell the customer what happens next.
The site count follows the same pattern as the seat count. Whether it has a range depends on your product.
Once the rules are written, read the form as the customer would. Would they know, before typing, how long the company name can be? Would they know that a seat count must be a whole number? If the answer is no, add the limit or the format to the hint text. Keep the hints short, because a wall of instructions above every field is harder to read than an error message that appears only when it is needed.
Illustrative example: Test a seat range
An entry of 20 passes the whole-number and range checks. An entry of 0 is a whole number but falls below the minimum. An entry of 750 exceeds the maximum and goes for review. Test each entry in a copy of the form and confirm that the message or review route matches the intended result.
A checklist before you publish
Before you publish an intake form, walk through these questions for each field.
- Minimum length: Does a minimum exist for a clear reason? Does it match the shortest valid answer you have seen?
- Maximum length: Which destination sets the limit? Is that limit shown in the hint text before the customer types?
- Whole numbers: Is the field a count? Does it reject fractions, and does it say how thousands separators are handled?
- Number range: Where did each bound come from? Does it match the plan limits and contract terms? What happens to a value outside the range: is it blocked, flagged, or routed to a person?
- Messages: Does each message name the field, state the rule, and give an example where useful?
- Steps: Does the first step say how many steps follow? Are rules checked when the customer leaves each step?
- Testing: Submit a blank value, a value of spaces only, a very short value, a value exactly at the limit, a value one character over the limit, a fraction in a count field, a word in a number field, and a number just outside the range. Check that each one produces the message you wrote.
Today, choose a seat-count field in a test copy of your form and run the checklist above. Write down any mismatch between the hint, the check and the result before changing the customer-facing form.
Related guides: Account activity history: 5 rules for renewal research · Check portal rules on 4 billing tools before sharing · Onboarding tools: compare 4 customer project plans.
Questions about onboarding form rules
Should every name field have a minimum length?
No; use a minimum only when a shorter answer would be unusable for your process. Check short real names before setting the limit.
Does a numeric input replace validation?
No; keep the server-side check as well. Test pasted text and fractions in count fields.
Should an unusually large seat count be rejected?
Route it for review when it may be valid. Tell the customer what happens next.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.