• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to change the checkbox style of all checkboxes at once in a pdf

New Here ,
Jul 14, 2021 Jul 14, 2021

Copy link to clipboard

Copied

Hi there,

 

I converted a word document with checkboxes to pdf but the checkbox style it created them in is "Square". Is there any way to change all of these at once to the "Check" style without having to change them all painfully one by one?

 

Thanks for your help.

TOPICS
Edit and convert PDFs , How to , PDF forms

Views

2.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 14, 2021 Jul 14, 2021

Run this from javascript console or put it in a button as mouse Up event:

for (var i=0; i<this.numFields; i++){
var cBox = this.getNthFieldName(i);
if(this.getField(cBox).type == "checkbox"){
this.getField(cBox).style = style.ch;}}

Votes

Translate

Translate
Community Expert ,
Jul 14, 2021 Jul 14, 2021

Copy link to clipboard

Copied

Run this from javascript console or put it in a button as mouse Up event:

for (var i=0; i<this.numFields; i++){
var cBox = this.getNthFieldName(i);
if(this.getField(cBox).type == "checkbox"){
this.getField(cBox).style = style.ch;}}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 14, 2021 Jul 14, 2021

Copy link to clipboard

Copied

LATEST

That worked, thanks for that!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines