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 /

Similar Messages

  • PDFs display correctly in Acrobat Pro, but not in Reader?

    I receive files from printers for UV coating their jobs at our facility. On rare occasions the PDFs I receive display one way in Reader, and another way in Acrobat. Text that is missing--or showing up as faint outlines in Reader--displays correctly in Acrobat Pro. Then, when I go to RIP the file (and it is a PDF workflow), the text is missing there as well. We end up having to pay a service bureau to output a film positive, so it's a bit frustrating. I suspect it has something to do with transparency. I would appreciate any ideas from veteran prepress folks out there.

    Change your preferences Edit > Preferences > Page Display  Use Overprint Preview to Always.
    These sound like Spot UV plates/colors and would be designed with Overprinting
    Are you also looking at the Seperations/Output Preview?  (Advanced > Print Production > Output Preview   Simulate Overprint can also be toggled there.)

  • Thumb drive works on MacBook Pro but not on Mac desk top

    I have bought two separate thumb drives that are MAC/PC compatible.  They will work on my MacBook Pro but not my desk top Mac.  Both are less than a year old.  Desk top will read older thumb drives w/o problems, but not the new ones.

      Model Name:          iMac
      Model Identifier:          iMac11,3
      Processor Name:          Intel Core i5
      Processor Speed:          2.8 GHz
      Number Of Processors:          1
      Total Number Of Cores:          4
      L2 Cache (per core):          256 KB
      L3 Cache:          8 MB
      Memory:          4 GB
      Processor Interconnect Speed:          4.8 GT/s
      Boot ROM Version:          IM112.0057.B00
      SMC Version (system):          1.59f2
      Serial Number (system):          QP05*****NR
      Hardware UUID:          282E0143-F041-56A4-8A82-C*****A59
    Is there anything else you need to trouble shoot this?
    Melissa
    <Edited by Host>

  • Canon printer WORKS in MacBook Pro but NOT in Chrome/ iPhone 6 after iOS 8 update

    Canon printer WORKS in MacBook Pro but now NOT in Chrome/ iPhone 6 after iOS 8 update. The printer worked previously with NO PROBLEMS. The printer is online & connected to the WiFi, not issues.
    WHY???!!!???

    You probably would get better answers in either the iPhone or iOS forums. This is for Macbooks. I've asked the hosts to move it.

  • Apple ID works on macbook pro but not on ipad after upgrade to IOS7

    My Apple log in ID works on my computer but not on my ipad anymore, now that I have installed ios7. Any suggestion?
    Armelle

    Could you be more specific about "it doesn't work?" Where exactly are you seeing the problem and what exactly is happening?

  • .osx file extension works on MacBook Pro but not Mac Pro

    So I have a file that was created, I believe in Macromedia Flash (not certain) but it has a .osx extension on it. It works just fine on my MacBook Pro, but won't work on a Mac Pro. Both have Leopard, both have most of the same software on them... Can anybody offer any help?

    jaypie77,
    First, you must identify the application that created the file. If it truly was Macromedia Flash, fine. Once you know which app created the file, make certain that the same application exists on the Mac Pro. If it does, set the file to open in that application: Open a Getinfo window for the file, then use the "Open With..." dialogue to choose Macromedia Flash (or the correct application) to open the file.
    Scott

  • MagSafe Adaptor works on MacBook Pro but not MacBook

    I have a MagSafe 60 Watt adaptor that will not work on any of our 1 year old Black MacBooks but will work on my MacBook Pro 17" and my other workers 15" MacBook Pro. Has anybody ever had this happen? I have tried it on at least 8 MacBooks and no go. Thanks, Billy

    Have discovered that the MagSafe adaptor also works on a white, but will not work on a Black MacBook. Apple replaced it but it still puzzles me.

  • USB Card reader works on MacBook Pro but not Mac Pro

    I have a random "All-in-1" card reader from Quantaray. I'm trying to mount my CF card because it takes forever and a day to import HD video directly from my Canon 5D Mk II.
    It works on my MacBook Pro (Mid 2010). Both computers are running 10.6.8. All I have to do is plug it in and it appears on the desktop on my Macbook. But not on my Mac Pro.
    I've already tried resetting the PRAM and SMC. No dice
    It shows up in the System Profiler under the USB High Speed port as a usb card reader but I can't find it anywhere; not even in Disk Utility.
    Any ideas?
    Thanks

    jaypie77,
    First, you must identify the application that created the file. If it truly was Macromedia Flash, fine. Once you know which app created the file, make certain that the same application exists on the Mac Pro. If it does, set the file to open in that application: Open a Getinfo window for the file, then use the "Open With..." dialogue to choose Macromedia Flash (or the correct application) to open the file.
    Scott

  • Garagekey USB keyboard works with MacBook Pro, but not with 27"  iMac

    Just got a brandnew 27" iMac. The Garagekey USB keyboard doesn't work. It's recognized in systemProfiler, Audio-Midi Setup, GarageBand and Logic. But no Midi is coming in. When I plug it into my MacBook Pro, it works immediately. I know the Garagekey doesn't work with some 3rd party USB hubs, maybe for lack of enough power, but it works always at the internal USB hubs with the MacBook Pro. Why doesn't it with the 27" iMac? I'm cueless...
    The IMac Systemprofiler says: Current Available (mA) 500, Current Required (mA) 300. So I guess, it can't be a power problem?

    Have the same problem with Logic Pro. Works on my old Mac Mini but not on the new iMac 27" i5. Apple told me that it is a difference between the boards they used on the two computers. They said that even if I got a new mac mini I would run into the same problem. they recommended that I upgrade my mini, or try another piece of hardware to connect the two. Looking for hardware now. Good luck to you.

  • Wireless works on MacBook Pro but not iBook

    Hi, all:
    I have wireless set up in my home via a Negear router, and all is well when I connect with my MacBook Pro. I have a family member staying with me who has an older iBook running OS 10.3.9 with a wireless card installed, and her wireless connection works fine everywhere else but my house. I have a password to access my wireless connection here at home, but she keeps getting the error message "That is the wrong password" when I know it is the correct one.
    Any ideas? Thanks in advance for any help!!
    ~Chris

    Yes, thank you!
    First, here is the link for the Reference and Setup manuals for this router.
    Second, to disable wireless security, select the "None" option. (ref: pg. 3-6 of the Reference Manual)
    To re-enable wireless security, select the "WPA-PSK (TKIP) + WPA2-PSK (AES)" option.

  • Airport express working for macbook pro but not iphone 5s. Airport utility on the phone shows a blinking orange light. AU on the macbook shows green light.  The airport express shows green light itself.  Anyone know what's going on?

    Airport express working for macbook but not iphone.

    Hello ccoffey1,
    After reviewing your post, I have located an article that can help with Wi-Fi networks. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
    iOS: Troubleshooting Wi-Fi networks and connections - Apple Support
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Simple JS works in Acrobat 7, but not 8 - why?

    I have a simple form with 2 fields: "myname" and "phone". "myname" is a drop down list populated with 3 names. I want to be able to populate the "phone" field with a phone number corresponding to the "myname" field automatically.
    I have the following JS attached to the calculate event of the myname field. This works perfect in Acrobat 7.0.9, but does not work at all in Acrobat 8.0 professional or Adobe Reader 8. Does anyone know why?
    switch (myname.rawValue){
    case "Beth Voigt" :
    phone.rawValue = "431-3833";
    break;
    case "Bobbie Hartfiel" :
    phone.rawValue = "431-2019";
    break;
    case "Dave Brown" :
    phone.rawValue = "431-2448";
    break;
    default : phone.rawValue = "";
    event.newText = myname.rawValue;

    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 /

  • Javascript works fine in console but not in button

    Hi experts
    the below save as script works fine while i manually enter in the console and press enter, While I created a button and set action to Run A Javascript its not working
    var full_path = this.path;
    var this_name = this.documentFileName;
    var file_path = full_path.split(this_name)[0];
    var new_file = file_path + 'new.pdf';
    app.alert(new_file);
    this.saveAs(new_file);
    Can you please suggest in this?
    thank you in advance
    regards
    arul

    For a good tutorial on this subject, see: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • JavaScript working on local server but not remotely

    Hi,
    I'm using JavaScript for a gallery widget on our site.
    This works perfectly when testing locally, but when I upload it to our server the images are all there but the animation no longer works, When you click on a thumbnail, the slide image is just opened in a new window as a static image - the images should expand and then you should be able to navigate through each one.
    I've checked all the links to the JS folder and everything seems to be okay.
    Can anyone offer any advice or suggestions on what to look for?
    Thanks!

    Your three javascript files are not found at the location you have in the code -
    <script src="js/clearbox/config/default/cb_config.js" type="text/javascript">
    <script src="js/clearbox/language/en/cb_language.js" type="text/javascript">
    <script src="js/clearbox/core/cb_core.js" type="text/javascript">
    In addition, the clear box CSS is not found, either.
    <link href="js/clearbox/config/default/cb_style.css" type="text/css" rel="stylesheet">
    Did you upload them?
    In addition, I'm still seeing validation errors on the page -
    [Invalid] Markup Validation of http://www.underhillandsharp.com/test/gallery.php - W3C Markup Validator

  • Thunderbolt Display works with MacBook Pro but not iMac. Huh?

    I have a Thunderbolt Display, which I normally keep connected as an "extended desktop" to my MacBook Pro -- no problem.
    Starting today, I'm using a borrowed iMac and I had hoped to switch my Thunderbolt Display over and do the same arrangement: "extended desktop." However, the display does not come on when I power up the iMac, and clicking the "detect displays" button in the Displays Preferences window does not help.
    This iMac was previously set up with an a different Thunderbolt Display in its original home, and seemed to work fine. I saw it with my own eyes. My own Thunderbolt Display still works fine when connected to my MacBookPro. It's only the combination of my monitor to the borrowed iMac that doesn't work.
    Both the MacBook Pro and the iMac are running OS X Version 10.7.3. The MacBook has an AMD Radeon HD 6770M card, and the iMac is using an ATI Radeon HD 5750.
    Ideas?

    Both the mini-displayport plugs and TB plugs are physically compatible which is why you can plug it in.   But if the iMac has a mini-displayport for video it won't work with the TB display.
    Check your System Profile to see if it tells you whether you have a TB port.  And if there is no information about that post here or look up for yourself the kind of ports for that model of iMac.  System Profiler will give yo that information (click Hardware on the left).  From the model information it can be definitively determined whether that imac supports TB.
    Also, so long as the Displays system preferences is not showing an Arrangement tab then it is not detecting the second display.

Maybe you are looking for

  • CS6 Error: "Could not complete your request because of a program error."

    I get the error "Could not complete your request because of a program error." anytime I try to open a .psd file someone has sent me. This error is occuring in CS6. Anything I can do?

  • My report is printing half of the page when I print the report Hp psc 1315

    My report is printing half of the page when I print the report in this printer Hp psc 1315 all in-one and when the operating system is windows xp , but when I run the same report in windows me , and the same printer it is running well And my report v

  • Is there a danger using Flash Player?

    I head rumours about Adobe Flash. Does this include Adobe Flash Player for the Mac?

  • Images and Flash Catalyst.

    I have an incredibly complex and image heavy website that I am building and I want to use Catalyst to build it.  If I do the dozens of images that are involved in this build make the file size of the SWF way too big and the download would literally t

  • Strange Error: PLS-00123:program too large

    Hi, I was wondering whether, when using Oracle Application Database configuration tool, anyone has seen the following: error occured during batching: ORA- 06550: live 11024, column 1: PLS-00123:program too large. This occured when trying to create a