Inserting a drop down list on a PDF field

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

joeitaliano
User
Posts: 89
Joined: Wed Dec 29, 2010 8:50 am

Inserting a drop down list on a PDF field

Post by joeitaliano »

hello all

i am seeking a solution to my problem. CAN SOMEONE HELP ME PLEASE

I have a PDF form which has a field that i want to pro-grammatically (via javscript i would suspect), create a dropdown list which has the following 4 options

1 - 2 Dir. with Seal
2 - 2 Dir., No Seal
3 - Sole Dir. with Seal
4 - Sole Dir., No Seal

If user selects #1 then the following text is to be inserted in that area

The Common Seal of xx was hereunto affixed in the presence of blah blah blah

If user selects #2 then the following text is to be inserted in that area

Executed by xxx (ACN yyy by authority of its directors and pursuant to section 127 of the Corporations Law by blah blah blaah

ETC ETC

Would be most appreciated

joe@csolutions.com.au
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Inserting a drop down list on a PDF field

Post by Vasyl - PDF-XChange »

Hi, joeitaliano.

Look to [Reference/NamedItems/Objects/Notifications/Mouse] or/and [Reference/NamedItems/Objects/Notifications/ContextMenu] sections in our help file.
You may intercept these notifications and display your own context menu and run corresponding Java Scripts for change form field value.
Also, in the new build (191) you will be able to use some new features for obtaining/changing focused form field or annotation.

HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.