Open shreyash-jain opened 6 months ago
Hey @shreyash-jain!
But the issue is that for each user I want to create form I am getting prefilled signature and other details
SimplePDF automatically caches (in local storage) the filled values – to prevent users from having to fill the same details again if they close the tab or for convenience if they open the same document in the future.
If I understood you correctly, you (or your users) are opening the same document multiple times in a row, and therefore the previously filled values are present when opening the document?
If you can confirm that this is the issue, I could look into disabling that behaviour for simplepdf-embed
and instead reset the form values for each opening automatically: would that work for you?
Currently I am using the script like
<EmbedPDF mode="inline" style={{ width: 900, height: 800 }} documentURL="https://laborlink-media-bucket.s3.ap-south-1.amazonaws.com/internal/exhibit101.pdf" />
But the issue is that for each user I want to create form I am getting prefilled signature and other details, is there a solution to this