[html-formfu] Date field - changing the order of the sub fields

Carl Franks fireartist at gmail.com
Thu Oct 2 21:53:22 BST 2008


2008/10/2 Ronald J Kimball <rkimball+formfu at pangeamedia.com>:
> Is it possible to change the order of the sub fields for a Date field? That
> is, I'm supposed to have them displayed as Month / Day / Year instead of Day
> / Month / Year.
>
> I understand that Day / Month / Year is generally preferred internationally,
> but we expect most of our users will be more familiar with Month / Day /
> Year.

Not currently, but that would be good.
I'd expect it to work the same way as Deflator::CompoundDateTime's field_order()

    elements:
      - type: Date
        name: date
        field_order:
          - month
          - day
          - year

Carl



More information about the HTML-FormFu mailing list