Saturday, November 8, 2014

Acrobat -- Mass Edit Fields Actions

Direct purchase using PayPal ($60 only per license)!

Special Offer: Both Mass Edit Fields tools for only $90 (instead of $120)!

Update (01/11/2015): You can now apply the Calculate, Format, Keystroke and Validate events to not-text fields as well.

Similar to my other tool to set the various properties of multiple fields in a file (Acrobat -- Mass Edit Fields Properties), this tool allows you to set a JavaScript action that is associated with a specific trigger with multiple fields in a single process.

You select the relevant fields and then one of the following triggers and assign a JS action to them quickly and easily:
  • Mouse Down
  • Mouse Enter
  • Mouse Exit
  • Mouse Up
  • On Blur
  • On Focus
  • Calculate
  • Format
  • Keystroke
  • Validate
 Here's how it's used. We have a file with various fields in it that we want to edit. We click one of the buttons of the script in the Tools panel on the right:

(click to enlarge)
 In this first instances we select the All Fields option and are presented with this list of the field-names in the file:

After having selected the fields we want to edit we clicked on Continue and are then presented with this dialog window, where we select the trigger and enter the action code we want to use. In this case we want an error message to appear whenever the user exits the field, if it's empty:

The script has processed the fields successfully and presents us with this dialog when it's done:

Now we want to run it again, but this time edit only text fields. So we click on the other button in the Tools menu and are presented with a list of just those fields. We select the ones we want to process, just like before, and click on Continue:

This time there are more options in the actions drop-down menu. We select the "Calculate" action and enter a code that will make sure the fields show the current date:

The fields have been successfully edited and we're done!

If you have any questions about this tool, you can contact me directly.

No comments: