4 Replies Latest reply on Aug 9, 2016 3:09 AM by George_Johnson

    Interactive PDF - 'Browse' or 'Add Attachment' Button

    kieranl56640093

      HI, I'm trying to work out how to add a button to an interactive PDF so students can attach photos. I've found a few examples which attach files to the PDF under "Attachments," but my problem is that students will be attaching multiple photos and when marking the document, I need a way for them to be identified. When they are showing under "Attachments," the name is just the file name. Can I either customise the name automatically when they are attached, or have the files linked to be opened n the same page they wee attached?

       

      The javascript I have found which browses and attaches, but does not uniquely name or store files:

       

      if (app.viewerVersion < 11) {

        import_pre_11();

      } else {

        import_11();

      }