Add date selectors to date fields in interactive PDF

A feature of Acrobat DC that can be quite handy is the prepare form feature. It allows a scan (or a document with no form-field elements) to have form-field elements applied to it, so long as the formatting of the artwork follows the practices listed in this document.

However, there is an improvement that I feel could be made to this feature, but may have been missed by the Acrobat team, and that is date fields. Take the following example:

Now run the Prepare Form feature of Adobe Acrobat DC Professional:

The signature is picked up OK, but the date field is just a text field.

After doing a little digging online, I found that changing the name of the Date field to something like Date_af_date (the importance being the _af_date text) and this will change it to a date field;

But it doesn’t truly act like a date field. If I close out of preview mode and tab to the text field, it behaves like a regular text field.

It isn’t until the format category is changed to date that the field behaves like a date field with a date picker.

So that’s fine to edit one field, but if there are lots of date fields to edit, or this is a regular task, it can be time consuming. Ultimately, I’d like Acrobat’s prepare form feature to detect the date fields just like other fields like text inputs and signature fields are auto detected.

Until that happens, I’ve created an Acrobat action that will run not just the prepare form feature, but also a javascript that will find any of the resulting fields that have the word Date (case-sensitive) in them and make them selectable date fields. That action can be downloaded here.

To change the date format, open up the Acrobat action and change the following line in the script:

The number in brackets can be changed from 5 to a value between 0-13 that represents a format as shown below:

0: m/d
1: m/d/yy
2: mm/dd/yy
3: mm/yy
4: d-mmm
5: d-mmm-yy
6: dd-mmm-yy
7: yy-mm-dd
8: mmm-yy
9: mmmm-yy
10: mmm d, yyyy
11: mmmm d, yyyy
12: m/d/yy h:MM tt
13: m/d/yy HH:MM

In the meantime, if you would like the Acrobat team to update the prepare form feature so that date fields are automatically detected, I’ve added it to the Acrobat Uservoice wishlist.

Advertisements

Extract an Image from an image field in an Acrobat Form

In January 2017, Acrobat DC added two new buttons to the prepare form panel in Adobe Acrobat DC: Add Image and Add Date:

eximage01

The Add Image button creates a rectangle that – when clicked in Adobe Acrobat Pro or Reader DC – launches Finder (Mac) or Explorer (Windows) to navigate to an image to be inserted into that field.

To demonstrate this, I have created a business card order form in Adobe InDesign for a Travel Agency.

eximage02

Note that I have not made the image field in Adobe InDesign. There is a good reason for this: it isn’t possible at the time of writing the article as the option doesn’t exist in the buttons and forms panel in Adobe InDesign.

eximage03

While this is frustrating, it can be added in Adobe Acrobat. I’ll leave a link to the indesign uservoice feature request to hopefully have this (and the add date button) added in future (ignore that the Adobe Staff says its fixed at the time of writing – I disagree).

For now, I’ll export this file as an interactive PDF and add the add image button to the artwork.

eximage04

I can then close out of preview and look at the form. This should be fine for testing purposes.

eximage05

For the purposes of prototyping this form, I’ll type some dummy data and use a stock photo from Adobe Stock.

eximage06

Fields all look fine, the text can be extracted by either cutting and pasting into my InDesign card template, or using the export option from the Prepare Form tools. While the image isn’t juxtaposed correctly, I can do that once I extract the image from the PDF… or at least I thought.

The image won’t extract

If I go to the Edit PDF tools of Acrobat, the image (and its field) cannot be selected.

eximage07

The image isn’t shown as an attachment in the attachments tab.

eximage08

If I use the Export all as images from the Export PDF tab, will that work?

eximage09

No, it only exports the images of the beer bottles and the Eiffel Tower shown in the original card.

How about if I use the Edit Object tools, right click on the image and select “edit image”? Unfortunately, this is unavailable too.

eximage10

Using the Enfocus Pitstop Professional Plug-in, can I extract the image this way? No!

eximage11

Yes, I could zoom in and take a screen capture, or render the PDF in Adobe Photoshop, but neither will retrieve the image to the exact resolution the original image was supplied. Looking at this particular image, if I zoom in at 3200%, it is quite a high resolution image.

eximage12

At this point, I turned to the internet for help, only to find the following thread on the Adobe Forums that contained a response from an Adobe Staff Member that read as follows:

eximage13

To me, this is bizarre… the whole purpose of adding an image would be to remove it later for another purpose, especially since the form field doesn’t have any cropping, scaling or rotating options. The whole point of me making this form was so that:

  • the client didn’t need the full version of acrobat to add the image as an attachment to the PDF;
  • the client Didn’t need to send the PDF and the image separately;
  • I could receive one file to prepare the content of the business cards, rather than bits and pieces from various emails or downloads.

However, all is not lost!

There is a way

Create a new InDesign file and place the filled in interactive PDF as an image.

eximage14

Export the file as a print PDF using the [High Quality Print] setting with the following change to the compression panel:

eximage15

Now, when the PDF opens in Adobe Acrobat Professional DC, I’m able to use the Print Production Tools to click on the image and then select Edit Image.

eximage16

Once the image opens into Photoshop, I can see it is the same size as the original.

eximage17

So yes, it is possible to extract an image from the Image Field of a PDF, but it takes a little work. I’m just frustrated why the Acrobat Team made it difficult “by design”.

Lastly, if anyone from the Acrobat Team is reading this going “he’s having a go at us again”, rest assured, I will be praising the team in an upcoming post.

How NOT to make annotations in a PDF

In early July, I prepared a video for my employer that demonstrated how to mark up a PDF correctly, primarily how to use the commenting tools. This came about as a direct result of the Adobe Acrobat team removing certain icons from the comment panel, meaning that many of my customers had to be re-trained on how to mark-up PDF proofs that they were sent. Since July 12, the Acrobat team has decided to return one of the icons it had removed from the comment panel, but still pushes for the use of the blue arrow tool to make additions, deletions or replacements of text. I’m happy that the icon has returned, but frustrated that it was removed in the first place.

thumbsup

This is important because PDF mark-ups can use the annotations workflow that works like this – simple comments are taken into Acrobat using the comments tool and then imported directly into InDesign using plug-in software available from DTPtools. Here is a link to a video of the workflow in action – it effectively takes the mark-ups that were made in the Acrobat file into the ID file, and these mark-ups can be accepted or rejected in a similar fashion to revisions made in Microsoft Word.

There will be occasions that alterations outside of the scope of the annotations workflow will have to be made, but I would encourage anyone who has been asked to mark-up a PDF for their printer to please read these suggestions:

Use the Adobe Acrobat Reader

Yes it is possible to mark-up a PDF in other software such as Preview (Mac) or in some browser plug-ins, but for the mark-ups to save and be interpreted correctly by the DTPtools annotations plug-in, please use the Adobe Acrobat Reader.

Mark-ups only please

That being said, please do not:

  • attempt to make the changes live in the PDF, but instead use the commenting tools only. This means staying clear of the typewriter tool and only using commenting tools, namely the blue arrow tool to make deletions, additions or replacements (or use the classic icons); highlight or sticky note.
  • open the file in Microsoft Word and save it back as a PDF. This can make it impossible to tell the distinction between the two files and will result in the artwork being set up again from scratch.
  • print the PDF and then mark it up in pen, scan it to a new PDF – this will quite clearly not work with the annotations workflow.
  • add or delete pages from the PDF. If pages need to be deleted, use the mark-ups to indicate this. Likewise, if pages need to be inserted, use the sticky-note tool to inform the operator that pages need to be inserted.

Good instructions

  • Delays and misunderstandings because of unclear instructions = $. This will result in a new proof that will no doubt contain misunderstood edits will need to be corrected, resulting in further proofs, chargeable time, delays and frustration.
  • Make sure your instructions are so clear that edits are easily understandable by anybody. Even if you have had a conversation with someone about the alterations to be made, never assume that the person making the alterations will be the person you had a conversation with.

dogeindd

When working in groups

  • Make a distinction between comments intended for collaborators and authors; and comments intended for a printer. Collaborators generally know what is being referred to, but prepress staff are making changes only, so make sure that the instructions for the printers are easily understandable. Any notes, such as opinions (e.g. I don’t like that font), or topic specific queries (e.g. need to fact-check this statement) really should be between collaborators and authors.
  • “Duelling banjos”. If collaborators can’t agree on specific alterations, don’t take it out on the prepress operator – they are doing what they are told to do in the PDF. If there is a dispute between authors about what does/does not need to appear in the publication, resolve that prior to submitting the PDF to the prepress operator for changes.
  • When collaborating, make sure each collaborator is either looking at the SAME PDF, or the same COPY of the PDF, and that changes are submitted at the same time rather than staggered. There is a great video that specifically deals with collaborating groups here.

Think about the practical application of the mark-ups

  • Have realistic expectations of the edits. For example, supplying a 5 page word file with the instructions “fit on 1 page” is unrealistic.
  • Understand the implications of changes. For example, pages that are designed to work as readers’ spreads will be jeopardised if an instruction to shuffle pages forces the spread to break… a segue to this issue…
  • Shuffling pages… Again this can be quite confusing, especially if LOTS of pages are being shuffled around. Remember that shuffling pages can also break pages that are meant to appear together, such as pages set up as readers spreads. Make sure that the new order of the pages is clear to avoid any confusion.

Ultimately, a well marked-up PDF proof can result in more reliable changes being made faster and on-time.

Now you see it, now you don’t… why?

Several posts ago I wrote a piece concerning Acrobat XI and its ability to undock the comments panel so that it could be moved away from the right hand side of the screen. This had advantages when scrolling the list of comments, as to get to the comments further down the list you have to use the slider (that can sometimes miss comments if scrolled too far) or single-click the arrow at the bottom of the scrollbar, and this can inadvertently:

  • Invoke my Dock to pop up on my mac;
  • Invoke a “hot corner” action on my mac that is set to the bottom right of the screen;
  • Inadvertently open an email alert that pops up via Microsoft Outlook (alerts pop up on the bottom right of the screen).

Read the full article here.

The solution was to click on a button within the commenting panel that would allow the list to be undocked. Here is how it used to look in Acrobat XI:

trackalts2However, in Acrobat DC, the “Undock Comment List” is no more!

wherediditgo

There is no ability to change this in the Commenting Preferences either.

This might seem like a rather obscure feature, but when working with marked-up PDFs as a workflow it is a handy feature to have that will save lots of time.

Fortunately, the ability to view comments that were unchecked does remain… for now!

However, I am less than impressed so far with Acrobat DC, and this is largely due to the way it was released. When the product was made live via Creative Cloud, Acrobat DC appeared as an upgrade, but what wasn’t apparent is that uninstalled the existing version of Acrobat! Luckily there were other users that experienced this before me and had tweeted about it:

taketh3For most users, this may not have been a problem, but my version of Acrobat was also running a paid plug-in and had several scripts that had modified the user interface menus, such as the ability to reverse the page order or collate another PDF into the currently opened PDF. So installing Acrobat DC would have completely deleted these enhancements, and meant putting them back on… and in the case of the plug-in, would have meant purchasing the new version (there was no free update to work with Acrobat DC), and waiting until it was available!

To be fair to Adobe, they have now amended the installation process and introduced a checkbox that is ticked on by default that says “Remove old versions”. I’m glad we’re now given a warning and an option, however I think the default of that option should be ticked OFF.

That said, Adobe have received the message loud and clear not to do it again. I say that as an attendee of the PEPCON 2015 Conference in Philadelphia, where attendees met the Adobe InDesign engineers on day three for a general questions and answers session, where this (and many other suggestions) were passed directly onto the team.

Unfortunately, it came a little too late for the find font panel in CC2015. Mike Rankin at indesignsecrets.com posted this piece on the sudden disappearance of icons in the find font menu of Adobe InDesign that many in prepress find invaluable.

%d bloggers like this: