Form validation with JavaScript
Ana Sampaio
513

The idea of mapping validity to data fields is really clever :)

I saw your comment below for the npm package, but this article would be better with an example of how to map the validity object to the messages, as it is not super obvious how one should do it.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.