how to hide all buttons
Hi All,
With a button click I am making my form read only and attaching it to an email.
The only thing is I want to be able to hide all of the JavaScript buttons on the page.
I am aware of the this way to hide buttons:
this.getField("Email_Button").display = 1;
The problem is I am using spawn pages and thus its hard to use the above bit of code to hide all potential buttons.
Is there a bit of code that can select all buttons or cycle through all buttons on my pdf and hide them?
Cheers,
Seb.
