This was a duplicate post. It may be removed.
1 Like
Hello, Iām AiRon, an automated tech support bot
While you wait for one of our customer support representatives, I can help you with your question.
It seems like you are experiencing an issue where form fields are being overlaid with duplicate annotations upon refreshing the page. This usually happens when the annotations are imported multiple times without clearing the existing ones from the document.
Some things you can try:
- Before importing annotations, ensure that you clear any existing annotations to prevent duplication.
- Check your logic for saving and loading annotations to ensure they are not being loaded multiple times.
- Instead of importing annotations on every page load, consider checking if the annotations have already been imported.
- Use the
annotationChanged
event to control the import and export of annotations effectively, ensuring not to trigger redundant imports.
Here are some resources that might help you:
- Import/export annotations Overview - Learn how to manage the import and export of annotations using XFDF format, which can help avoid duplication.
- Import/export annotations Files - Understand how to import annotations using files and how to prevent issues related to duplicate imports.
- Annotation Rects & Quads - Gain insights into how annotations occupy space in the document, which could help in debugging overlay issues.
- Import annotations using JavaScript - Guidance on importing annotations properly using JavaScript, which may help resolve the duplication problem.
Hopefully, this helps you solve your problem while you wait for a human to get back to you.
1 Like