This blog from Stefan Cameron will help you understand the following
script:
http://forms.stefcameron.com/2006/11/09/oneofchild-scripting-property/
I don't know how to change the "edit together" / "edit
individually" (I'm pretty sure this is something Designer does to make
your life easier, rather than something that is stored in the XDP) and
I don't know how to change individual edges around the text field (I
can see that Designer puts multiple <edge> and <corner> nodes under
the <border> node but I don't know how to do that in JavaScript.
Here is how to change ALL of the edges to a particular stroke:
// Example 1 - Lowered - 3D
yourFieldName.ui.oneOfChild.border.edge.stroke = "lowered";
yourFieldName.ui.oneOfChild.border.corner.stroke = "lowered";
// Example 2 - Embossed
yourFieldName.ui.oneOfChild.border.edge.stroke = "raised";
yourFieldName.ui.oneOfChild.border.corner.stroke = "raised";
Here are the options for stroke (taken from the LiveCycle Designer
reference -
http://www.adobe.com/go/learn_lc_scriptingReference):
solid | dashed | dotted | dashDot | dashDotDot | lowered | raised |
etched | embossed
Hope this helps,
John.