Re: [ANN] Formative - render, parse, and validate web forms

2013-01-16 Thread Justin Kramer
Bob, 1) Because form specifications are data, it's pretty easy to build one up at runtime. One tool for "mixins" -- which I just noticed isn't documented in the readme -- is *formative.core/merge-fields*. It makes it easy to tweaks fields, or insert new fields before or after existing fields.

Re: [ANN] Formative - render, parse, and validate web forms

2013-01-16 Thread Bob Hutchison
On 2013-01-16, at 11:31 AM, Justin Kramer wrote: > So I went ahead and implemented the first solution I mentioned: the default > renderer now groups fields into fieldsets, split by :heading and :submit > fields. Each fieldset has a class that you can target with css/js. You can > see the resu

Re: [ANN] Formative - render, parse, and validate web forms

2013-01-16 Thread Devin Walters
Looks interesting, and well-documented. I will give this a try on my next project. Thanks! On Wednesday, January 16, 2013 at 10:31 AM, Justin Kramer wrote: > So I went ahead and implemented the first solution I mentioned: the default > renderer now groups fields into fieldsets, split by :head

Re: [ANN] Formative - render, parse, and validate web forms

2013-01-16 Thread Justin Kramer
So I went ahead and implemented the first solution I mentioned: the default renderer now groups fields into fieldsets, split by :heading and :submit fields. Each fieldset has a class that you can target with css/js. You can see the result in the demo - http://formative-demo.herokuapp.com/. Just

Re: [ANN] Formative - render, parse, and validate web forms

2013-01-16 Thread Justin Kramer
Hi Bob, Thanks for sharing your use case. One possible approach to fieldsets (among others) is to have the renderer split fields on e.g. :heading and put each group into a fieldset. Another would be to create a :fieldset field type that itself contains other fields. I've created a GitHub issue

Re: [ANN] Formative - render, parse, and validate web forms

2013-01-16 Thread Bob Hutchison
On 2013-01-15, at 5:00 PM, Justin Kramer wrote: > Formative is a library for dealing with web forms. Features: > Describe forms using simple data > Render forms via pluggable renderers (comes with Bootstrap and other > renderers built-in) > Parse submitted form data from Ring params > Validate

[ANN] Formative - render, parse, and validate web forms

2013-01-15 Thread Justin Kramer
Formative is a library for dealing with web forms. Features: - Describe forms using simple data - Render forms via pluggable renderers (comes with Bootstrap and other renderers built-in) - Parse submitted form data from Ring params - Validate parsed data using Verily