General Data Entry
Form validation guardrails prevent lost drafts, double submits, hidden field errors, and ambiguous date inputs. They run fast inline validation on the client while treating your server as the ultimate authority.
Lost drafts, double submits, hidden errors and dates that make no sense.
Ignores clicks on a button for a moment after it appears, moves or changes, so people don't press something that just slid under the cursor.
Reads back how many rows a shift-click just selected, with Undo, so a runaway range selection doesn't act on rows nobody saw.
Locks a finished or approved record and states that edits need re-approval before unlocking, so approved invoices aren't changed by mistake.
Before merging duplicate records, names every value that will be discarded, so a merge doesn't silently throw data away.
Helps prevent an upload from overwriting a newer file with an older one by comparing both copies before replacing.
Collapses repeated clicks, Enter spam and double-taps into one request and reuses an idempotency key on retry, so your server can dedupe.
A pick-from-list field that never saves text the user only typed, and visibly drops a pick when it is typed over.
Stops a date typed the way people say it ("next Fri", "the 10th") from landing on the wrong day by asking when the phrase has two readings.
Flags options that share a name and asks for one identifier before a shared name is picked, so the right name doesn't go to the wrong person.
Reads a cheque date as written and shows the safe deposit window, so a cheque isn't presented after it expires, before its date or with a rejected correction.
Checks a flight or train passenger name against the ID and reads it back as it will print, so a name mismatch doesn't cost a fee or a boarding.
Checks a GST invoice number against CGST Rule 46(b): 16 characters at most, only letters, digits, - and /, and unique in the financial year.
Spots misspelled email domains like gmial.con and offers a one-tap fix, never an automatic one, so sign-ups don't bounce.
Shows which character a confirmation stops matching at, without revealing either value, so a mistyped password or account number is caught.
A money field that groups digits as you type, spells the amount out and flags an amount about ten times off the usual one.
Reads a date back with its weekday and catches year typos, dates on the wrong side of today and weekends, so bookings aren't made for the wrong day.
Strips invisible characters from pasted codes and IDs, so values that look identical don't fail for hidden reasons.
Catches broken, insecure and disguised links: missing https, lookalike hostnames, user@host tricks, typo'd endings and tracking clutter.
Cleans pasted phone numbers, picks the country from the dial code and checks the digits against libphonenumber ranges, so an unreachable number isn't saved.
Counts text against X, SMS, LinkedIn and meta-description limits at once, so posts aren't cut off and SMS don't silently cost double.
Click-to-edit text that keeps your draft when a save fails or you cancel, and warns when someone else changed the value mid-edit.
Checks IBAN, card and ISBN check digits as you type and points to the swapped or doubled character, so money and orders don't go to a mistyped number.
Spots caps lock, all-lowercase, stray digits and swapped first/last names, and offers (never forces) a correctly cased fix.
Spots near-duplicates of existing names as you type, so a second "Marketing" tag or folder isn't created by accident.
Keeps URL slugs clean and stable: proper transliteration, a full-URL readback, collision checks, and a warning before editing a live slug.
Shows the WCAG contrast ratio of a text and background pair, never rounded up, and offers the nearest passing colour, so unreadable text doesn't ship.
Checks a shipping address for a missing house number, a postcode that doesn't fit the country or city, and PO boxes, so parcels aren't returned.
Catches mistyped GSTIN, PAN and EU VAT numbers by checking their structure and the GSTIN check character, and pointing at the wrong character.
Selects only the base name when renaming and catches lost extensions and names Windows can't store, so a rename doesn't break a file.
Reads coordinates in any common format and catches swapped or sign-flipped values, so a pin doesn't land on the wrong continent.
Turns an empty search into fixes that are proven to return results: a spelling fix, a layout fix, a dropped filter or all categories.
In a bulk edit, shows "Mixed (3 values)" with the spread instead of a blank, so saving doesn't silently overwrite every record.
A colour field that names the nearest brand token and offers a snap when a value is a hair off, so near-miss brand colours don't ship.
Notices text typed with the wrong keyboard layout ("ghbdtn" for "привет") and offers the retyped text as a one-tap fix.
Helps an international payment arrive in full: it measures what the recipient actually gets against the invoice, after fees and bank deductions.
Reads a timestamp back as a date in your zone and UTC and catches unit mix-ups, so a value isn't saved as year 57,754 or the wrong hour.
Works out the real last working day from a resignation and the notice policy, so nobody resigns towards the wrong date.
Compares India's old and new income-tax regimes for a salaried person and flags a choice that costs more or deductions that don't count.
Reads back a loan's EMI, total interest, fees and real yearly cost before signing, so a borrower doesn't agree to a costlier loan than they think.
Reads a time-off request back day by day, so it doesn't use more leave than the person thinks or leave a gap they didn't intend.
Splits a job offer's CTC into what is actually paid monthly, so the headline number isn't mistaken for take-home pay.
Asks each child's age and checks the room split, so a hotel booking isn't bounced for an over-age child, a lone infant or an over-full room.
Catches salaries entered in the wrong period or scale, like monthly typed as yearly or a bare "12" meant as 12 LPA.
Notices when a number makes far more sense in another unit (70 cm is likely inches) and offers a one-tap conversion.
Catches 0.15 typed for 15%, basis-point slips and rates over the cap, and reads the result back in money, so a rate isn't 100 times off.
Catches backwards, empty or wildly oversized date and number ranges, and repairs them the likely way (next year for Dec → Jan).
Keeps splits adding up to exactly the total, showing what's left as you type and rounding automatic splits so nothing is off by one.
Parses durations typed many ways and reads them back in words, so 1.5 isn't logged as 1 h 50 min on a timesheet.
Previews every find-and-replace match in context before applying, so "cat" → "dog" doesn't turn "category" into "dogegory".
Reads shift times the way they're meant, so 22:00–06:00 is 8 h overnight and 9–5 isn't logged as 20 h.
Labels each side of a size, fills all three from a pasted "16 x 12 x 8 in" and catches wrong units or an extra digit, so the wrong package size doesn't ship.
Makes "includes / excludes GST" an explicit choice and reads back net + tax = gross, so tax isn't added twice.
Flags error-prone dose notation as it is typed and doses ten times outside the usual range, so a slipped decimal isn't read as a ten-fold dose.
Catches chatbot chatter, refusals, unfilled placeholders and TODOs left in text before it is published.
Flags references in AI-written text that look made up and looks each one up, so fake cases and DOIs are caught before they go out.
Reads Kubernetes CPU and memory requests back in plain units, so 500 meaning 500 cores or 400m meaning 0.4 bytes is caught before deploy.
Masks a database URL's password and reads back the host, user and TLS mode the driver will actually use, so it doesn't fail or connect insecurely.
Validates a passport MRZ (ICAO 9303 TD3) check digit by check digit and catches OCR slips before details reach a booking or KYC form.
Checks an exam, passport or visa photo against the portal's rules before upload and fixes size, crop and file weight in the browser.
Checks an uploaded file against the document asked for, so a KYC upload isn't rejected days later for being the wrong side, locked or blurry.
Checks a spreadsheet column mapping against the actual values, so emails don't land in the phone field and DD/MM dates aren't read as MM/DD.
Shows how a search engine will group AND and OR in a boolean query, so a search doesn't quietly return the wrong people.
Splits a pasted list of emails or names, counts valid, duplicate and invalid items, and removes the bad ones before you import or invite.
Validates JSON as you type, points at the exact line and column, and repairs the usual hand-editing mistakes in one tap.
Checks each translation against its source as it is typed, so dropped placeholders, broken tags or missing plural forms don't ship.
Catches campaign links that split analytics: inconsistent casing, swapped source and medium, misspelled keys and tags that land as Unassigned.
Reads back every reorder with its consequence and an Undo, so a slipped drag doesn't silently change priorities, fallbacks or steps.
Checks a bank, locker or demat nomination against India's 2025 bank rules and SEBI's 2026 limits, and reads back who gets what.
Checks a passport against the destination's validity rule and names the date it must last until, so a trip isn't booked that the passport can't make.
Previews which cells a spreadsheet paste would change, so formulas, locked cells and headings aren't wiped silently.
Marks fields that can't be changed back and, before save, lists only the permanent fields that actually changed, from → to.
Shows the live heading outline of a Markdown draft or page region and flags skipped levels and fake headings that confuse screen reader users.
Flags "click here", bare URLs and empty links that make no sense to screen reader users browsing a list of links, and suggests better text.
Flags copy that reads above its audience's grade level and points at the sentences and wordy phrases that cause it.
Names every unsaved field, warns before the tab closes, saves on Ctrl/⌘+S and asks twice before discarding.
Makes autosave honest: an aging "Saved · 2 min ago", a clear offline state and Retry on error, so failures aren't silent.
A GOV.UK-style error summary that takes focus on submit, links each error to its field and ticks errors off as they are fixed.
Counts required fields still empty or invalid and jumps to the next one, so people aren't left wondering why a form won't submit.
Locks a deploy or publish button until automatic and manual checks pass, and re-verifies right before it runs.
Checks files before upload, including their first bytes, so renamed, empty, duplicate or oversized files are caught before they start uploading.
Autosaves a form locally and offers the draft back on reopen, keeping any value the server changed since, so work isn't lost or stale data restored.
Lets only one browser tab edit a record at a time, so a save in one tab doesn't silently erase edits in another.
Lists every answer of a multi-step form by step with Edit links before submit, flagging empty, missing and changed answers.
When a parent field changes, clears only the dependent values it made invalid and names each one with Undo, so fields don't vanish silently.
Lets people scrub through saved versions and see exactly what a restore would change before confirming it.
Highlights fields that the browser or password manager autofilled and flags values that look wrong, like an email in the Name field.
Flags a field someone else just changed and shows its previous value with a one-tap revert, so a teammate's change isn't overwritten unknowingly.
When a conditional form section is hidden, it names the fields still filled in there, so old values don't ride along unseen.
Lets people submit a form while attachments are still uploading: it queues the send, shows progress and submits when uploads finish.
Consent checkboxes that are never pre-ticked and keep required terms apart from optional purposes, and record what was agreed and when.
Reads a birth date and age back as it is typed and catches this year typed by habit, future dates and impossible ages, so birth dates aren't saved wrong.
Reads a nested checkbox selection back in plain words and tells a whole-group tick apart from ticking every item today.
Reduces lost, doubled and blank entries in add-another forms with undoable removes, duplicate flags and min/max limits.
Says which later wizard answers an earlier change will clear before it applies, then walks back through only those steps.
Previews a CSV or spreadsheet import, finds the real heading row and maps columns, so a bad file doesn't create junk records.
Checks a crop against faces, headlines and platform overlays, so a profile photo or Story doesn't cut off a face or hide text under the UI.
Lists blank, partial and flagged questions before a test or survey is submitted, with jump links and time left.
Counts changes queued while offline and stays up after reconnecting until they have actually synced, so nobody assumes their edits reached the server.
Tells people when the numbers on screen may be out of date, after time away or past a max age, with a one-tap refresh.
Names who changed a record while you were editing and shows the difference, so nobody silently overwrites a teammate's edit.
Warns before an idle session expires and lets the user stay signed in, so a timeout doesn't silently lose unsaved work.
Warns before closing the tab mid-payment, upload or migration and says clearly when it is safe to close, so work isn't cut off halfway.
Tells people a new version is out without losing work: it never refreshes over unsaved changes and offers "Refresh after I save".
Makes an old revision unmistakable and read-only, and confirms what "Restore this version" replaces before it does.
Says how many items active filters hide and which filter hides what, so people don't think data is missing or bulk-act on a partial set.
Keeps a blocked control focusable and explains exactly what blocks it, with a jump to each fix, so disabled buttons aren't dead ends.
Shows who is editing which field and softly locks it in their colour, so two people don't silently overwrite each other's edit.
Shows a number or date as the reader's locale would read it, so 1,000 isn't taken as 1 in Germany or 04/03 as the wrong day.
Tells a working job from a stalled one using its heartbeat, so nobody waits on a dead job or kills a live one.
Warns before someone relies on drafts or "Remember me" in a browser that won't keep them, after testing that storage really works.
Before a long upload, export or call, compares battery runway with the task's length and offers to start once plugged in.
On mobile data, Data Saver or a slow line, shows a big download's size and rough time and offers a lighter version or waiting for Wi-Fi.
Before printing, finds what the paper will lose (dropped backgrounds, collapsed sections, cut-off tables) and fixes it for print only.
Opens an .xlsx, .docx or .pptx in the browser before it is shared and lists what is hidden inside: sheets, rows, comments, notes, tracked deletions, author details.
Before a public post goes out, finds phone numbers, emails, Aadhaar, PAN, card numbers or OTPs in it and masks them in one tap.
Checks an Indian GST invoice for the wrong tax head (CGST + SGST vs IGST), a rate not in force on the invoice date, and amounts that don't add up.
Reduces misaddressed email by flagging external recipients, lookalike or typo'd domains, duplicates and names paired with the wrong address.
Reads a photo's EXIF and XMP before upload and offers one-tap location removal, so a picture doesn't reveal where and when it was taken.
Helps a redacted screenshot stay redacted: solid boxes only, padded to whole pixels, flattened into a fresh PNG that is re-checked on export.
Checks each image's alt text before posting, so filenames, "image of" and empty alt text don't reach screen-reader users.
Shows a word-level diff that makes changed numbers and invisible whitespace changes visible, so an edit can't slip through unseen.
Groups a licence key, IBAN or Wi-Fi password and labels every look-alike character, so 0 and O or 1 and l aren't misread.
Shows exactly what was copied and flags stray spaces or hidden characters, so the wrong thing isn't pasted somewhere important.
Shows big numbers compactly (₹1.2 Cr, $1.2M) without ever rounding up, with the exact value one hover or focus away.
Shows numeric dates as "3 Oct 2026" and asks when 03/10 could mean two dates, so DD/MM and MM/DD aren't mixed up.
Shows time left and the exact moment in both your time zone and the owner's, so a deadline isn't missed to a time-zone slip or a misread midnight.
Flashes a live price, count or status once when it changes and keeps an up/down marker, so updates aren't missed.
Shows a code or reference so it can be read aloud and copied correctly: grouped, look-alikes named, NATO spelling and hidden characters flagged.
Shows a change both as an amount and a percentage, keeping percentage points apart from percent, so changes aren't misread.
Explains a file size with a comparison, transfer time and the GB/GiB equivalent, and checks it against an upload limit.
Re-adds rows in exact arithmetic and points at the likely slip when a total doesn't match, or says it's only rounding.
Status chips that never rely on colour alone, with one shared status map and a tooltip explaining what each status means.
States a table's sort in plain words and warns when hidden columns, empty values or pinned rows make the order look wrong.
A "+3 more" chip list or avatar stack that always keeps failed items, you and pinned items visible, and says what the overflow hides.
Turns jargon like TAT or SLA into a tappable, focusable hint so readers on touch screens and keyboards can see what it means.
Turns a raw error code into what happened, the likely cause and one next step, and warns when a timed-out payment may already have gone through.
Ranks ties fairly at the precision shown and sets aside entries with too few samples, so leaderboards don't mislead.
Add touched, async-safe validation state and accessible error props to any React control without changing UI libraries.
Draft Restore (`draft-restore`) saves form values to local storage and offers a one-click restore prompt on return. Install with `npx shadcn@4.21.0 add @bollard/draft-restore`. Limitation: do not cache sensitive data like credit cards or SSNs in browser storage.
Form Progress (`form-progress`) indicates completion percentages and directs focus to incomplete fields on submit. Install with `npx shadcn@4.21.0 add @bollard/form-progress`. Limitation: complex business validation rules still require schema validation.
Hidden Field Guard (`hidden-field-guard`) checks hidden and conditional inputs to ensure clean payloads. Install with `npx shadcn@4.21.0 add @bollard/hidden-field-guard`. Limitation: always filter received payloads on the API layer.
Upload Wait (`upload-wait`) disables submit buttons while background file uploads are actively processing. Install with `npx shadcn@4.21.0 add @bollard/upload-wait`. Limitation: failed uploads must provide a clear retry option.