I am not aware of any way to do this unless each of the data nodes in your schema are named box1, etc. Then when you drag-and-drop them into the view, InfoPath will auto-create a label for them based on their node name.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
Hi,
I want to put 100 checkboxes into my form. Is possible to set their
names automatically (the 1st: box1, 2nd: box2, etc)?
thanx in advance,
Ore
orelang - 12 Jan 2006 20:14 GMT
Thank you. It works. It is almost I want, but when I drag and drop any
data node into the view, InfoPath also creates a label (as you noted),
which I don't need (the meaning of checkboxes in my form results from
their position in it). Can I get rid of those labels (for example using
script)?
Greg Collins [InfoPath MVP] - 13 Jan 2006 13:30 GMT
There is a setting you can change to turn off automatic label creation.
Choose Options from the Tools menu.
On the Design tab, clear the Create Labels For Controls Automatically check box.
Hopefully this will cure the issue.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
Thank you. It works. It is almost I want, but when I drag and drop any
data node into the view, InfoPath also creates a label (as you noted),
which I don't need (the meaning of checkboxes in my form results from
their position in it). Can I get rid of those labels (for example using
script)?