Hello,
Thanks for the great PDF viewer. I have a question regarding form highlighting.
Is it currently possible to highlight form fields (for example with a light blue overlay like in Firefox or Adobe Acrobat) so that users can immediately recognize editable fields?
I looked into the current behavior and I’m not sure if this is technically possible right now because of how the fields are rendered.
Current workflow:
- A form field (for example a text field) is displayed
- The user enters text
- An image/render layer is generated on top of the form field with that input
- When the user clicks into the field again, the image layer is hidden
- After editing, a new image layer is generated and placed above the text field again
So effectively, there is always an image layer hovering above the actual form field.
Would it still be possible to visually highlight the underlying form fields in this setup, or would the overlay image prevent that?
Example: Textfield
Form - Image Visible
FormImageVisible
<img src="blob:https://domain.de/c24cc650-c8c2-4b03-8fc0-b2874f62328b" style="width: 100%; height: 100%; display: block; position: absolute; inset: 0px; pointer-events: none; visibility: visible;">
Form text input- Image Hidden
FormImageHidden
<img src="blob:https://domain.de/c24cc650-c8c2-4b03-8fc0-b2874f62328b" style="width: 100%; height: 100%; display: block; position: absolute; inset: 0px; pointer-events: none; visibility: hidden;">
Form highlighted in other pdf viewers (Firefox example)
PDFViewerFirefox
Thank you