Checkbox Borders Inconsistent

Community Beginner ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

I have a page from a client who wants their fields to match appearances to a thinner line style than "thin". At first I did not believe it, but upon comparing, this page has two different "thin" borders on the checkboxes. Does anyone know how this is accomplished?

 

Image (info redacted for client's privacy): Top three are "thin" border style. Bottom four are also "thin", but I can't reproduce this appearance.

NetcentricNik_0-1658931618068.png

It has nothing to do with zoom or "enhance thin lines".

TOPICS
PDF forms

Views

38

Likes

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

Adobe Community Professional , Jul 27, 2022 Jul 27, 2022

Let's say checkbox name is "Check Box1" and you want to set width to 0.5, there are a couple of ways to do that:
1. Javascript console (CTRL+J) enter this in console window, select it and press ENTER:

this.getField("Check Box1").lineWidth = 0.5;

2. Create button field and under action tab as 'Mouse UP' event add the script from step 1.

3. As Mouse UP event of checkbox:

event.target.lineWidth = 0.5;

Likes

Translate

Translate
Adobe Community Professional ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

They probably used 'lineWidth' property to set border width:

0 — none
1 — thin
2 — medium
3 — thick

You can try to set it to less than 1 for example, but as you can see from your file, lines doesn't show on every side.

Likes

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
Community Beginner ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

Thanks for the response. How can I change the "lineWidth" property? I only see the preset options in the "Properties > Appearance" tab.

NetcentricNik_0-1658934519067.png

 

Likes

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
Adobe Community Professional ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

Let's say checkbox name is "Check Box1" and you want to set width to 0.5, there are a couple of ways to do that:
1. Javascript console (CTRL+J) enter this in console window, select it and press ENTER:

this.getField("Check Box1").lineWidth = 0.5;

2. Create button field and under action tab as 'Mouse UP' event add the script from step 1.

3. As Mouse UP event of checkbox:

event.target.lineWidth = 0.5;

Likes

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
Community Beginner ,
Jul 27, 2022 Jul 27, 2022

Copy link to clipboard

Copied

LATEST

Thank you for the instruction!

Likes

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