Highlighted

Javascript Border Extent

Avatar

Guest

20-01-2009

Using LiveCycle Designer 8.05. I have 2 different forms that I am adding JS logic to. In both I have code that simply colors and makes visible the border of a particular field (Text fields, Drop-Down lists, and Radio buttons). The code is simply:<br /><br /><field>.border.edge.color.value="0,0,255";<br /><field>.border.edge.presence = "visible";<br /><br />Everything works fine, except that on one form the border surrounds only the field's data entry area while in the other form the border surrounds both the field's data entry area AND it's caption (label). I actually want the latter.<br /><br />I've tried cut-n-paste of fields from one form to the other, and the field always takes on the character of the form it is placed in.<br /><br />I'm new to this technology, so apologies in advance if I am missing something obvious.

Replies

Highlighted

pguerett

21-01-2009

Have a look at the appearance of the field in the Object/Field palette. See if the two fields have the same appearance.
Highlighted

Avatar

Guest

21-01-2009

Paul - Thanks so much for your response. Unfortunately the "Object | Field" tab looks exactly the same for both forms - the "Appearence" value is set to "Underlined". I even took a look at the XML and that looks identical as well - except of course for position, and size.



Let me know if you have any other ideas.