dandean/express-form — Issue #28: Documentation for required()
Author: niftylettuce
Created: 2012-01-11 08:43:51+00:00
State: open

The documentation or functionality for usage of `required()` is a bit confusing.

If you just simply want to pass a custom required message, the only way to currently do so is:

form(
filter("name").trim()
, validate("name").required("name", "Please enter your %s, we'd love to know what it is!")
);

Might you update the docs? -- I could if you'd like :) Let me know.