Tracking the use of a PDF


adobe acrobat xi

i writing pdf form on character sheet table top game, , 1 of aspects random stat generator.  although useful feature, many players , storytellers believe these type of features can abused.  player can mash roll button until have idealistic numbers. 

 

i thought of limiting roll button 1 use players can reset form, necessary if reuse in future.

so have written calc display message reads "this characters stats rejected , re-rolled x times."  based on number of times press button.  problem not stop them resetting form after each roll, or closing pdf , restarting fresh.

 

most players , storytellers content random generator if there way track it's use. 

 

i need way display number of times pdf has been reset & opened in course of 1 day.

 

one day should enough because if determined enough attempt re-roll every day deserve cheat, , character generation date reflect anyway.

 

some simple code examples appreciated.  new javascript , vocabulary , context not great.  know how simple cals, , apply basic scripts fields & objects have yet learn many of higher functions , commands.

where want track from? online server? if not, there's no difference between , other solution. way can see locally persistent global variable, require user change settings in acrobat/reader, , possibly install local script on machines.

maybe better solution create algorithm not allow "perfect" result has cap.



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account