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

Similar Messages

  • Querying Leads based on checkbox value

    Hi I want to retrieve all the Leads based on my cpo_modified checkbox field.
    I'm using this to do it:
    objListOfLead = LeadHelper.createListOfLead(strLeadDim);
    objListOfLead[0].cpo_modified = "Y";
    //Campos de la entidad Lead a devolver
    objListOfLead[0].Country = "";
    objListOfLead[0].cpo_atInstallments = "";
    objListOfLead[0].cpo_atProfit = "";
    objListOfLead[0].cpo_atProfit_percent = "";
    (and some more, all empty too)
    objQryOutput = queryLeads(objListOfLead, mySession, false);
    But I've been unable to get what I want. I'm getting allways the same error:
    El campo 'ZBool_10' de la instancia del componente de integraci??n 'Lead' contiene una expresi??n de consulta no v??lida: 'Y'(SBL-EAI-13002)
    Any of you knows how to filter a query based on a checkbox value? Should I use "Y"or "1" or "true" perhaps???....I've tried many times with different expressions but all of them has been unsuccesfull to me...some ideas?
    Thank you very much!
    Noël

    Great Michael! The expression you suggested ='Y'" worked perfectly!
    Thank you VERY MUCH!
    But, why those kind of ¿tricks? are not well documented by Oracle? I've lost a great amount of time (been the first time I work over OnDemand) and that's a thing I really hate...
    My most sincerely thanks Michael!
    Noël

  • Calculations based on the values in the cube

    Hi Guys,
    I need to create a report where I need to calculate a value based on the data available in the cube and not just the data that is the output of the report.
    Is it possible for me to use the data in the table /BIC/<datatarget>00 and perform the calculation using ABAP? If so, how can I display the calculated value on the report and where do I write the code?
    THanks,
    Doniv

    Bhanu,
    But the problem in doing that is, it would still display the age for the corresponding employee in the age column. That should be displayed either.
    All I need is display is the following format
    Department    Averageage
    Dept1           40
    Dept2           50
    Overall         45
    The present format when I set the employee to "No Display" is
    Department    Averageage
    Dept1            40
    ______30
    ______50
    Dept2            50
    ______35
    ______50
    ______65
    overall          45
    *_____ means a blank row
    Thanks,
    Doniv
    Message was edited by: doniv ramuk
    Message was edited by: doniv ramuk

  • How to do percent calculations based on a value

    Hello,
    I'm trying to figure out how to send workflow notifications to only 40% of a selected group..
    For example - We have a survey that is sent out once a user completes our Infopath form - right now the survey goes out to 100% of the users..
    In the future, we would like the survey to ONLY be sent to 1 in 4 users that complete the form - so 40% of all the users that complete will be sent the survey upon completion..
    I know I need to use calculated fields but not sure which formula will work and how to incorporate within our current workflow.
    Any suggestions or how-to's would be appreciated since I'm pretty new to workflows.
    Thanks
    -Andrew

    Hi Andrew,
    You cannot determine 40% of total people who completed the survey randomly.
    If you are using SPD workflow, then this looks tough to do as you have to first find out the total number of Completions (assume 100). (SPDW does not have a way to count the number of items in list. If you can create custom workflow in VS then you can
    use SharePoint API with the list ID and get the count:   myList.Items.Count). Then divide that number by 4 (assume 40). If this is decimal then round it up.  Find the names of top 40 or bottom 40 responses. You cannot randomize 40
    items from the list.
    In my opinion, you need to have fixed algorithm to create workflow out of this. Hope other's can pitch in and provide some inputs.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Conditional Link based on Checkbox value

    I have a report where I have dynamically created a checkbox via HTMLDB_ITEM.CHECKBOX. I also have an edit link on each record.
    The functionality that I need is, if the checkbox is unchecked then the link is active. If the checkbox is checked the link is inactive or when selected gives an alert and doesn't navigate to the edit page.
    How can I do this

    You mean like this? http://apex.oracle.com/pls/otn/f?p=43865:13
    To achieve this I included a javascript function in the page's HTML Header as follows:
    <script language="javascript">
    function editIfChecked(idToCheck) {
    if (document.getElementById('chk' + idToCheck).checked == true)
    {redirect('f?p=&APP_ID.:14:&SESSION.::::P14_EMPNO:'+idToCheck);}
    else
    {alert('Sorry, Chief. You cannot edit this until you check the box.');}
    </script>
    Then change the edit link in your report to link to a URL like: javascript:editIfChecked(#EMPNO#);
    Obviously change #EMPNO# to be the name of whatever unique ID column you're using. You'll need to change the javascript function as well so that it links to the right page in your app (unless it happens to also be page 14) and change the name of the item that is set (unless it happens to be P14_EMPNO).
    Hope that helps,
    Andrew
    Oh and also the argument passed to getElementById will have to be changed to reflect whatever ID you are giving to your checkboxes in your call yo htmldb_item.checkbox. I used this in the example above: htmldb_item.checkbox(1,empno,'id=chk'||empno)

  • Pro Rata calc. based on monthly period of 30 days every period

    PY - NL:
    Hi,
    I want to create a pro rata calculation based on a 30 days calendar. So every month has 30 working days. I know that table T510H offers posibillities combined with operation KDIVP, ADIVP and SDIVP. Can I use the above mentione operations instead of operation TSSOLL or does SAP not support this at all?
    How must I use it and what effect will it have, If a WPBP split accurse on 28th of February or 31th of January ?
    Can anyone help me?
    PS: I know it will also effect the time part of customizing.

    Did u checked the Processing Classs 10  and Specification 1
    for Prorata caluculation
    and also check the Sub rules  XPPF thru PE02  take the hlep of F1
    Prorate will happen automatically if u set the PCL  10  specification 1 
    Check and let us know ur feed back

  • 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

  • Need help with Java Script to perform a calculation in Adobe Acrobat Pro 9 form

    I have a form (test) that I am creating in Adobe Acrobat Pro 9.
    I need help creating custom Java Script so I can get the desired answer.
    1) There are several questions in each group that require a numerical answer between 0-4
    2) There is a total field set up to sum the answers from all above questions
    3) The final "score" takes the answer from Step 2 above and divides by the total possible answer
    Any help on what Java Script I need to complete this would be greatly appreciated!
    I've attached a "spreadsheet" that shows it in more detail as well as what formulas I used in Excel to get the desired end result.
    Thanks in advance.

    Have you tried the "The field is the average of:"?

  • Asset depreciation calculation based on net book value adjustment

    currently I have one asset depreciated based on acquisition value, I want to depreciate using netbook value starting from May,
    thus May and afterwards depreciation should be 61107 USD.
    but accountant forget this and depreciate asset in May with amount 54628. the June planned depreciation is still based on Acquisition value, i.e. 61150.
    So how to adjust June depreciation, if I create a new depreciation key with multi-method based on NBV and change asset master,
    will this solve problem?
    how to adjust May posting since it is already posted? thanks

    Thank you for the reply.
    But The issue here is I changed the depreciation key based on NBV, but planned depreciation still based on acquisition value for the following months. by the way, OAYR is monthly depreciation. I didn't tick the smoothing, I think this will affect whole company code. I only want to change the depreciation key based on NBV for three assets only, the rest of assets still using Acquistion value depreciation.
    I do test in a sand box, now the latest posted depreciation is April, original depreciation key is Z001 (based on Acquisition value),
    I changed the depreciation key to Z002(based on NBV), in AS03, I can see the planned depreciation for May is still 61150(based on Acquisition value). I run AFAB, (test run), the result is same.
    My objective is let May and subsequent months  planned depreciation to be 61107 based on NBV of April.
    Simply change the depreciation key doesn't work at all, anyone have the solution, which other fields in asset master I need to change? or do i need other configuration? thanks

  • Embedded/browser-based PDFs slow to open in Acrobat Pro 9

    I'm trying to load PDFs inside my browser using Acrobat Pro 9 but they take a really long time to open. I've done a repair of Acrobat and rebooted but to no avail. Does anyone know what could be causing this?

    Had the same problem on Windows XP after Installing Patch 9.3.3.
    The problem could be solved by reseting the user settings.
    Rename the following REGKEYS:
    HKEY_CURRENT_USER \ Software \ Adobe \ Acrobat Reader
    HKEY_CURRENT_USER \ Software \ Adobe \ Adobe Acrobat
    to
    HKEY_CURRENT_USER \ Software \ Adobe \ Acrobat Reader_Old
    HKEY_CURRENT_USER \ Software \ Adobe \ Adobe Acrobat_Old
    The keys are created at the next start with the basic settings.

  • Pro-Rata Allowance Calculation based on WSR

    Hi,
    We need to perform an enhancement for a allowance to be calculated based on their WSR. Could any one please advise what would be the best approach to perform this customisation.
    Following are the details:
    A calculation needs to be made based on an employee’s 0007 & 2003 records for a given month to determine what percentage of the planned hours for the month that a person has worked and then apply that percentage to the Monthly Staff Supplementary Allowance applicable for the Work Schedule Grouping.
    Example A – Employee on Work Schedule for the Whole Month Employee has a 0007 infotype record that has them on Work Schedule SC112 for the whole of April 2008. System pays 100% of the allocated payment of $166.67 per month
    Example B – Employee on Work Schedule for part of the Month, Employee has a 0007 infotype record that has them on Work Schedule SC112 for the part of April 2008 as they only started on 14th April 2008. Planned Hours for April for SC112 are 180 hours and this person has worked 108 hours which is 60% (=108/180). System pays 60% of the allocated payment of $166.67 per month which results in a payment of $100.00 for the employee.
    Example C – Employee on Work Schedule for part of the Month Employee has a 2003 infotype record that has them on Work Schedule SC112 for the 14th April 2008. Planned Hours for April for SC112 are 180 hours and this person has worked 12 hours on SC112 which is 6.67% (=12/180). System pays 6.67% of the allocated payment of $166.67 per month which results in a payment of $11.11 for the employee.
    Example D – Employee on 2 eligible Work Schedules for the Month Employee has a 0007 record for Work Schedule SC112 from 01.04.2008 to 14.04.2008 and then for SC412 from 15.04.2008 to 31.12.9999. This person has spent 100% of the month in an eligible Work Schedule grouping System pays 100% of the allocated payment of $166.67 per month which results in a payment of $166.67 for the employee.
    Example E – Employee on 2 eligible Work Schedules for the Month, Employee has a 0007 record for Work Schedule SC112 from 01.04.2008 to 14.04.2008 and then for SC512 from 15.04.2008 to 31.12.9999. This person has spent 100% of the month in eligible Work Schedule groupings The period on SC112 represents 40% of the hours for SC112 for April 2008, 72 of 180 hours. The System calculates 100% of the allocated payment of $166.67 per month which results in a payment of $66.67 for the employee. The period on SC512 represents 50% of the hours for SC5112 for April 2008, 96 of 192 hours. The System calculates 50% of the allocated payment of $0.00 per month which results in a payment of $0.00 for the employee. Overall this employee receives a Staff Supplementary Allowance of $66.67 for April 2008.
    Your help would be really appreciated.
    Regards
    Ranjith Yama

    Hi Guys,
    Could you please advise on this,
    I'm trying to build a rule to get the Actual worked hours so that I can use the SSOLL and constant from T511k table to calculate the alowance.
    I'm pretty new in writing rules, your help would be really appreciated.
    Regards
    Ranjith

  • Create a dynamic dropdown field in Adobe Acrobat Pro XI

    Hello all. I am trying to create a field in one of my forms using Adobe Acrobat Pro XI. I have a dropdown list of "main" items, and based on what is selected in that list, I want a second dropdown list to give different choices. I have searched and searched and have javascript that I thought might work, but maybe I am have a mistake or I am placing the javascript in the wrong place, becasue it is not working. I know very, very little about javascript, so any help would be so much appreciated.
    I am using Adobe Acrobat Pro XI. I added a "new field", and selected "dropdown". The field name is ProvType. The dropdown options are:
         Inpatient
         Outpatient
         Physician
    I have the "Commit selected value immediately" selected.The field is not validated. The format is "none." There are no actions or calculations associated with it.
    I then created another dropbox, and named it SubProvType. Under Actions, I selected the trigger as Mouse Up, and then selected the Action "Run a JavaScript." I selected the add button, and typed this in the JavaScript editor:
    switch (ProvType.rawValue)
        case "Inpatient":
            this.setItems("Hospice,Hospital,Nursing Facility");
            break;
        case "Outpatient":
            this.setItems("Adult Day Center,Home,Other");
            break;    
        case "Physician":
            this.setItems("Surgeon,Family Practice,Neurologist");
            break;    
    What I want to happen is:
    If "Inpatient" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Hospice
         Hospital
         Nursing Facility
    If "Outpatient" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Adult Day Center
         Home
         Other
    If "Physician" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Surgeon
         Family Practice
         Neurologist
    However.... when I close the form editing and try to select a different option in the ProvType field, the SubProvType field remains blank and there are no options available. There are also no errors.
    I must be missing something, but I have no idea where to start. Thank you in advance for any help anyone can provide.

    dbettis2.... Please understand that everything I am about to tell you is ONLY thanks to the help I received from Gilad D. I don't know if this will help you or not, but I want to try and pass it forward.
    If what you are looking to do is have two dropdown fields, and the second one (concentration) be a list determined by what was chosen in the first one (newMajor) then this will work, if you are using Adobe Acrobat Pro.
    Create a dropdown field and name it newMajor. In the "options" tab. Make sure that you enter all of the items that you want in that list AND that they match the javascript (or this will not work.)
    In this case, I believe you want the initial list to be:
    - Select One -
    BA - Communication (BACOMM)
    BA - History (BAHIST)
    BBA - Business Administration (BBA-BADM)
    After you create the dropdown field and enter all of the options, go to the Validate tab, chose "run custom validation script", then copy and paste the following:
    switch (event.value) {
        case "- Select One -":
            this.getField("Concentration").setItems(["-----"]);
            break;
        case "BA - Communication (BACOMM)":
            this.getField("Concentration").setItems(["- Select One -","None","Mass Communication (MCO1)","Theatre (THEA)","Communication Studies (MC02)"]);
            break;
        case "BA - History (BAHIST)":
            this.getField("Concentration").setItems(["- Select One -","None","Teacher Certification (HIS1)"]);
            break;
        case "BBA - Business Administration (BBA-BADM)":
            this.getField("Concentration").setItems(["- Select One -","None","Supply Chain Management (SCM)","Hospitality Management (HSMG)"]);
            break;
    Then create a second dropdown field, and name it Concentration. Nothing further needs to be done with the second dropdown field (as far as entering options or any javascript.)
    It should work. I have created a form using this code and field structure, and it is working. I hope this helps you, if in fact this is what you were trying to do. (I do not know how to attach a file to this post or I would send you the PDF that I made so you could see the fields. If you message me, I can send it to you.)

  • How do I build a field based on Checkboxes?

    I am VERY new to Javascript...but I think I can do what I want, just not sure of the syntax...
    I have a very large form with lots of checkboxes.
    I want to build (fill) some text responses based on those checkboxes.
    Assuming I have checkboxes 1 -3  (checkbox.1 - checkbox.3)
    In each checkbox the export value is a something like "This is the text associated with checkbox  #1"
    On the last page there is a text Box called "Summary" (summary.1)
    On my LAST page, I want to have a button with a MOUSE-UP script that takes the Export values in checkboxes 1 -3 and puts them into the Textfield "summary"
    This SHOULD be easy right?
    Eventually, if everything else works, I want to build a for-next loop that will cycle through LOTS of checkboxes and build a multi-line Summary, and maybe even Sort it -BUT- only do that when the "build" button is pressed, otherwise the form would always be thrashing....
    This assumes that a non-checked box exportvalue = NUL

    Ok, I wanted to invoke a interactive debug session so I could type in javascript and see what it returned...
    I figured I could fill in the form and have the debugger open next to it.... and qwery the form interactively by typing in commands as if they were script actions
    Uhm...where is that... I tried in both Acrobat Pro-XI and reader to invode a debug session.  Reader doesn't have one and Pro just showed me the console but nothing happned when I typed something into the console.  I expected an error message or something.

  • Using JavaScript to auto populate a field based on numeric value of a separate drop down field

    Hello, I am trying to set up a simple, I hope, javascript which will enable to me auto populate one field based on the numberic value of another field using Acrobat Pro XI.
    Essentially I have 2 drop down fields (we'll call them DD1 and DD2).
    DD1 is the sum of 8 preceding drop down values. That sum can be anywhere from 0 - 40. Whatever that sum falls within a range which identifies a rating. The ratings and ranges are below:
    0-8: Non-Performer  
    9-16: Low Performer  
    17-24: Performer  
    25-32: High Performer  
    33-40: Exceptional Performer
    DD2 is where the rating ("non-performer", "low performer", etc.) will be captured. Instead of requiring the user to look at DD1, determine the value, and then identify and input the rating manually, I would like DD2 to auto populate the rating based on the value (sum) in DD1.
    For example, if DD1 shows a value of 27 then DD2 would auto populate "High Performer". So how do I write this code or execute this? In excel I would use an if, then statement. Is there something similar in Acrobat Pro XI.
    Any help is greatly appreciated. Thank you in advance.

    If you use a text field, the custom calculation script could be:
    // Custom calculation script for text field
    (function () {
        var s = getField("DD1").valueAsString;
        // Blank this field if input is blank
        if (!s) {
            event.value = "";
            return;
        // Convert string to number
        var v = +s;
        // Set this field's value based on the input
        if (v <= 40 && v >= 33) {
            event.value = "Exceptional Performer";
            return;
        if (v < 33 && v >= 25) {
            event.value = "High Performer";
            return;
        if (v < 25 && v >= 17) {
            event.value = "Performer";
            return;
        if (v < 17 && v >= 9) {
            event.value = "Low Performer";
            return;
        if (v < 9 && v >= 0) {
            event.value = "Non-Performer";
            return;
        // If none of the above fit, blank this field
        event.value = "";

  • Acrobat Pro 6 Average Daily Production and Math.round problem

    Acrobat Pro 6 Average Daily Production and Math.round problem
    (Production.0) (154) (whole units) . (Production.1) (90) (fractional) / (divided by) 31 (days) results in (Average.0) (4)(whole units) . (Average.1) (10) (fractional) using :Math.round.� Noticed that 154 (whole units) . 85 through 99 (fractional) also show 4.10. (without Math.round : 5.00)
    Method:
    �Production.0� (whole units) . �Production .1� (fractional) / Days = (Average Daily Production) (�Average.0� (whole units) . (Average.1) (fractional)
    � Production.0 (value not calculated)�, � Production 1 (calculated) (event.value = util.printx("0099", (event.value)).substr(-2,2); � �Average.0 (value not calculate)�, and �Average.1 has following calculation:
    var punits = this.getField("Production.0");
    var pfrac = this.getField("Production.1");
    var average = 0.0;
    average = (punits.value + pfrac.value / 100) / this.getField("Days").value;
    this.getField("Average.0").value = average - average % 1;
    this.getField("Average.1").value = util.printx("0099", Math.round((average % 1 * 100))).substr(-2,2);
    �Math.round� appears to be a problem. Also, could you explain the purpose of �0099� . Anyway, why would 154.85 through 154.90 divided by 31 give 4,10. Also, their must be a better way, to find the average daily production. All you have to do is divided the production (whole. fractional) by the days, and display the average daily production as (whole. fractional). Any suggestions??

    There are a many loose ends in your question.
    First, I have never seen before a variable type called 'var'. Is it a java primitive or a class?
    Next, I cannot seem to find any class that has the printx method.
    When it comes to substr(-2,2), I get confused. First, I thought that it was a method of the String class, but I only got as far as substring(beginIndex, endIndex).
    If you really must break the production and average into pieces, try this:
    float average = (punits + pfrac/100) / days;
    int avg_units = (int)average;
    int avg_frac = (int)( (average - avg_units) * 100 );My guess is that util.printx("0099", x) formats x having two optional digits and two mandatory digits, showing 0-99 as 00-99, but allows to show numbers with three and four digits.
    154.85/31 = 4,9951612903225806451612903225806
    154.99/31= 4,9996774193548387096774193548387
    If you round the fraction of theese numbers multiplied by 100 ( = 99.51.. and 99.968...) you get 100, and this will be the output of printx. My guess for "4.10" is that substr(-2,2) returns the two first characters of the string, because the start index should not be zero. (According to java docs, substring throws an exception on a negative index, so what kind of class are you really using ??????)

Maybe you are looking for

  • Error while posting asset aquisition

    Hi to All, I am getting following error while posting aquisition entry. "Company code 211 manages parallel currencies in Asset Accounting. For each area that posts automatically online to FI, you have to define one dependent depreciation area that ad

  • Oracle 10gR2 installation problem on Solaris (sparc-64 bit)

    Hi All, I am unable to install Oracle 10gR2 on Solaris, I cannot understand what is wrong could u anybody help me that, Regards Harpreet Singh

  • Seeburger EDI to IDoc

    Hi, The actual payload is not getting generated in the EDI to IDoc scenario. The acknowledgment is getting generated. What could be the possible error?

  • Connecting alarm server to Access DB

    Hi there. I'm developing a very basic alarm system consisting of a client part and server part. The user running the client on their computer should be able to send to the server a message asking to be reminded when the time comes for a certain event

  • My Samsung Gusto won't work.

    My Samsung Gusto won't work.  It has been vibrating for a hour now.  No matter what buttons I push, nothing else happens.  It is unusable.