Skip navigation
Currently Being Moderated

Drop down lists and email buttons

Aug 20, 2012 12:14 PM

I am creating a form and I have about twenty items in a drop down list. I was wondering if and how I can set it so each item selected will cause an email button I have to change address. i.e item 1 sets the email button to and item 2 sets the button to I think it has something to do with binding but I only have basic training so I am lost. Any help that you can give will be greatly appreciated . Thank you in advance

  • Currently Being Moderated
    Aug 20, 2012 2:30 PM   in reply to

    Very easily done in InDesign. See:

    window >> interactive >> hyperlinks

    window interactive >> buttons


    Your final product needs to be a .pdf, and don't forget to check Inlcude hyperlinks when exporting to .pdf.

    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 12:17 AM   in reply to Mike Gondek

    You cannot bind action to the list of options in a drop down list in InDesign. Actions can be applied to the Form field events like 'on click', 'on blur', etc.

    Mark as:
  • Currently Being Moderated
    Aug 21, 2012 4:39 AM   in reply to

    As mentioned, you can´t do that in InDesign but fortunately it´s fairly easy task to do in Acrobat Professional. You didn´t mention what are you sending, just an empty email that sender can fill in email client, whole PDF as attachment or some form data from PDF... all those options are possible by few lines of javascript in Acrobat side.


    I made you a quick sample which just opens up an email client, populates email address based on choise that user has made in combobox and some custom subject and body meassage text. You can find it from my dropbox:


    There´s only two formfields in that PDF; combobox for choosing email recipient (AA =, BB = etc) and submit button. Check javascript code from

    -combobox´s properties > Validate tab and

    -button´s properties > Actions > Run a javascript.


    In combobox, small javascript sets the myemail variable´s value based on the choise user makes. In Button there´s small javascript that triggers the email client and uses the value of myemail variable as a target email address.


    ps. this sample probably works only in Acrobat and Adobe Reader. I have no idea how for instance MacOS Preview supports PDF javascript, probably not very well....=)

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points