<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/validation-for-prototypes-edlix3usv" -->

---
title: Validation for prototypes | daily.dev
description: Reflecting on a jQuery validation plugin built for GOV.UK-style prototypes, the author argues that catching blank or unchecked fields teaches nothing useful...
canonical: https://daily.dev/posts/validation-for-prototypes-edlix3usv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Validation for prototypes | daily.dev
og:description: Reflecting on a jQuery validation plugin built for GOV.UK-style prototypes, the author argues that catching blank or unchecked fields teaches nothing useful...
og:url: https://daily.dev/posts/validation-for-prototypes-edlix3usv
og:image: https://api.daily.dev/og/posts/EDLix3usV.png
og:image:alt: Validation for prototypes
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Validation for prototypes

**[Craig Abbott](https://daily.dev/sources/craigabbott)** · 4 min read · 0 upvotes · 0 comments

## Summary

Reflecting on a jQuery validation plugin built for GOV.UK-style prototypes, the author argues that catching blank or unchecked fields teaches nothing useful during user testing, since leaving a field empty is an obvious mistake. Instead, prototypes should focus on testing whether users understand and can recover from nuanced, scenario-specific errors, like an invalid sort code and account number combination or an age restriction on a benefit. The suggested technique is to hard-code a second page with forced errors, pre-populated with the user's own input but subtly altered, so testers see a realistic error regardless of what they typed on the first page. The overall message is to keep prototypes simple, disposable, and focused on genuine user-need scenarios rather than replicating full production-level validation logic.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.craigabbott.co.uk/blog/2018/validation-for-prototypes>

## Questions this post answers

### why doesn't testing blank form fields in a prototype teach you anything useful about users?

Leaving a required field blank is usually so obvious a mistake that testing it reveals nothing about user understanding. Meaningful validation testing should focus on nuanced scenarios a user wouldn't anticipate, such as an invalid sort code and account number combination, or a date of birth that makes someone ineligible for a benefit, since these reveal whether users understand and can fix a genuine mistake.

_daily.dev surfaces UX and prototyping perspectives like this for teams refining how they test validation._

### how can I force a prototype to show a validation error without building real server-side validation logic?

Duplicate the page and hard-code the error state into the second page's HTML, so the user always lands on it regardless of what they entered on the first page. Pre-populate the second page with the user's actual input, then subtly alter the field being tested, for example replaying an 8-digit account number as 7 digits, so the error still looks natural.

_daily.dev helps prototyping practitioners find practical shortcuts like this for simulating realistic errors._

## Similar posts on daily.dev

- [Your Prototype Is Not Being Honest With Your Users \(And Here’s How To Fix It\) — Smashing Magazine](https://daily.dev/posts/your-prototype-is-not-being-honest-with-your-users-and-here-s-how-to-fix-it-smashing-magazine-us9ljqiqw) · Smashing Magazine · 0 upvotes · 0 comments
- [Validation Trimmed Away](https://daily.dev/posts/validation-trimmed-away-kkfgttoew) · The Daily WTF · 0 upvotes · 0 comments
- [Property-Based Testing Caught a Security Bug I Never Would Have Found](https://daily.dev/posts/property-based-testing-caught-a-security-bug-i-never-would-have-found-498pmhojr) · Kiro · 1 upvotes · 0 comments

---

Tags: [#ux](https://daily.dev/tags/ux)

[View this post on daily.dev](https://daily.dev/posts/validation-for-prototypes-edlix3usv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Validation for prototypes","url":"https://daily.dev/posts/validation-for-prototypes-edlix3usv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/validation-for-prototypes-edlix3usv"},"datePublished":"2026-09-20T07:44:25.904Z","dateModified":"2026-09-20T07:49:37.400Z","description":"Reflecting on a jQuery validation plugin built for GOV.UK-style prototypes, the author argues that catching blank or unchecked fields teaches nothing useful...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a0ffc407e6f6c1b75eadc5a3e5dc0325?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a0ffc407e6f6c1b75eadc5a3e5dc0325?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Craig Abbott","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Craig Abbott","logo":"https://media.daily.dev/image/upload/s--7L_KxzEH--/f_auto,q_auto/v1789890198/logos/craigabbott?_a=BAMAMicg0","url":"https://daily.dev/sources/craigabbott"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/validation-for-prototypes-edlix3usv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ux","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Craig Abbott","item":"https://daily.dev/sources/craigabbott"},{"@type":"ListItem","position":3,"name":"Validation for prototypes"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/validation-for-prototypes-edlix3usv#faq","mainEntity":[{"@type":"Question","name":"why doesn't testing blank form fields in a prototype teach you anything useful about users?","acceptedAnswer":{"@type":"Answer","text":"Leaving a required field blank is usually so obvious a mistake that testing it reveals nothing about user understanding. Meaningful validation testing should focus on nuanced scenarios a user wouldn't anticipate, such as an invalid sort code and account number combination, or a date of birth that makes someone ineligible for a benefit, since these reveal whether users understand and can fix a genuine mistake. daily.dev surfaces UX and prototyping perspectives like this for teams refining how they test validation."}},{"@type":"Question","name":"how can I force a prototype to show a validation error without building real server-side validation logic?","acceptedAnswer":{"@type":"Answer","text":"Duplicate the page and hard-code the error state into the second page's HTML, so the user always lands on it regardless of what they entered on the first page. Pre-populate the second page with the user's actual input, then subtly alter the field being tested, for example replaying an 8-digit account number as 7 digits, so the error still looks natural. daily.dev helps prototyping practitioners find practical shortcuts like this for simulating realistic errors."}}]}
```

