Javascript Acrobat Pro 9 - Checkboxes "verknüpfen"

Hallo,
ich benutze Windows, Adobe Acrobat Pro 9 und versuche in einem Formular einige Checkboxes/Kontrollkästchen miteinander zu "verbinden". Konkret meine ich damit:
Ich habe z.B. 4 Kästchen,
wenn ich Kästchen 3 oder 4 mit einem Häkchen versehe, soll Kästchen 1 und 2 automatisch auch markiert werden.
wenn ich bei Kästchen 1 das Häkchen wieder wegnehme, sollen Kästchen 2, 3 und 4 die Häkchen auch entfernt bekommen.
Lässt sich das mit Javascript lösen? Ich habe nun schon rumprobiert, ich bekomme es nur hin, dass die Kästchen markiert werden, wenn ich ein anderes auch markiere, aber dann markieren sie sich auch, wenn ich das Häkchen wieder rausnehme
Danke schonmal.

Hello,
I'm sorry I'm not able to address your question. These forums
are specific to the
Acrobat.com website and its set of hosted services, and do
not cover the Acrobat family of desktop products.
Any questions related to the Acrobat family of desktop
products would be best suited in the Acrobat User Forums:
Link to
Acrobat Forums
Thanks!
Michelle

Similar Messages

  • Acrobat Pro 9: Calculating Based on Checkbox Value

    Hi!
    I am a novice and I purchased Adobe Acrobat Pro 9. Can
    someone help me figure out how to do calculations of checkboxes? I
    am trying to do the following:
    I want to create 2 columns of 10 check boxes each. I want to
    keep a running total of how many are checked in Column 1 and a
    running total of how many are checked TOTAL (in both columns). Now,
    the document has 3 pages, and on each pages - there are 2 columns
    of 10 check boxes. I want the running total to include all boxes
    from the 3 pages.
    I hired a freelancer who did this in LiveCycle (using Acrobat
    Pro 8). It worked on her blank page, but when we copied and pasted
    the check boxes into my document (a pre-made PDF exam I have to use
    for work; my school would not allow me to give it to her to work
    with); the calculations wouldn't work. We went into LiveCycle and
    each time we opened up my document with her calculations, the
    language changed automatically from FormCalc to JavaScript.
    Can anyone give me advice or tell me what to do? (We do have
    two read only boxes that do calulations [total checked in Column 1
    and total checked] so it really should work...)
    Thank you for considering and taking the time out to help!
    Alisa

    Hello,
    I'm sorry I'm not able to address your question. These forums
    are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Any questions related to the Acrobat family of desktop
    products would be best suited in the Acrobat User Forums:
    Link to
    Acrobat Forums
    Thanks!
    Michelle

  • How to round numbers using javascript in Adobe Acrobat Pro?

    How to round numbers using java script in Adobe Acrobat Pro?
    For example:
    1.2 becomes 1.0
    1.7 becomes 2.0
    Thank you.

    Assuming you've already set the field to a Number format category and limited it to one digit to the right of the decimal, you can use the following custom Validate script:
    // Custom Validate script
    event.value = Math.round(event.value);
    More info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/roun d

  • Can I upload forms I created in Acrobat Pro (containing Javascript) add attachment fields to them?

    I am developing fillable forms for our company. We have the following requirements.
    1. Develop the forms in Acrobat Pro.
    2. They contain extensive JavaScript, including custom functionality to validate the fields on the form before saving.
    3. The forms must include some way to allow the users to attach files when requested.
    4. Each form will be sent out to multiple recipients.
    5. Recipients may not have Acrobat--only Reader.
    I have solved most of the problems, and I'm getting stuck on #3 (because of #5). Short of using LiveCycle Reader Extensions (which I do NOT have), I don't know how to get a Reader-extended fillable PDF to allow attachments. I want to know if FormsCentral allows it. I read the online help and tried a test form, but I don't see how to add an attachment field to it after it's uploaded--it appears to be in a "final" status that can only be sent out to recipients after that.
    Any help is appreciated. Thanks!

    Acrobat 8 Professional includes LiveCycle Designer 8, so if the form was created with LiveCycle Designer 8 or older, the yes should have the option to edit the form. Acrobat 8 Professional under the menu option 'Forms' will have an option to open the form in LiveCycle Designer. If the form was created with a newer version, there could be some issues with newer features not available in version 8.

  • Need Help Running a JavaScript in Acrobat Pro 4

    How does one run a JavaScript in Acrobat Pro 4? I know it is an old version, but does someone still know?

    Ok, I have figured out how to run a JavaScript file. What is wrong with the following code - are these commands not supported in Acrobat 4?
    app.addMenuItem({ cName: "Collate Document", cParent: "Tools", nPos: 0, cExec: "collate()"});
    Title: Collate Document
    Purpose: User is prompted to select document to insert/collate.
    Author: Sean Stewart, ARTS PDF, www.artspdf.com
    function collate()
    this.insertPages (0,"scan0002.pdf", 0);
    // create an array to use as the rect parameter in the browse for field
    var arRect = new Array();
    arRect[0] = 0;
    arRect[1] = 0;
    arRect[2] = 0;
    arRect[3] = 0;
    // create a non-visible form field to use as a browse for field
    var f = this.addField("txtFilename", "text", this.numPages - 1, arRect);
    f.delay = true;
    f.fileSelect = true;
    f.delay = false;
    // user prompted to select file to collate the open document with
    app.alert("Select the PDF file to merge with; this should be the odd-numbered pages:")
    // open the browse for dialog
    f.browseForFileToSubmit();
    var oddDocPath = f.value;
    var halfOfPages = this.numPages;
    // insert pages from selected document into open document
    for (var i = 0;i < halfOfPages; i++) {
    this.insertPages(halfOfPages-i, evenDocPath, i);
    // remove unused field
    this.removeField("txtFilename");

  • Adobe Acrobat Pro XI - JavaScript

    I am trying to copy a javascript from an old form's "submit" button created in LiveCycle Designer to a new "submit" button on a new form created in acrobat pro XI and keeping getting an error message in the debugger that reads...
    topmostSubform is not defined
    1:Field:Mouse Up
    ReferenceError:  topmostSubform is not defined
    1:Field:Mouse Up
    What does this mean and how can I fix?

    So I created a new "submit"  button in LCD using the proper javascript for LCD (basically did a cut and paste from old form to new form).  When I launched the "submit" button in adobe acrobat I got a "Check Names" box that reads "Micorsoft Outlook does not recognize "1.Duuble click the attachment."  Oddly, the old form works fine in adobe acrobat but the new does not.  What should I do to fix?
    This is the top portion of the script that I copied.
    topmostSubform.Page1.Button2::click - (JavaScript, client)
    //@@SUBMITURL "mailto:[email protected]?subject=Submitting Completed Form&body=Instructions to add this form to a responses file:\n1. Double-click the attachment.\n2. Acrobat will prompt you to select a responses file.&ui=false"

  • How to use Javascript, C#, or Java to automatically fill out a PDF file using ACROBAT PRO

    Hi.
    I have purchased a copy of acrobat pro and am currently using it to try to create a method of populating certain fields in a PDF file.
    This particualar scenerio is a printable cerficiate, it has a spot for the persons First Name, Last Name, and other basic info.
    So we have an exisiting editable PDF, a database with the user's info, and a ASP.NET web server, and of course Acrobat Pro.
    How can I use these components to create an auto fill script?
    Ideally, we'd genereate these certs on the fly, and allow users to download them.
    A code sample would be awesome.
    Thanks!
    --shawn

    I've discovered that you can create a "PDF Form" and edit that form with Javascript.
    My question now is, what is the prefered method for controlling the pdf form?
    I would like to include the PDF file in an HTML page and edit the form fields using javascript in that HTML page.
    I think that this is how developers are meant to work with dynamic pdf files.
    In the acrobat javascript reference, it only shows an example using the acrobat javascript console.
    If anyone has used Javascript with PDFs, I would highly appricate some input.
    Thanks,
    -- shawn

  • Dateinameneinschränkungen bei Verknüpfungen in Acrobat Pro 9

    Welche Dateinameneinschränkungen gibt es bei Verknüpfungen zwischen mehreren PDF in Acrobat Pro 9?
    Wenn ich z.B. zu dieser Datei mit Namen: (2.2.3.7. PB Einarbeitung LfH-Kursleitung.pdf) eine Verknüpfung erstellen möchte,
    funtioniert das auf dem lokalen Rechner.
    Auf einem anderen Rechner wird die Verknüpfung nicht erkannt.
    Was ist bei den Namen nicht erlaubt?

    Bitte veröffentlichen Sie hier:
    http://forums.adobe.com/community/international_forums/deutsche

  • JavaScript SaveAs: Acrobat Pro vs. Reader

    Hi Guys,
    My Privilaged / Protetected JavaScript SaveAs function works perfectly in AcrobatPro.
    The problem is that it will start to run in Reader, but the SaveAs won't execute.
    Ideas?

    Within Acrobat Pro I run the following code within the console, indicating
    the conversion to text and tiff is allowed in Acrobat Pro.
    How can I confirm the conversion to text and tiff allowed in Reader?  How
    to get to the Reader console?
    Here's the code:
    for ( var i = 0; i < app.fromPDFConverters.length; i++)
    console.println(app.fromPDFConverters[i]);
    And here's the results:
    com.adobe.acrobat.eps
    com.adobe.acrobat.xlsx
    com.adobe.acrobat.html
    com.adobe.acrobat.jpeg
    com.adobe.acrobat.jp2k
    com.callas.preflight.pdfa
    com.callas.preflight.pdfe
    com.callas.preflight.pdfx
    com.adobe.acrobat.png
    com.adobe.acrobat.ps
    com.adobe.acrobat.pptx
    com.adobe.acrobat.rtf
    com.adobe.acrobat.accesstext
    com.adobe.acrobat.plain-text      <---- This is what I need
    com.adobe.acrobat.tiff                 <---- This is also what I need
    com.adobe.acrobat.doc
    com.adobe.acrobat.docx
    com.adobe.acrobat.xml-1-00
    com.adobe.acrobat.spreadsheet
    true

  • How do you do document level javascript docopen in acrobat pro lifecycle designer

    You used to be able to do document level javascripts like document open and process parameters from a url to prefill a pdf file. 
    How do you do that in acrobat pro 10 or life cycle designer?
    Thanks in advance
    Dean-O

    Should be the same but it isn't. I have included a screenshot of my tools choices in both my Mac and PC versions - they are totally different.
    Mac version
    PC Version

  • Acrobat Pro 8.0- barcode-javascript-Licensing - reader

       HI,
    I am trying to understand licensing with the use of a 2D barcode, javascript, and the free reader. Basically, I would like to take pre-generated PDFs (no existing forms fields) and in Acrobat pro 8.0 add a barcode to it, launch it from a webpage passing in specific account data to generate the barcode value and then have users print and manually fill out the form. They would then scan in the form, the barcode would be read to associate the form to a patient chart and an 'image' of the form would be uploaded and filed into are system.
    The user would NOT be filling in electronic form data; they would be manually writing in the information. The only thing that would be dynamic on it would be the barcode which would get populated from internal javaScript that parsed information from the webLink call.
    From what I can find on the web is that I have to pay for some kind of form licensing (using liveCycle extension?) if I want to distribute these forms to be read by the free reader. If I am going to distribute these forms to more then 500 individual users (from Acrobat 8.0 Licens agreement 14.13.3)
    This all seems to be true based on the fact that I am using a dynamic barcode (free reader currently grey’s out the barcode unless I “enable user rights in adobe reader’ which then sounds like I am bound to the licensing agreement above)
    Installing and using liveCycle extensions server/app seems like overkill for what I am trying to do. Am I missing something or am I on the right path? I have been calling our sales rep for adobe and trying to talk to others there as well and no one seems to know the answer.
    Thank you,
    - Josh

    re: George Johnson
    Thank you for the response. This process that we are looking to do is necessary. We have 400+ OLD PDF forms that currently are printed by our print shop and then manually filled out and scanned into our system. The current process requires a clinician to log into our scanning system, identify a patient chart, and then identify the type of report they are scanning in. This process is time consuming with possibility of errors (wrong chart selected, wrong form, etc.). Plus, we have to stock up to 400 forms at each location.
    We don’t have the funds to convert 400+ complex forms into electronic submissions where the form fields are discrete and file accordingly. So, what we have come up with to save costs of a new system and reduce potential errors is to add a barcode to each existing form.
    Basically, each form will get a barcode and a javascript function in the onload event to process and parse passed in link parameters.
    So when a clinician clicks on a form link in our EMR system the form will load passing in the patient acct. number and form name into the link parameters (all on our local intranet) so it will get embedded into the barcode on the form. They will then print the form fill out the data (or have the patient fill it out) and then drop it in the scanner. Our scanning system will automatically see the barcode and file the form under the correct patient and form folder based on the barcode info. (A scanned image of the form will save to the patient profile).
    Ultimately we would like to convert all of these forms to electronic signature/submission but we do not have the funds or the time to do this.

  • HELP!  when installing Acrobat X Pro, the checkbox says "OS REQUIREMENTS NOT MET.?"

    HELP!  when installing Acrobat X Pro, the checkbox says "OS REQUIREMENTS NOT MET. CURRENT OS: WINDOWS VISTA SP0 64 BIT." SERVICE PACK 2 RECOMMENDED." 
    Then after install, it says fatal error 1603 --and im still stuck with adobe acrobat 9.

    mylenium,
    sorry.
    the issue is i run windows 7, but acrobat x thinks im on windows vista for some reason.
    the install goes all the way thru --and then gives the fatal error 1603.
    indd, illustrator and photoishop are on without issue....
    maybe there is a patch i need to try?
    thanks,
    chris
    (graphic designer 15 years)

  • Javascript works in Acrobat Pro but not in Reader

    Hello,
    I have created a form in Acrobat Pro that works fine in Pro and seems to work in reader. However, when I open it on the site and it loads up in the browser window the form then messes up when it gets to any one of these 2 scripts:
    1.
    var a=this.getField("Parking Passes")
    if (a.value>=1)
    {event.value=1}
    else
    {event.value="0"}
    2.
    var a=this.getField("Additional Passes")
    if (a.value>8)
    {event.value= (a.value-8)*25}
    else {event.value="0"}
    After one of these scripts is processed then the field for script 2. (a total of this script) is summed with other fields and the total field goes to only the amount of the script 2. field. What can I do to fix this. It seems to work outside of the browser when I open it in reader or acrobat pro but never in the browser window?
    Thank you!
    Joe

    I was just asking where those scripts are located.
    You can configure Chrome to use Reader instead of its built-in viewer: http://blogs.adobe.com/vikrant/2010/12/use-adobe-plugins-to-view-pdfs-inside-google-chrome /

  • Confirmation That I Understand What I Can and Cannot Do With Adobe Reader XI and Adobe Acrobat Pro XI

    I am new to working with Adobe Acrobat Pro XI and Adobe Reader XI.  Based on research I have done and questions answered in the Adobe Communities and Forum, I wanted to make sure I understand the limitations of these two products before I report back to my supervisor.  (We do not want to use XFA forms to obtain data in an xml file.)
    1.  Adobe Reader XI will allow a user to save a fillable PDF document to his/her local PC.  But it is only possible to save it as a PDF.
    2.  Adobe Reader XI will not allow a user to export the data in a fillable PDF into an xml file (unless you purchase the LiveCycle Reader Extensions license).
    3.  Adobe Reader XI will not allow a PDF file to be displayed in a .NET program unless the "Enable Protected Mode at startup" checkbox in Preferences/Security(Enhanced) has been unchecked.  (The previous version of Reader would allow this without disabling security.)
    4.  Adobe Acrobat Pro XI will allow a user to scan a form and create a fillable PDF.
    5.  Adobe Acrobat Pro XI will allow a user to save the fillable form as a PDF or XML.  However, it is the form that is being saved as an XML file.  Not the data.
    6.  Adobe Acrobat Pro XI will allow a user to export the data of a form into an xml file, an .fdf file, an .xfdf file, or a .txt file.
    7.  If a programmer writes a program in .NET to save the data of a PDF as an .xfdf file using IAC code, it will only work on a PC that has Adobe Acrobat (Standard or Pro).  If we need this executable to work on other PCs, we would need to purchase additional licenses of Adobe Acrobat - a license for every PC that needs to run the executable.
    8.  If a programmer writes  JavaScript code using trusted functions to get around security issues, that code will work on a PC that has Adobe Acrobat (Standard or Pro) but will not work on Adobe Reader XI.  Again, if we wanted our JavaScript to work, we would need to purchase Adobe Acrobat for every PC that would run the code.
    Please let me know if I have understood all of this correctly.  Thank you.

    Thank you for your comments to each of my statements, Irosenth.  That has been extremely helpful.
    I probably needed more of an explanation on statement #3.  I wrote a .NET program that used this line:   "Process.Start("AcroRd32", FilePath)" and when I ran the executable on a desktop PC that only had Adobe Reader XI on it, Reader would not open unless we unchecked the "Enable Protected Mode at startup" box.  I researched this and found several references to this being a problem in Readers since Reader 9.  I just wanted to make sure this was correct.  One article indicated that we could change the security setting within the registry using code and then change it back.
    Item #8 needed more information as well.  I had tried to use the "exportAsXFDF()" in a trusted function and it would never work in Reader.  It has an "F" in the availability column of the "Quick Bar" in the JavaScript API Reference which means it requires "forms rights".  I saw that; but it was not clear to me if that meant that a trusted function would work.  So, it looks like trusted functions will not get around security settings if forms rights are required.

  • Mulitible check boxes but only select one in each row who I do it with Acrobat Pro X?

    Dear Forum Readers
    First, if I should post my entry in the wrong forum, forgive me but I didn’t found the right place!
    I start to learn about the Adobe Pro X to create a form with different checkboxes, everything goes very well but now I decide it would be better if I could only check one checkbox in each row (see picture) .
    Each checkbox in each row has its own value from 1-4 (left checkbox=1 and right checkbox=4) and on the end of the form “Sub Total” all the value in each column who are checked I accounting together.
    1.  1. First I change the check boxes into radio button and give them a different value. Now I can only select one radio button in each row like I want it. But if I go to the field “Sub Total” (properties > calculate > pick) to account the value from each column together then I only can select the whole radio button group and not a single radio button. So my idea doesn’t work because the result is wrong.
    2.  
    2.T2. Then I got back and change the radio button again into check boxes. In each row I give the 4 check boxes the same name (so they act like radio buttons) and this works fine as well but with the same result as you read above. I could only “Pick” (properties > calculate > pick) the whole group of the check boxes and not only one and therefore my result at “Sub Total” is wrong again.
    I search the internet as well but I couldn’t found any working solution.
    Now I like to ask you kindly, is there somebody who can help me with the problem?
    I need the form as you can see at the picture but it should be only possible to check one checkbox in each row. But on the time I should be able to calculate each single column together.
    I would appreciate every idea (as simple as possible) because I am a beginner with Adobe Pro X.
    Thank you very much in advance!!!
    Nice regards
    Klaus

    Dear Gkaiseril
    Thank you very much for your answer!
    This I fears already J
    With JavaScript I have even less an idea than with the program Acrobat Pro XI. Is there not a other solution to solve this problem.
    Is it may possible that’s you can show me how such a JavaScript could look like or you know may a existing script?
    Anyway, thank your help.
    Nice regards
    Klaus

Maybe you are looking for