How can I make my PDF Portfolio open automatically in a two-panel that displays my a TOC/Agenda PDF on left that links to the other PDFs in my Portfolio in the panel that appears on the right.
We are creating a form which we would like end-users to be able to fill out in Reader, save, and distribute to others via email. However, we've found that those opening the pdf on iPhone cannot view the text fields. We tried adding a flattenPages javascript to a hidden button, but it won't work in Reader. We're not very versed in javascript but are willing to learn to make this work. Thanks!
Solution
What's needed is a PDF viewer on the iPhone that supports forms.
When a PDF is opened in a browser, it cannot communicate with the web page that hosts it.
Solution
To pass information, we need to add what is called a Form Bridge, which presents an API to JavaScripts in the browser, and add to it our own functions. We then need to script the host page of the PDF container (which loads the Reader or Acrobat browser plugin) so that it pushes the data to the form. The result object of this operation allows us also to get data back from the form in the web page.
I am trying to make a form on which you can click a yes/no button and if you click the yes button, the email text field will be a required field, whereas the no answer would not require you to fill out the email address option. Thanks
Solution
Yes, you can accomplish this task without a script.
When a PDF is opened in a browser, it cannot communicate with the web page that hosts it.
Solution
To pass information, we need to add what is called a Form Bridge, which presents an API to JavaScripts in the browser, and add to it our own functions. We then need to script the host page of the PDF container (which loads the Reader or Acrobat browser plugin) so that it pushes the data to the form. The result object of this operation allows us also to get data back from the form in the web page.
You want to print a PDF file directly from AIR without displaying it to the user and using your own custom button (not the default PDF control bar).
Solution
Open the PDF document you want to print in Adobe Acrobat Pro. Add the JavaScript code to your document and save it. Create an HTML page that contains a JavaScript function and embed the PDF document. In your Flash (or Flex) file add a button that prompts the user to print the document. Add the ActionScript 3.0 code that communicates with the HTML page. Publish your AIR file (making sure you include the HTML and PDF files). Test your AIR app.
Setting a form field to “Required” in the “General Properties” tab forces the user to fill in the selected form field. But there are cases when you need the user to fill out a particular field before moving on to the rest of the form. You could use JavaScript to dynamically enable or disable parts of the form but that can be cumbersome to keep track of.
The ideal situation would be to, where appropriate, force the user to enter data into a required field before moving to another field.
Solution
Add the following code to the “On Blur” action of the field you want to be required.
The standard "Email Submit" button in LiveCycle Designer only submits data as XML. And of course many users would like to submit the entire PDF, and modify other submission options.
Solution
There are at least 3 different ways to perform a submit action on a LiveCycle form. The Email Submit button is probably the worst, but the XML for this button can be easily modified so that it sends the entire PDF. A better solution is to use a regular form button. It's not widely known, but the regular button provides a greater range of submit options than the email button. And for the greatest flexibility the submit can be performed with JavaScript.
This site is produced in partnership with O'Reilly.