caolan / caolan/forms

No front-end validation

Open
#141 1 comment 0 reactions 0 assignees View on GitHub
Feature Requests
Dominant language
JavaScript
Stars
1k
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Although the readme specifies that one of the goals is to use the same validation on the server side and on the front-end, I couldn't find anything to accomplish this.

I whipped up my own method, see here:
https://gist.github.com/Xananax/7178b559ba783a97b0a0

Two questions:
1) Is there already a system in place and I've just missed it?
2) I'd like some code review on what I've done, and if there is anything simpler, because it does seem like a lot of boilerplate.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.