Using "calculate" in Acrobat Form to display document metadata (Author, etc.)

Can someone assist with a javascript that will retrieve the document "Subject" or "author" so that I can use that data on an acrobat form?  (I am creating a form that will then be inserted as the first page in an existin adobe document and I want the form to display details about that document.

You probably don't want to use the calculate event, as it is triggered only when a field value changes. You can place someting like the following in the initial page's Page Open event:
getField("SUBJECT").value = info.Subject;
For more information, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.396.html

Similar Messages

  • Using Javascript With Acrobat Forms

    Hello,
    I have been attempting to use Javascript with forms made using Acrobat X Pro. Particularly, I am attempting to use the Font palette with Text fields as described in http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf .
    One example of this is the Strikethrough property.  TextField1.caption.font.lineThrough = "linethrough" and TextField1.font.lineThrough = "linethrough". I see that "linethrough" is an enumeration (Having values of 0,1, and 2). But I have tried this numerous times, in various ways, and it does not work. I also tried other Font properties and could not get them to work. Is there more setup to this? I am still very much new to developing Forms, and it was frustrating for me to not find a resource that outlined all of the stuff you could do with Forms. My only prior experience with Javascript is for web pages. The pdf I mentioned above seemed promising, but I'm having trouble implementing it.
    I appreciate any help for this!

    For questions about LiveCycle Designer use the forum LiveCycle Designer.

  • How do I make Safari open PDF's using installed Adobe Acrobat 7.1.0

    I would like to force Safari 3.1.2 to open all PDF links using Adobe Acrobat 7.1.0. How do I accomplish this? I have no problem making Safari use the Adobe Reader, however, I would like to use the full Adobe Program so I can save and download interactive PDF forms I have filled out on the web. Using the Adobe reader, you can only download the form itself - all supplied information using the form's interactive features are lost when the filled in form is downloaded.

    Hello, Carolyn:
    Thank you for your suggestions. Unfortunately, it is not working for me. I have both Adobe Acrobat v. 7.1.0 and Acrobat Reader v. 9.0.0 running on my computer. In either program's preferences both programs are availabe when I choose the program to display PDF files in the browser (Safari). There is no problem setting Safari's PDF handling to the default value.
    When I choose Acrobat Reader to be the program to display PDF files in the browser, Safari will indeed use Acrobat Reader. However, when I choose Adobe Acrobat v. 7.1.0, Safari does not use the Adobe Acrobat program to display the PDF file, rather the file is displayed by the PDF handling features built in to Safari. I have found no way to make Safari use the full version of Adobe Acrobat. PDF files residing on my computer opens without difficulty using my copy of Adobe Acrobat v. 7.1.0. Do you have any other ideas that would help solve this problem?
    RaFoFa (Ragnar)

  • IOS pdf viewer cannot display text that was entered in acrobat forms???

    hi.
    i have a blank PDF form. i enter text into this form on my mac, i use the latest adobe acrobat or adobe reader to do this. i email this filled out form to a person. the person uses an iphone or ipad to view his mail. he is a novice user, no extra apps installed. the user opens the attached pdf (default ios pdf reader) and the form is displayed.
    but – not a single word i entered into the form is displayed.
    it seems that forms that are filled out with acrobat/reader can't be correctly displayed on an iphone/ipad? They show up blank!
    I tested this with a few documents, same result.
    any help?
    Cheers!

    The basic readers might not process field forms, just the basic context of the PDF.
    It is best to add an app that can process Acrobat PDF forms, not just read them. I would look at PDF Expert since it appears to be the most compatible and runs custom JavaScripts in forms. Another option would be the Adobe Mobile PDF Reader.
    Did you create the PDF form?
    PDF forms can be created by Acrobat, AcroForms, or using LiveCycle, XML forms. The majority of iOS or android mobile devices cannot process XML forms.
    Trying to read PDFs on mobile devices requires testing of the PDF to fix display issues and if you are using forms the JavaScript within forms needs to be tested for compatibility with various app readers to see if the form fields and code even work.

  • Acrobat  CD Form Button Display incorrectly  when an effect  or transparency  is applied  Via indesign  Looks like a bug

    I have tested existing interactive pdfs that function perfectly in Acrobat XI and Adobe acrobat Reader but open the same files in Acrobat DC and Acrobat DC Reader and most of the documents i have designed and produces over last few years have been renderer useless
    Basically any interactive  form field wich uses  Effects,  Transparency  or  mode changes  like multiply  in every instance the  whole form element appear as a pixelated mess
    I have been posting  in an indesign Thread  https://forums.adobe.com/message/7427566#7427566  it contains  picture and a sample document
    Steve Werner has been helping  me   and has suggest  i post here too
    Graeme,
    I downloaded your PDF file. I have both Acrobat DC and Acrobat XI Pro and I can confirm that I view it the same way that you do.
    It clearly seems to be a bug. In the Acrobat beta group, most users are probably not InDesign users, and most of us who do use InDesign probably didn't create or test Show/Hide buttons using those forms of transparency. I'm sure it's not intentional, probably a side effect of some other change.
    It needs to be reported as a bug. I'd suggest using the Bug Report form here:
    Adobe - Feature Request/Bug Report Form
    Also, there are several Acrobat forums. I'd suggest posting (if you haven't already) in the these two forums:
    Rich Media & 3D
    PDF Forms

    It's good that you'll be submitting a bug. This sort of thing has happened before, and I think it's related some to the fact that InDesign is capable of generating field appearances that you can't set up in Acrobat (transparency in particular).

  • Print Problem - PDF is OK on Windows 7, but OK on Windows XP with "Acrobat Reader An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem."

    I have received a PDF which prints fine in Windows 7 but with Windows XP I get "Acrobat Reader An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." and a blank piece of paper passes through the printer. I appreciate that Windows XP is no longer supported but I would like to think that the solution to this problem is not too difficult!
    I have tried Acrobat 9, 10 and 11.
    Any advice (apart from use Windows 7! ) would be most welcome.
    Many thanks.

    If you use the same Adobe Reader versions with the same PDF on Windows 7 and XP, then I would expect the outcome to be the same.
    Is this a local or online PDF?
    If local, is the file really exactly the same?
    If online, in what browser?

  • I have developed a fillable form using Adobe Acrobat Pro. The form has several fields and some of the information is captured in a bar code. What programs must be used to open the form to properly fill the form out?  Adobe Reader, Adobe Xi, Ibook, etc.. I

    I have created a fillable form using Adobe Acrobat Pro that contains several data fields with some feeding data to a barcode in the document.  I have a "button" set up to save and send the completed form one it is completed.  Some of the user are having troubles filling out the form as they are using various programs to do such as iBook, Adobe Reader, etc....  Sometimes the information is not transferred to the barcode and sometimes the "submittal button" doesn't function properly.
    Please provide a solution or give me a list of the programs that must be used to properly open and fill out the form.
    Greatly appreciated.

    Best option is to use Adobe Reader (or Acrobat, of course) on a desktop computer (ie, not on a mobile device). Any other configuration is likely to be problematic.

  • How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    How do I take two separate non numeric fields in a acrobat form and combine the data to display in a third separate field?

    You have to use custom JavScripting to concatenate the first 2 fields. You cannot use the first 2 calculation options because they force the values of the fields to a numeric value or ignore string values.
    Possible scripts for the 3rd field are:
    event.value = this.getField("Text1").valueAsString + " " + this.getField("Text2").valueAsString;
    or
    event.value = this.getField("Text1").valueAsString.concat( " ",  this.getField("Text2").valueAsString);
    If you do not want change the separator or not show the separator when on or the other field is empty, you will need to add more code to adjust for change.
    The above scripts will also concatenate number because the field values are read as strings and not numbers.
    There is also a generalized user written function to concatenate up to 3 fields with a separator that adjust for missing data.

  • Some of the times when I print a document from the internet using my Adobe Acrobat 8 Pro printer, the letters appear in the PDF as symbols, How do I correct the problem?

    On many documents that I try and print from the internet such as receipts, conformations, etc, using my Adobe Acrobat 8 Professional printer, the PDF shows some if not all the letters as symbols.  I think it might be font issue, but do not know how to fix the problem.  Any suggestions.
    On another issue, can a Tiff file of my signature be inserted in a PDF?

    Hello,
    For 1st issue please follow the steps in given article:
    Missing or Garbled Text Printing from IE9 to Adobe PDF Printer
    For 2nd issue:
    You can create a signature appearance:
    For example, you can include your scanned signature.
    1  (Optional) Save the desired image on a page by itself, and convert the page to PDF.
    2  Choose Edit > Preferences (Windows) or Acrobat (Mac OS) > Preferences, and select Security.
    3  Click New, and type a title.
    4  (Optional) Select Imported Graphic, click File, and select the desired file.
    5  Specify options as desired.
    Regards,
    Anoop

  • Displaying Document Name With The Summary in a Single Column Using Document Library View.

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the
    row to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Displaying Document Name & The Summary in a Single Column Using Document Library View

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the row
    to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotfo

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

  • Acrobat XI Pro will not activate when trying to convert to an Acrobat form from an existing Word document

    My version of  Acrobat XI Pro will not activate when trying to convert to an Acrobat form from an existing Word document.  Acrobat not responding.
    Please advise
    John B

    Hi johnb69345359,
    I am sorry for the inconvenience caused. Lets try to resolve this issue.
    I would require few details in order to diagnose the issue correctly :-
    1) Are you able to launch Acrobat XI pro ?
    If yes, please try Help -> Repair option to repair Acrobat XI pro. Then try to perform the covert operation.
    2) Let me know the Operating system installed on your computer.
    3) Is there any error code or error message?
    Regards,
    Aadesh

  • I installed CS6 on my new retina MacBook pro laptops. InDesign and Acrobat display document pixilated. I ran the updates and it fixed Illustrator and Photosho, but not InDesign and Acrobat. What can I do to make them display in high resolution? HELP!

    I installed CS6 on my new retina MacBook pro laptops. InDesign and Acrobat display document pixilated. I ran the updates and it fixed Illustrator and Photosho, but not InDesign and Acrobat. What can I do to make them display in high resolution? HELP!

    InDesign CS6 is not optimized for retina displays. You’ll need to move to Creative Cloud for retina compatibility.

  • How do I retain a PDF form widget's design when setting its value using Javacript in Acrobat?

    I've been experimenting with interactive PDF forms in InDesign and JS in Acrobat. I think I've encountered something that might be a bug: widget design is overriden when using Javascript to set the field's value in Acrobat. Here's what a checkbox, for example, should look like when checked:
    However performing:
    var f = this.getField("Checkbox");
    f.value = "Yes";
    in the JS Console results in the widget's appearance defaulting to acrobat's:
    I've tried every single widget property documented in Acrobat's Javascript API Reference to no avail. Initially, checking/unchecking using the mouse works fine. Once the value has been set using JS, Acrobat's default black check character is used for all subsequent toggling, including when using the mouse...
    How does InDesign export interactive PDFs with custom icons for widgets? Is there any way to enforce the use of those icons using JS in Acrobat Pro? What's the difference between selecting a checkbox or a radio button using the mouse and setting its value using JS?

    I thought it might be the case, too, but all widgets have the same properties both before and after setting the value with JS. I did this check using all documented properties in Acrobat JS Reference in an attempt to figure out what might be going on.
    By the way, I don't think Indesign necessarily uses glyphs for the checked state of widgets, although in this case a glyph is used (albeit with different stroke and fill colours for the glyph, acrobat doesn't allow setting these properties AFAIK). With Indesign CS6 it seems you can practically use any Indesign tool to design the widget's On and Off states. So I'm thinking that maybe Indesign exports these with button-like properties where there are no restrictions on appearance (I think there is an "icon" property/object for buttons or something like that). However Acrobat treats them as checkboxes, so if that is the case it is more of a hack. Is there a way to probe an object's various properties other than using JS or the properties pop-up dialog?

Maybe you are looking for

  • How do i transfer to a new icloud account

    I am having to create a new iCloud account, how do i do this and not lose all of my information. When i try deleting existing account it tells me all information will be lost. Thanks for the help.

  • Storage location-determination of return-deliveries (delivery type RL)

    Is there a difference between picking storage location-determination of return-deliveries (delivery type u201CRL Returns (pur.ord.)u201D/return to vendor) on 4.6C compared to ECC6.0? Is there a SAP-note? Within 4.6C-system the storage location is det

  • Early warning system for monitoring authorizations

    Hi, I have heard about a "system" that can monitor authorizations on the R/3 system called "Early Warning" (suposedly).  Is there any functionality fir this on Netweaver platform?  The client wants to recieve mail/SMS/notification if users are grante

  • Can I rotate a video without having the black borders?

    Hi, I shot some movie on my camcorder. I had the camcorder at a right angle at the time. When I rotate it on imovie11 I am left with black borders either side. How can I remove these? I'd really appreciate some help asap with this as I am editing the

  • What is this error - javax.faces.FacesException:  expr

    I am using tiles and myfaces tomahawk for my application I get the following error when i submit a page containing an inputText and a SelectMany Listbox. What is this error due to? javax.faces.FacesException: ServletException in '/webframe/tilesLayou