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 for this - 
https://github.com/jkk/formative/issues/4 - and plan on addressing it in 
the near future.

Separating the form buttons should be relatively easy with CSS - the 
default renderer spits out tons of classes for every piece of the form. You 
could also use :submit-label nil to turn off the submit button altogether 
and include your own as an :html type. There are various possibilities.

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

Reply via email to