Copy link to clipboard
Copied
Hi,
I'm trying to build a form for quality checks.
Multiple users will have access to the files and each are responsible to fill some fields and check some checkboxes.
I would like to log or display who did it and possibly when. The date part seems kinda easy with javascript but the identity part is another thing.
I know that identity is protected for security reasons so I cannot use this. Is there an alternative ?
I though about popping up a screen when the form is loaded where the user can enter his initials but anyone can input anything so that could be an issue.
Thnak you
Copy link to clipboard
Copied
It's not going to work on Android devices, I'm afraid. On a Windows machine it could work.
You would need to create a trusted function the returns the values you need from the Identity object, so you could use it in your script.
That function needs to be placed in a js file under the application's Javascripts folder. See here for more information about how to set up such a function:
https://acrobatusers.com/tutorials/trust-and-privilege-in-acrobat-scripts
Copy link to clipboard
Copied
It's possible to do it the way you described, but will require setting up a system to keep track of it.
You can use a hidden field to do it as the calculation event will trigger each time any field is edited, so you could keep a log of all the changes, including the time they happened.
Copy link to clipboard
Copied
I was thinking of using text fields instead of checkbox. Using the onlick
event I could fill the contents of the field with whatever text i would
like. I don't mind d at all if the information is visible. I would even
prefer that. The issue is really retrieving a unique Id per users.
Any way to retrieve usernames, login name, email, full name or whatever?
Le jeu. 31 janv. 2019 15 h 45, try67 <forums_noreply@adobe.com> a écrit :
Identify who filled/checked each fields in a multi users environment created
by try67 <https://forums.adobe.com/people/try67> in PDF Forms - View
the full discussion <https://forums.adobe.com/message/10904878#10904878>
Copy link to clipboard
Copied
Only if a script is installed on the user's local machine.
Copy link to clipboard
Copied
That could be easily managed...
How would that work ? I need it to be compatible with Android Tablets and Windows...
Copy link to clipboard
Copied
It's not going to work on Android devices, I'm afraid. On a Windows machine it could work.
You would need to create a trusted function the returns the values you need from the Identity object, so you could use it in your script.
That function needs to be placed in a js file under the application's Javascripts folder. See here for more information about how to set up such a function:
https://acrobatusers.com/tutorials/trust-and-privilege-in-acrobat-scripts
Copy link to clipboard
Copied
If you want to make such a system that works reliably and securely, you need to forget the idea of simple form design in PDF. A programmer would need to create a web app (quite a powerful and complicated one) that manages cookies and logins and updates a datebase with changes. The app would generate PDF files and/or audit trails on demand. This would not use Adobe technology.
Copy link to clipboard
Copied
I figured that out
Already had a look at some alternatives. Thanks to all of you
Copy link to clipboard
Copied
Where