forms
forms copied to clipboard
An easy way to create, parse and validate forms in node.js
File input?
I know that someone filed an issue about this (https://github.com/caolan/forms/issues/44) Has it been merged? Any news on this? Thanks
Given the following form definition: ```js let formFilter = forms.create({ filter: { uname: fields.string({ label: 'Search by username or email', }), role: fields.array({ label: 'By role', choices: { m: 'Moderator',...
This is the closest packages I have found for server side forms, compared to [angular-formly](http://angular-formly.com) is for angular apps, But I was wondering if there is any easy way to...
How would i go about creating a form that outputs: ``` ``` or alternatively if thats not possible: ``` ``` I need to add the array fields to the form...
I personally feel that Joi's validation system is incredibly neat and understandable. I'd love to be able to simply use their 'dsl' in place of the default, if I chose...
Via [universal-url](https://npmjs.com/universal-url) as it covers far more edge cases such as IDNAs and IPv6 than a simple regex will. ```js const isEmail = email => { try { const url...
I noticed the `textarea` widget has a `placeholder` attribute for showing some text before any text is actually input (using the HTML `placeholder` input attribute). Can this functionality be extended...
I'm trying to use and it looks great but there's only one example and the docs are unclear. And obviously due to the name it's impossible to google. How do...
Per #172, `fields.object` has no tests, documentation, or examples. This means that in addition to users not being to learn about it, if it breaks, nobody will know.