Cpdf::ACROFORM_FIELD_TEXT how remove background color and border #3346
Answered
by
bsweeney
sagarprostartme
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
bsweeney
Dec 8, 2023
Replies: 1 comment
-
Form field highlight is an acrobat feature, not something that Dompdf is doing. Users can control that feature through the app preferences. I'd advise against overriding usability preferences, but if you feel that your field has sufficient styling to make it apparent that it is actually a fillable field you can try to disable the highlight using Acrobat JavaScript.
I say try because JS may not be enabled by default in some viewers. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sagarprostartme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Form field highlight is an acrobat feature, not something that Dompdf is doing. Users can control that feature through the app preferences.
I'd advise against overriding usability preferences, but if you feel that your field has sufficient styling to make it apparent that it is actually a fillable field you can try to disable the highlight using Acrobat JavaScript.
I say try because JS may not be enabled by default in some viewers.