esdecode.com

Fieldwork — Form Validation & Enhancement (Vanilla JS)

No ratings
|0 Sales|by Tallgrass Labs|v1.0.0
Fieldwork — Form Validation & Enhancement (Vanilla JS) screenshot 1
1 / 2
0
Sales
Rating
0
Reviews

Description

Fieldwork is a small, dependency-free form validation & enhancement library in vanilla JavaScript. Add data-rules to your inputs and Fieldwork validates them on blur and submit, renders accessible inline error messages, wires the ARIA for you, and can handle async submission — no framework, no build step.

Highlights

  • Declarative: data-rules="required|email|minlength:8"; 14 built-in rules.
  • Accessible by default: aria-invalid, aria-describedby, focus management, role=alert.
  • Validate on blur + submit; live re-validation after the first error.
  • Custom rules & messages; honors native constraint attributes.
  • Events + optional async submit (fetch JSON) with server-error display.
  • Zero dependencies, no build step, ES modules; CSS-variable theming.

Features

Declarative validation via data-rules
14 built-in rules (required, email, match, minlength, …)
Accessible: aria-invalid / aria-describedby / focus
Validate on blur + submit, live re-validation
Custom rules and per-field messages
Honors native HTML constraint attributes
Events + optional async submit (fetch)
Server-side error display via setErrors()
CSS-variable theming, single stylesheet
Zero dependencies, vanilla JS, node:test + jsdom suite

Requirements

  • A modern browser
  • Node.js 18+ only to run the test suite
  • Any toolchain that supports ES modules

Changelog

**v1.0.0** (Latest) - Initial release - Declarative validation, 14 rules, accessible inline errors - Custom rules, events, async submit, jsdom test suite
$19.00

For one end product — free to end users

Price$15.00
VAT 23%$3.45
Rounding adjustment$0.55
Total$19.00
Instant digital download
Quality reviewed by our team
Free future updates
6 months support included

Item Details

Last Update
June 12, 2026
Published
June 12, 2026
Version
1.0.0
Category
JS Forms
Sales
0
Reviews
No reviews

Share This Item

License Info

Regular License — Use in one end product which end users are not charged for.

Extended License — Use in one end product which end users can be charged for.

Verify a license key →