The very first form I created in LiveCycle Designer has a "check form" button with code to check mandatory fields. If the fields aren't completed, a message box appears and the field is highlighted in red. Once the field is completed and the user clicks the check form button again, the red highlighting disappears.
I've just noticed that on the first mandatory field (which is actually a radio button list), after the user completes it and clicks the check form button again, it puts a border around the list. It's so not a big deal, it's just kind of bugging me and I can't figure out how to change the code.
Can you see what is putting in a border? Please keep in mind this was my first form and consequently I have way more "layers" to my objects than I know now that I need -- but at the time it was the only way I could figure out to get the layout to work.
BR001 has the right answer - thanks Bruce. I remember seeing that blog post when I was designing this form and looking for something else.
I got the borders to be hidden, but then it hid the left side border as well -- I wanted that one to remain visible. I messed around with it, but I can't get the code right to hide the top, bottom, right and display left, so I'm just going to leave it alone. No one cares except me that the border appears.
I've tried adding a left side border to basically all the parent options, and the "hidden" command still hides the left side for that area in that instance.
the only code you have above is to set the borders to red when the list is null and white when an option is selected... if there's a border around your list it might be the list's parent (subform) or anything else... you might want to try to hide the border instead of changing it to white.. maybe then you will see where that border's from.