Formula not working in Adobe FormsCentral

I have a formula which I have embeded into my PDF Form using Adobe Acrobat. All is fine and dandy in Acrobat, but the formula does not work when it is imported and converted for FormsCentral, I have to manually calculate the formula into the field which completely throws a wrench into the automation process that I am trying to create. My job is to issue Certificates of Completion, the form I have created has fields where I can submit the name, address, and use a formula to calculate the overall GPA to see if the person qualifies.
FormsCentral gives you the ability to export your collected responses into a spreadsheet for Excel. By submitting the address along with the name and qualifications, I am able to use this data to create and automate shipping labels for all qualified students using Excel and Word in an instant. Having to manually calculate this data can result in human error, such instances can occur if you're processing over a hundred certificates per quarter.
My initial impress that I got from upgrading to the premium version of FormsCentral was that I would be able to collect the same data that I have setup in my PDF form using Acrobat, but that doesn't seem to be the case.
Formulas are by far the most important feature to have in my opinion as they are used for automating a workflow and eliminating human error.

OK, here's a custom calculation script you can use in the text field after you remove the export values from the dropdowns:
// Custom calculation script for text field
(function () {
    // Object to associate a letter grade to a numeric value
    var oGrades = {
        "A+": 4, "A": 4, "A-": 3.7,
        "B+": 3.3, "B": 3, "B-": 2.7,
        "C+": 2.3, "C": 2, "C-": 1.7,
        "D+": 1.3, "D": 1, "D-": 0.7,
        "F": 0
    // Get the field values from the dropdowns
    var v1 = getField("Crim_I_Grade").value;
    var v2 = getField("Crim_II_Grade").value;
    var v3 = getField("Sight_C_Grade").value;
    // Get the corresponding numeric values from the Grades object
    // Default to 0 if the letter grade isn't found in the object
    var v1a = oGrades[v1] || 0;
    var v2a = oGrades[v2] || 0;
    var v3a = oGrades[v3] || 0;
    // Calcualte and set this field's value, rounded to two decimals
    event.value = util.printf("%.2f", (v1a + v2a + v3a) / 3);
This isn't necessarily the most efficient code, but I wanted to make it easy to follow. It rounds the result to two decimal places. Let me know if you have any questions about it.

Similar Messages

  • Thumbnail preview works in adobe reader 9 but does not work in adobe 8.0

    I have small issue. Thumbnail works in adobe reader 9 but but does not work in adobe acrobat 8.0 in win xp

    Anyone going to tell me how to do this uninstalling and installing??????????
    I don't want to mess things up even more! Geez--I'm almost 60 years old,
    need to work and this might be costing me a job. I'm not 20 and text and
    e-mail etc every day. I'm just asking for a little help that as I see it ,
    is due to a "glitch" with Adobe's software. They can easily in their
    technological minds put a warning on anything before someone downloads
    anything such as "If you download this and you  have already downloaded
    that,, then it won't work." How tough would that be??? They, like most other
    major corporations, are in it for the money. What has happened to customer
    service???
    I need a step by step with my hand held and so it won't screw up things even
    MORE. Adobe...get your customer service and your software together...This is
    draining. I may lose a job over it. I need to have my computer running well
    at this point in time as there is no extra time to spend dealing with
    software issue that are a result of Adobe's software incompatibility.
    I was on the phone for TWO hours last night telling people exactly what was
    going on. I even read the error message word for word. No one would help me
    unless I coughed up the money that I don't have...and in addition I will
    lose a job that might get me some money. This is why I am so upset. Why is
    dealing with Adobe always so difficult??? Of course, I am upset. I'm
    actually a lovely person. It is just that this stuff rattles my nerves.
    Especially when there is a jobwith a raiseinvolved that I may lose as a
    result.
    Now I had better get dressed and ready for the job I have now before I am
    late for work and lose that job, too.....

  • Webcam not working with adobe air

    hey frnds,
    i'm trying to capture webcam snaps and storing it on local desktop.
    Below code of capuring snap is working with flex but same code not working in adobe air.
    I'm using Adobe Flash builder beta 2
    is any setting is required to use webcam with adobe air?
    i'm using following code
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/halo" creationComplete="init();">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.core.UIComponent;
                import flash.media.Camera;
                import flash.media.Video;
                private function videoDisplay_creationComplete() : void
                    var camera:Camera = Camera.getCamera();
                    if (camera)
                        videoDisplay.attachCamera(camera);                   
                    else
                        Alert.show("Oops, we can't find your camera.");
                private function capture_click() : void
                    var snap:BitmapData = new BitmapData(320, 240, true);
                    var snapBmp:Bitmap = new Bitmap(snap);
                    snapBmp.width = 320;
                    snapBmp.height = 240;
                    if(snapshotHolder.numChildren > 0)
                        snapshotHolder.removeChildAt(0);
                    snapshotHolder.addChild(snapBmp);               
                    snap.draw(videoDisplay);               
        ]]>
        </fx:Script>
        <mx:HBox>
            <s:Panel title="Video">
                <mx:VideoDisplay id="videoDisplay" creationComplete="videoDisplay_creationComplete();" width="320" height="240" />       
            </s:Panel>
            <s:Panel title="Snapshot">
                <mx:UIComponent id="snapshotHolder" width="320" height="240" />
            </s:Panel>       
        </mx:HBox>
        <mx:HBox>
            <mx:Button label="reload camera" click="videoDisplay_creationComplete();"/>
            <mx:Button label="capture" click="capture_click();"/>  
        </mx:HBox>
    </s:WindowedApplication>
    Camera is connected but cannot see anything inair,
    plz guide me in this.
    thx in advanced,

    I seem to have the same problem. When creating an web application it works fine, but when creating a desktop application it doesn't. I can't figure out what the problem is.
    Does anyone know?

  • Event.hits property does not work at Adobe 9

    I have just discovered that the property "event.hits" does not work at Adobe Reader 9 properly.
    I have some JavaScript, which uses this property:
    if (event.hits.length > 0)
    var targetPos = event.hits[0].position;
    Now, at Adobe Reader 9 the value of "event.hits[0].position" is not correct.
    At Adobe 8 Standard this JavaScript works very well!
    Can you comment this issue?

    Hello to everyone!
    There is a some PDF file, which works fine on Adobe 8 and does not work properly on Adobe 9.
    You can download this file from the following hyper-link:
    http://www.pdf3d.co.uk/pdf/box97.pdf
    When I open this file on Adobe 8 then gold arrow works fine.
    In this case the gold arrow (pointer) has a true location on the box.
    When I open this file on Adobe 9 then gold arrow has a false location.
    In this case the gold arrow (pointer) has a false location on the box.
    Could somebody can to me a some suggestion?
    Thank you,
    Peter

  • PDF Printer not working in Adobe XI

    The PDF Printer option is not working in Adobe XI.    We are using Windows 8.    When I open the printer box and select Adobe PDF, I get an error message stating "The server threw an exception."        The "Save as PDF" and "Convert to PDF" options work but those options are not always available.  

    A server exception would suggest you are using Acrobat in the cloud. I don't have an answer in that case other than trying later. Is the Adobe PDF printer indeed installed on your machine or in the cloud?

  • When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator)

    Mac OS X 10.6.7
    CS 5.5
    When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator). This happens only when Firefox is open and when I close it the zoom functions work fine again without having to restart the applications.
    This is intermittent but happens quite frequently each day if Firefox is active.

    MDN doesn't mention -chrome being used for ordinary web pages: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Chrome
    When I use
    firefox.exe -chrome about:permissions
    I get a usable window, but zoom doesn't work as you noted.
    How about using an intermediate page and window.open() for the target page? You can (mostly) restrict the chrome of windows opened that way, but it will leave behind the intermediate window...
    https://developer.mozilla.org/docs/Web/API/Window.open

  • Formulas not working in Reader

    I have a simple formula that I've created in Acrobat that adds a user's input in 3 cells and displays the result in yet a 4th cell. The formula is not working once I open the pdf in Reader. I've used "Extend Features in Adobe Reader" but that doesn't seem to make the formulas function in Reader. Any suggestions?

    Is JavaScript and/or automatic calculations enabled for Reader? If so, can you post the document online somewhere (e.g., Acrobat.com) so we can check it out? If not, I'd be interested in looking at it if you're free to send it by email. My address is in my profile.

  • Download link not working in Adobe AIR app.

    I wanted to let users browse my site as a desktop application,
    but didn't have the time to write an application from scratch. SO tried following trick. Created a simple Adobe AIR application with a single page. This page redirects to my website and hence loads the website in the AIR window.
    Everything is working fine except that the download links are not working. The download doesn't start. Nothing happens. What is the solution here? Any help is appreciated.

    I am now facing the same problem. I wrote a servlet .
    code like this
             response = (HttpServletResponse) faces.getExternalContext().getResponse();
             response.setContentType("application/x-download");
             String agent = request.getHeader("USER-AGENT");
             boolean isIE=false;            
            if (null != agent && agent.indexOf("MSIE")!=-1) { 
                isIE=true;
            if (isIE) {
                fileName = URLEncoder.encode(fileName, "UTF-8");
            } else {
                fileName = new String(fileName.getBytes("utf-8"), "ISO-8859-1");
            response.setHeader("Content-Disposition","attachment;filename="+fileName);
            ServletOutputStream os = response.getOutputStream();
            byte b[]=new byte[1024];
            int n;
            while((n=in.read(b))!=-1){
                os.write(b,0,n);
           in.close();
           os.close();
    and i open a new window refer to above jsp ,also i set a breakPoint at os.close(),the program has passed through,but nothing happened in the window.
    If i use IE or FF ,the browser will open a small window to allow me select whether open or  save the file.So can anybody give me some advice.Is it because air using webkit engine and the engine does not do this kind of job?
            Thanks.

  • CS4 suite serial number does not work for Adobe Acrobat Pro

    Hello,
    I am looking for a solution for the serial number issue I am having with Adobe Acrobat Pro. All of other programs within the suite open fine, but when I open Adobe Acrobat Pro it asks for a serial number. When I type in the serial number, I am given a red "X".
    I have called customer support, but they haven't been able to give me any information that will resolve my issue (uninstalled 4 times now). I have Vista and have looked online and on the Adobe website to find a solution. It looks like others are having the same issue from what I can tell while searching. I have run the script too and then reinstalled, but still nothing.

    After some stupid upgrade in my computer (who knows as Microsoft is always doing something), my Acrobat 9 in CS4 stopped working. The error message said to uninstall and reinstall Acrobat. So I went through the control panel and uninstalled it. I then loaded the CD and reinstalled. However the reinstall would NOT accept the orginal serial number. I called Adobe and they gave me a different serial number. Before I let the guy nof the line I tried the  number and it did NOT work! So then he gave me another number which  asked for the previous verison- apparently it was an upgrade number. Luckily I had my old CS3 software and I gave it that number and then it accepted the install. The program now works BUT there is no longer any ADD/REMOVE choice in the CS4 suite in the control panel. There is no way to automatically remove this program anymore! What a mess.
    After reading some of the installation problems others have had and no solutions, I count myself lucky! At least I was able to get the program running.
    Therefore my advise on the serial number problem is to get Adobe on the phonen and get them to give you a number that will work, and don't hang up until you know the program is working!
    If anyone knows how to add the Acrobat to the the add/remove functions in the control panel, please let me know!

  • Formula not working in report

    In one of the report, there is a formula added as
    v_Hide:= If [v_ResourceSum]=0 And v_CTier="Not Alighned" and IsNull([v_LatestAnalystCycle]) then "Hide" Else "".
    Then this filter is added on the report to exclude when v_Hide="Hide"
    This formula is not working.
    Using BO 4.0

    Hi Pritesh,
    once the field V_HIDE got populated.
    Modify the internal table with the field value.
    You can use the below statement to filter the contents of the internal table.
    Delete <internal_table> where v_hide IS NOT INITIAL.
    Thanks,
    TK Agarwal

  • Please Help! Drag and drop does not work in Adobe AIR 3.1 (FlashBuilder 4.6)

    I am working on a PC is made of air and flashbuilder 4.6.
    Drag and drop application does not work in Flash Builder 4.6.
    However, the same source will work with Flash Builder 4.5.
    Please help me.
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                  xmlns:s="library://ns.adobe.com/flex/spark"
                                  xmlns:mx="library://ns.adobe.com/flex/mx"
                                  backgroundColor="#323232" width="100%" height="100%"
                                  initialize="init(event)"
                                  nativeDragEnter="onDragEnter(event)"
                                  nativeDragDrop="onDragDrop(event)">
              <fx:Script>
              <![CDATA[
                        import mx.events.FlexEvent;
                        protected function init(event:FlexEvent):void
                                  addEventListener(NativeDragEvent.NATIVE_DRAG_ENTER, onDragEnter);
                                  addEventListener(NativeDragEvent.NATIVE_DRAG_DROP, onDragDrop);
                        private function onDragEnter(event:NativeDragEvent):void
                                  if (event.clipboard.hasFormat(ClipboardFormats.FILE_LIST_FORMAT))
                                            NativeDragManager.acceptDragDrop(this);
                        private function onDragDrop(event:NativeDragEvent):void
                                  var arr:Array;
                                  arr = Array(event.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT));
                                  startImage.source = (arr[0] as File).url;
                ]]>
              </fx:Script>
              <s:layout>
                        <s:VerticalLayout/>
              </s:layout>
              <s:BorderContainer id="bc" borderStyle="solid" width="200" height="80%"/>
              <s:Image id="startImage" width="100%" height="100%"
                                             horizontalAlign="center" verticalAlign="middle"/>
      </s:WindowedApplication>

    Thank you answers, but it was not the answer I wanted.
    [Problem]
    * Flash Builder 4.5.1(updater) or Flash Builder 4.6
    - If you have installed on pc, does not work adobe air drag and drop
    [Solution]
    1. Reinstalling the Windows 7 (32bit).
    2. Install Flash Builder 4.5.
    3. Flash Builder 4.5.1 updater and Flash Builder 4.6 does not install.
       (Instead of using Flex SDK 4.6 is set up)
    In addition, Windows7 64bit environment does not work drag and drop.
    Is there another solution?

  • Save As function not working in Adobe 11

    When I do a Save As on a PDF file Adobe Reader seems to save the file normally. However once I browse to that location there is no PDF file. I'm working with PDF files that are on the local hard drive. I'm using Adobe 11 on Windows 7 64bit. I'm not seeing any error messages.

    Hi,
    Yes, typing a new name works. But, not selecting first an old name and then
    retyping to a new name. That will not work.
    Greetings,

  • Adobe thumbnail preview does not work in adobe acrobat 8.0

    Hi ,
    I have user login using his profile and suddenly his not able to view thumbnail preview of PDF file using navigation panel but the thumbnail preview
    work in administrator profile.
    Si, I guess some settings blocking in user profile to view thumbnail preview.
    I have checked the settings that I know but it still does not work.
    Please advise.
    It is adobe acrobat 8.0 professional using win XP SP3

    Thanks for answering my queries.
    Could you please let get me the following details as well:
    1. The version of Adobe Reader installed on your system.
    2. The default PDF viewing application on your system. You can find the same by double clicking on a PDF on your system and see which application is used to render the PDF.
    3. The value of the following registries:
    HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe
    HKEY_CLASSES_ROOT\AcroExch.Document.7\shell\Open\command
    HKEY_CLASSES_ROOT\AcroExch.Document.7\shell\Read\command
    Ankit

  • Tool Button Not Working in Adobe Reader 9

    Hello,
    I have a custom tool button - folder level script (with a trusted function) to digitally sign a drawing template.
    The tool button works in Reader 8 and Reader X, but is not working in Reader 9.
    The error message is shown "Not Allowed Error: Security settings prevent access to this property or method".
    Can any one please advise why this would not work in Reader 9 when the tool buttons work in other versions of Adobe Reader?
    Thank you.

    Adobe changes JS with every major release, check the Acrobat JS API Reference to see what has changed with regard to your code.
    Without seeing your code, there is no way tell what is going on. Also check the preferences to see if there is an option that needs to be checked to allow your script to work.
    Since Reader X works and it is free, why not upgrade?

  • Adobe lifecycle pdf is not working in adobe reader

    Hi Team
    I have designed one form in Adobe lifecycle designer. In that form i have button to export pdf to xml.it is working in adobe lifecycle pdf preview screen,but if you open in adobe reader export functionality is not working.How the end user will export pdf to xml. Please kindly suggest me any method to same export functionality in pdf adobe reader for end user. Thanks in advance.

    Moved to LiveCycle Designer

Maybe you are looking for