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/.
Justin On Wednesday, January 16, 2013 8:35:54 AM UTC-5, hutch wrote: > > > 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 clo...@googlegroups.com <javascript:> > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+u...@googlegroups.com <javascript:> > 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