I assume you want to use the same button to both show and hide (click once, the item will be shown, click again, it will be hidden).
You can do the following in the action script of the button:
if (this.getField("Text2").display == display.hidden)
{
this.getField("Text2").display = display.visible;
}
else
{
this.getField("Text2").display = display.hidden;
}
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
http://www.khkonsulting.com