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

Button to make checkbox readonly and a strikethrough over the text

Contributor ,
Jan 23, 2023 Jan 23, 2023

Copy link to clipboard

Copied

I'd like the buttons at the bottom of the page to make the relevant checkbox readonly and a line through the text.

(When a service is unavailable, the staff can make the relevant ones read only and then send the form to the customer.)

Screenshot 2023-01-23 at 15.32.51.png

TOPICS
How to , JavaScript

Views

159

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 Expert ,
Jan 23, 2023 Jan 23, 2023

Copy link to clipboard

Copied

In a PDF form, it is much easier to gray out the texts than to strike them out.

You should start here: https://acrobatusers.com/tutorials/js_disabling_fields/

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
Contributor ,
Jan 23, 2023 Jan 23, 2023

Copy link to clipboard

Copied

Thanks.

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
Contributor ,
Jan 23, 2023 Jan 23, 2023

Copy link to clipboard

Copied

I'm not that advanced yet to understand.

I've also changed the form. The radio buttn at the bottom if yes is selected then it disables the relevant checkbox at the top.

Is it possible to provide some direction?

  

Screenshot 2023-01-23 at 16.39.56.png

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
Community Expert ,
Jan 24, 2023 Jan 24, 2023

Copy link to clipboard

Copied

LATEST

Please share your form, it will be easier.

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