Skip to main content
Known Participant
February 18, 2025
Answered

Question about Visible but does not print property

I have a user fillable form that is saved as a file when Submit button is clicked. I have set the General property of the Submit button as “Visible but does not print”.  The trouble is that Submit button image is also saved in there which I don’t want to. Any suggestion how I can avoid the SUBMIT button image being saved?

 

Thanks.

PDF Automation Station
Community Expert
February 18, 2025

Hi,

I'm attaching a sample here. When I fill in the form and click Submit button, this is the output that I get. As you can see at teh very bottom Submit button's image shows up which I would like to supress, if possible. 


Change the script I provided to event.target.display=display.hidden;

9 replies

PDF Automation Station
Community Expert
Community Expert
February 18, 2025

Set the button layout to Label Only by adding this script to the button script:

event.target.buttonPosition=position.textOnly;

Translate
anil_BAuthor
Known Participant
February 18, 2025

Hi,

I did that but it still shows up. 

In the Actions, I have 

     Mouse Up

        Run a Javascript      (I pasted the above Javascript)

        Execute a Menu Item

            Acrobat Menu > Save as..

 

What else can I do? Appreciate  your guidance.

 

Translate
PDF Automation Station
Community Expert
Community Expert
February 18, 2025

It works for me.  Can you upload your form, or another PDF with just the button?

Translate