W3C home > Mailing lists > Public > www-forms@w3.org > February 2007

Re: checkbox labels

From: David Landwehr <david.landwehr@picoforms.com>
Date: Thu, 01 Feb 2007 11:45:27 +0100
Message-ID: <45C1C4C7.6080105@picoforms.com>
To: Aaron Reed <aaronr@us.ibm.com>
CC: www-forms@w3.org

We render the value/copy element as the checkbox or radiobox, hence the 
DOM determines where it is placed by moving the value /copy element to 
one of the side of the label in the item/itemset. This is not correct 
according to the schema for XForms but it makes good sense (to us anyway).

Best regards,

Aaron Reed skrev:
> Hi,
> I noticed that every xforms processor that I tried put the labels for 
> boolean inputs (usually rendered as checkboxes) to the left of the 
> checkbox even though the overwhelming preference for html forms is to 
> have the label on the right of a checkbox.  Do any xforms processors 
> allow their authors to position a boolean input's label to the right 
> of the control?  Perhaps using a CSS style?
> I guess the better question might be, does any processor allow the 
> form author to determine the label position (either left or right of 
> the underlying control) of any xforms control?  And if so, how?
> Thanks,
> --Aaron
Received on Thursday, 1 February 2007 16:24:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:55 UTC