This Forum is for: Adobe Acrobat
FROM: Edward Sager
DATE: May 24, 2005 9:26 pm gmt
This post has been edited See historySUBJECT: Prompt for user response on opening of document
KEYWORDS:
KEYWORDS:
Hello,
In order to show the user my copyright notice and to get the user's name and gender (which will be used to fill in read-only text boxes on my PDF form), I need to have a dialog box open when the form opens. The dialog box should have the copyright notice and a statement that if the person types in their name and presses an "Accept" button, they agree to the copyright restrictions, and the form is opened with their name in the appropriate places on the form. If they press cancel or do not type their name, the form does not open.
The gender part will be 2 radio buttons. When the user chooses one or the other, that will trigger the use of the words "him" and or "her" at certain points throughout the form.
My questions are these:
1. Can you either provide sample code or send me in the right direction to learn how to have dialog boxes open requiring input before the form can open?
2. I am having trouble understanding the examples in the Acrobat JS for adding radio boxes to a dialog box. Can someone help with the code or point me in the direction to learn about it more?
3. How do I assign document-wide variables in the opening dialog box for the name and the gender response?
Thank you,
edsager
In order to show the user my copyright notice and to get the user's name and gender (which will be used to fill in read-only text boxes on my PDF form), I need to have a dialog box open when the form opens. The dialog box should have the copyright notice and a statement that if the person types in their name and presses an "Accept" button, they agree to the copyright restrictions, and the form is opened with their name in the appropriate places on the form. If they press cancel or do not type their name, the form does not open.
The gender part will be 2 radio buttons. When the user chooses one or the other, that will trigger the use of the words "him" and or "her" at certain points throughout the form.
My questions are these:
1. Can you either provide sample code or send me in the right direction to learn how to have dialog boxes open requiring input before the form can open?
2. I am having trouble understanding the examples in the Acrobat JS for adding radio boxes to a dialog box. Can someone help with the code or point me in the direction to learn about it more?
3. How do I assign document-wide variables in the opening dialog box for the name and the gender response?
Thank you,
edsager
CURRENT THREAD: Read whole thread
- Prompt for user response on opening of document by Edward Sager at May 24, 2005 9:26 pm gmt
- Re: Prompt for user response on opening of document by TimPlumer at Jun. 03, 2005 12:21 am gmt
- Re: Prompt for user response on opening of document by TimPlumer at Jun. 03, 2005 12:16 am gmt
(Click here to place a textlink on this site)
Vegas Pro 10 Available NowProfessional HD Video, audio, and Blu-Ray creation. CLICK HERE!!! |
Vegas Pro 10 Available Now