JavaScript Form Validators (12)
About this product
Twelve dependency-free validators — email, phone, Luhn, password strength — plus a tiny validateForm() orchestrator with error rendering.
Features
- 12 standalone files: required, email, intl phone, length, range, URL, date, Luhn, strength, match, file, orchestrator
- Real calendar validation (2024-02-29 passes, 2026-02-30 fails)
- validateForm() is pure logic; showErrors() renders accessible messages
- Zero dependencies, ES5-style, works in any modern browser
- Honest docs: client-side validation is UX — server must re-validate
Install
- Copy the validator files you need into your project.
- Include them with <script> tags (or concatenate into your bundle).
- Build a schema object and call validateForm(values, schema); render with showErrors(form, errors).
Requirements
Any modern browser. No libraries. Server-side re-validation required for security.




Customer reviews
No reviews yet — be the first to review this product.
Buy this product to write a review
Only verified buyers can review — that keeps every review honest.
Buy now
Review rules:
Only customers who purchased this product can review it. One review per customer — you can edit yours anytime. New and edited reviews appear after approval. We never publish fake reviews.
Similar products
See more →
CODE PHP Snippets: WooCommerce Tweaks (10)
10 WooCommerce snippets: thank-you message, stock bar, auto-coupon links, free-shipping bar, min order, gift wrap and more.
$15.00
View →
CODE Regex Patterns Pack (25)
25 regex patterns with plain-English docs: email, URL, phone, UUID, semver, card shape, postal codes and more.
$15.00
View →
CODE SQL Snippets for WordPress (12)
12 commented WordPress SQL recipes: safe URL migration, spam purge, orphan hunts, transient cleanup, audits and more.
$15.00
View →
CODE PHP Contact Form Handler (complete)
Secure PHP contact-form processor: CSRF, honeypot, validation, safe mail() headers, JSON + redirect modes, sample form.
$15.00
View →
CODE PHP Snippets: WordPress Security Hardening (10)
10 WordPress hardening snippets: disable XML-RPC, hide version, block author scans, login throttling, security headers and more.
$15.00
View →