Quality Assurance
One set of validation rules, in the browser and on the server
Forms are where bad data enters a system. We define each form's rules once, and check them both in the browser and on the server.
Why both
Checking in the browser gives users instant feedback. Checking on the server is what actually protects your data, because browser checks can be bypassed.
One definition, no drift
When the two checks are written separately, they slowly drift apart: the form accepts something the server rejects, or worse. A shared schema, for example with Zod as in STOCKROOM, keeps them identical.
Clear messages
The same rules produce the same clear error messages everywhere, so users know exactly what to fix.
Have a project in mind? Talk to us, in Japanese or English.
Start a project