These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

displaying hidden object using radio button

amin.nas
Registered: Oct 3 2007
Posts: 37

I have a paper-based barcode which is hidden. I want to display it when the user clicks on a radio button. On the mouseUp event of the radio button, I have the following javascript:
this.getField("barcode1").display = display.visible;
 
but it is not working, any idea how to fix it?

My Product Information:
LiveCycle Designer, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Thom Parker has posted a good tutorial that may solve this issue.
Click this link:

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/[/url]

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.