On 2013-01-15, at 5:00 PM, Justin Kramer <jkkra...@gmail.com> 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 parsed data using Verily (another new but less interesting lib) > A live demo can be seen at http://formative-demo.herokuapp.com/. Demo source: > https://github.com/jkk/formative-demo > > See the README for a usage guide and quick reference: > > https://github.com/jkk/formative > > It has seem some real-world usage, and I consider the API stable. > > Feedback and contributions welcome. This is *really* interesting! I'll have a look at this more closely over the next couple of days, but, really, the timing could not be better… you might have just tipped a project I'm working on over to Clojure :-) It looks as though you've not put any kind of 'structure' on the fields… they are 'flat'. For example, I don't see fieldsets. One of my projects has its forms in two parts, the input fields which scroll (and have fieldsets) and a second part that consists of things like the submit and cancel buttons. The second part is pulled into a sidebar and fixed on the page (doesn't scroll with the rest of the fields). These forms can be a bit long (but they are a lot more usable than you'd think), so there's also an index in the sidebar that on click moves the scrollable part to make the corresponding fields come into view. In my current project these indexed things aren't fieldsets but they could be. Alternatively, some other kind of grouping structure could be used. Or possibly just a new field type that created an index entry… I'll have a muck about and see what I can come up with. Cheers, Bob > > Justin > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en