Skip to main content
Kathy5FFA
Inspiring
April 4, 2025
Answered

Delete Multiple Buttons

  • April 4, 2025
  • 2 replies
  • 1259 views

Hello. I would like to know if there is a way to delete all of the buttons in a document. I'm creating a print version of a digital file so all of the checkmarks and text fields need to be removed. Currently, I can only select one at a time and I have over 80 in the document. I even tried selecting them all on layers on each page, but when I do that, the delete button is greyed out. Is there a way to delete multiple buttons at once?

Correct answer Joel Cherney

Dave's answer is the correct one, here. It's much faster to delete interactive elements after the fact in Acrobat, because you can multi-select buttons. I don't know what it is about InDesign's incomplete & wonky forms implementation, but you can't select two buttons at once. The only way to affect multiple buttons at once is via scripting, where you'd collect all the buttons and then loop over them, actually the script would still be deleting them one at a time.

 

Worth pointing out here that if you are exporting to PDF from InDesign, then buttons won't export if you choose Print PDF from the file type dropdown when exporting. You'd need to select a specific option ("Appearance Only" in the "Interactive Elements" dropdown of the General section of the Export Adobe PDF dialog) to even see the non-working buttons onscreen in Acrobat.

 

If it's just one INDD document that you want to repurpose for print, Dave's way is the fastest. 

 

If it's something you'd have to do repeatedly, I'm sure I could figure out how to adapt one of my form field scripts to mass delete buttons. 

2 replies

Joel Cherney
Community Expert
Joel CherneyCommunity ExpertCorrect answer
Community Expert
April 4, 2025

Dave's answer is the correct one, here. It's much faster to delete interactive elements after the fact in Acrobat, because you can multi-select buttons. I don't know what it is about InDesign's incomplete & wonky forms implementation, but you can't select two buttons at once. The only way to affect multiple buttons at once is via scripting, where you'd collect all the buttons and then loop over them, actually the script would still be deleting them one at a time.

 

Worth pointing out here that if you are exporting to PDF from InDesign, then buttons won't export if you choose Print PDF from the file type dropdown when exporting. You'd need to select a specific option ("Appearance Only" in the "Interactive Elements" dropdown of the General section of the Export Adobe PDF dialog) to even see the non-working buttons onscreen in Acrobat.

 

If it's just one INDD document that you want to repurpose for print, Dave's way is the fastest. 

 

If it's something you'd have to do repeatedly, I'm sure I could figure out how to adapt one of my form field scripts to mass delete buttons. 

Kathy5FFA
Kathy5FFAAuthor
Inspiring
April 4, 2025

If you have a script that could do that, it would help me greatly. This is something I do repeatedly often and would love to be able to select multiple buttons at once. You are correct about exporting to print. After trying it, I realized that the checkmarks don't appear in the final print file even if their default state is set to "on". Thanks for your help.

Robert at ID-Tasker
Legend
April 4, 2025

@Kathy5FFA 

 

app.activeDocument.buttons.everyItem().remove();

 

https://creativepro.com/how-to-install-scripts-in-indesign/

 

But it will remove ALL buttons from the active document !!!

 

 

But, if you work on Windows and need something with more finesse:

 

(link to original thread: https://community.adobe.com/t5/indesign-discussions/audio-in-interactive-pdf/m-p/15251607#M619559)

 

Browsing part - bottom part on the above screenshot - is completely free - but if you would like to be able to remove in bulk only selected - BatchMode - after you filter out / sort - that functionality isn't free.

 

Dave Creamer of IDEAS
Community Expert
Community Expert
April 4, 2025

Why not set them to non-printing (visible but doesn't print)?

In Acrobat Pro, you can select all your buttons and delete or set to non-printing.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Kathy5FFA
Kathy5FFAAuthor
Inspiring
April 4, 2025

Thanks for your response. I'd like to have them gone in ID so I don't have to re-delete them every time I make an edit and save a new pdf. Changing them to non-printing cannot be done all at once. I'd need to select each one and set it that way one at a time. That would take longer than deleting them. Is there a way to do that as a batch?

Dave Creamer of IDEAS
Community Expert
Community Expert
April 4, 2025

>>>Changing them to non-printing cannot be done all at once.

If you are referring to doing that in Acrobat, yes you can.

 

Also, if your underlying form changes (not the fields or buttons), you can simple replace the page in Acrobat. The form elements will stay. 

 

David Creamer: Community Expert (ACI and ACE 1995-2023)