FsFormlets
FsFormlets copied to clipboard
Formlets in F#
Add another formlet constructor that generates a `` with ``s
http://docs.yesodweb.com/book/forms/#auto-javascript
IValidationFunctions has many functions that implicitly add a "required" constraint from their type. For example: Float is `string Formlet -> float Formlet`, but should be `string Formlet -> float option...
The 'image' formlet ( https://github.com/mausch/FsFormlets/blob/master/Formlets/Formlets.fs#L511 ) is currently written in 'direct' style. Instead, rewrite it using combinators.
http://tomasp.net/blog/fsharp-variations-joinads.aspx
Currently it's limited to radio+label
Current implementation of WithLabel is broken with validation. When validation messages are added, the label 'for' id is applied to the of the error, instead of the input itself.
Set autofocus in first element with error in error form. http://diveintohtml5.org/forms.html#autofocus