Button appearing above text on a higher layer
I'm working on a script builder and my client wants sections to be "highlighted" if the checkbox or radio box next to them is selected. I figured the easiest way to do this was to draw boxes on a layer that I pulled underneath the main layer in InDesign (and is still ordered this way when exported to Acrobat). I made the boxes into buttons that are set to hidden until triggered and I used a script to check the event value of the checkbox and then turn on the hidden button corresponding to the question. However, this forces the highlight box to display OVER the text of the question (but under any additional fields within the question).

The script I'm using is as follows:
if (event.target.value != "Off") {
// box is checked
this.getField("TransformQ1").display = display.visible ;
} else {
// box is unchecked
this.getField("TransformQ1").display = display.hidden ;
}Thank you for any help you can offer me! I can change the design (this is not the styled version) to make it into something that shows in the margin, but I'm perplexed as to why something on a lower layer would cover text on a higher layer.