Skip to main content
Participating Frequently
October 26, 2018
Answered

Script for importing mark-up by form dropdown selection

  • October 26, 2018
  • 2 replies
  • 704 views

I am trying to import mark-ups based on the value of a dropdown on the page.

I currently have the import script as a toolbar button. I have several different pre-made styles and need the dropdown "RISER_TYPE" to import the mark-up associated to the value when selected.

EXAMPLE

if "RISER_TYPE" dropdown = "example value-1" then IMPORT("C:\PDF MARK UP TEMPLATES\TEMPLATE-1 REV 1.0.bax" , if "RISER_TYPE" dropdown value = "example value-2" then IMPORT("C:\PDF MARK UP TEMPLATES\TEMPLATE-2 REV 1.0.bax"))

This topic has been closed for replies.
Correct answer try67

The basic code would be something like this (as the custom validation script of the drop-down field):

if (event.value=="ABC") this.importAnFDF("/c/temp/abc.fdf");

2 replies

Participating Frequently
November 1, 2018

I am using Bluebeam and Adobe. What would the script for importing various FDF files from a dropdown selection?

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
November 1, 2018

The basic code would be something like this (as the custom validation script of the drop-down field):

if (event.value=="ABC") this.importAnFDF("/c/temp/abc.fdf");

Participating Frequently
November 8, 2018

Thanks for the help!

Inspiring
October 27, 2018

Acrobat doesn't have the ability to import .bax files. It can import comments in FDF and XFDF files. What PDF viewer are you using?