One way perhaps is to use Multi along with appropriate css (and
reverse_multi, not sure if that's actually needed here!).  The following
produced an inline pair of radios buttons with a label before and after.
 The Hidden elements are there so the labels show up on re-rendering after a
constraint failure (see earlier thread).


  - type: Multi
    elements:
      - type: Label
        tag: span
        name: jointcustody-label
        value: "IS THERE A JOINT-CUSTODY OR WASHINGTON STATE PARENTING PLAN
IN EFFECT?"
        container_tag: span

      - type: Hidden
        name: jointcustody-label
        value: "IS THERE A JOINT-CUSTODY OR WASHINGTON STATE PARENTING PLAN
IN EFFECT?"

      - type: Radio
        name: jointcustody
        label: yes
        value: yes
        container_tag: span
        reverse_multi: 1

      - type: Radio
        name: jointcustody
        label: no
        value: no
        container_tag: span
        reverse_multi: 1

      - type: Label
        value: " (If yes, Washington State Parenting Plan must be on file
with the school for enforcement.) "
        name: jointcustody2-label

     - type: Hidden
       name: jointcustody2-label
       value: " (If yes, Washington State Parenting Plan must be on file
with the school for enforcement.) "




On Wed, Apr 20, 2011 at 2:09 PM, J. Bobby Lopez <j...@jbldata.com> wrote:

> Hello,
>
> I'm just starting out with FormFu, and am looking for a way to place
> element labels before the element (not afterward) from within the .yml file.
>
> Also, for radio buttons; is there a way to have multiple radio buttons on a
> single line without any line breaks, or does this stuff all have to be done
> via CSS somehow?
>
> Thanks,
> -Bobby
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu@lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>



-- 
Steve Rippl
Technology Director
Woodland Public Schools
360 841 2730
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to