Glossary

Form validation defined.

Form validation is the checking of submitted input against rules like required fields, correct format and allowed length, either in the browser before sending or on the server after it arrives.

Definition

How form validation works client-side and server-side

Validation happens in two places, and they do different jobs. Client-side validation runs in the browser before anything is sent, using HTML attributes like required, type="email" and pattern, or a little JavaScript. It gives instant feedback and catches honest mistakes, but it is only a convenience, because anyone can open the developer tools, strip the attributes, and POST whatever they like.

Server-side validation runs after the data arrives and is the checking that actually protects you: it re-applies every rule on data it fully controls, rejecting or flagging anything malformed. The reliable pattern is to do both, treating the browser checks as UX and the server checks as the real gate.

A form backend is where that server-side gate lives when your site is static, so FormWire validates required fields and formats on arrival, catches empty or malformed submissions, and pairs the check with spam filtering before anything reaches your inbox.

Related questions

Want to see it working?

Read the docs
Ready in a minute

Catch bad input before it reaches you.

Free tier forever. No credit card required.