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

Strikethrough the text

Community Beginner ,
Jan 05, 2023 Jan 05, 2023

Can I make a transparent field or checkbox with a line(strike through) above the text?

 

So that when I click the text(the transparent field/checkbox), then the line/strikethrough will cover the text.

 

TOPICS
Create PDFs , Edit and convert PDFs , JavaScript , PDF forms
1.2K
Translate
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 05, 2023 Jan 05, 2023

There is rich text format for underline and strikethrough, but for line above text (overline) you can't do it with rich text format.

There may be some workaround though, by using plain text, button and a line tool to achieve what you want.

Translate
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 ,
Jan 09, 2023 Jan 09, 2023

so I cannot do cross out option?

Translate
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 09, 2023 Jan 09, 2023
LATEST

You can strikethrough text by using rich text format, but you would need to use script to achieve it on click. Is it entire text inside the field you wish to strikethrough or just a word? If it is just a word you would need to know which word it is to set it up in script.

Translate
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