In the past few days, a staff member (Let's name him Mr. Smith) from my unit has done nothing but frustrate both me and my supervisor in regards to the proper way of filling up our time off request form. While its none of my business, with all of Mr Smith's time off requests, one would think he'd be an expert in filling up our time off form by now.
Managerial problems aside. . . We've decided to create a form strictly for FMLA.
My dilemma: on this new form I'm creating, I want my supervisor to be able to approve multiple entries without having to affix her signature on each line, since it's tedious. I've decided that instead of signatures, when she clicks on either approved or (not) approved, the approval date gets populated. To prevent people from falsifying approvals, I want the form to recognize the machine the approvals are being made, either by machine or by Windows Login ID. While I can do CurrentUser() on VBA, after doing research found out that unlike MS Office docs, identity.loginName is privileged scripting.
Instead of having to install the .js file on everyone's PCs to recognize the current user and catch the perpetrator trying to fake approvals, I thought it would be easier (and more ethical) for the form to just disable the fields when someone does attempt to. I plan on installing the .js file on the PCs that are authorized to approve time offs.
I know basic Adobe form making (ooh textboxes. . . buttons!) and small basic Java Scriplets. I have some basic experience with LiveCycle. But I do not know where to start in regards to creating a js file, nor how to have the PDF form search for and require it for the fields to be enabled.
As for Mr. Smith we're just basically waiting for him to finish his probation and finally give him the boot on the exit interview.