Updated Acrobat and now Javascript calculations not working in new forms.

I had created forms for my work that allowed me to calculate back dates from a given date to instruct the form users when components of a project were due. Below is the script I used- I am NOT a programmer and this was taken from another forum. It has worked successfully for 2 years in both Acrobat 9 & 10 and in various forms I have made.
var strStart = this.getField("0VendorArtApproved-2wk").value;
if(strStart.length)
  var dateStart = util.scand("mmm d, yyyy",strStart);
  var oneDay = 24 * 60 * 60 * 1000;
  var dueMillis = dateStart.getTime() - 21 * oneDay;
  var dueDate = new Date(dueMillis);
  event.value = util.printd("mmm d, yyyy",dueDate);
else
  event.value = "NA";
"0VendorArtApproved-2wk" is the field the previous date was taken from- this and the amount of days "- 21" changes from field to field. This form has 3 levels that it calulates dates from- which starts with a single initial date entered into a text box by the user. This allowed the user to see when different elements of a project were due. Sorry if this seems basic to all the Javascript masters but I am really very clueless on prgramming speak and only know what I have read from forums.
The last version of the form that worked successfully was in Oct 13', I went to create a new form and copied these formula boxes to a new form and now half of them do no work.
I have rechecked my formulas and formatting and cannot find and issue. They are exactly the same. One works and one does not. The only thing I can see different from the 2 forms is that I am certain there were 1 or 2 updates to the Acrobat software itself that could possibly have caused an issue.
So I have 2 documents- 1 created in October 13' that works and one created today Jan 14' that does not work. They have the same formulas.
Anyone aware of changes to Acrobat or errors in my formula that could have caused this? I am in version 10.1.9

Applied this fix. There was an error in the NEW document. I redid the formulas in the NEW document and that did not work. Still had the same problem. 
SO I went back and redid the formulas in the fields in the OLD document to the revision I needed and that worked. All I was trying to do was tweak the number of days between one element and the next in this area and there were a bunch of other revisions to the form so I figured it was easier to start fresh.  I will just make all the revisions to the OLD document- which will be a lot of work, but at least my formulas are working. Not an ideal fix but something must have been glitchy in the new document and I now have a workable form.
I believe some kind of odd interaction happened when I copy and pasted the fields from document to another.
Thank you so much for your help! I am days away from maternity leave so I had to get this figured out fast!

Similar Messages

  • I have updated ITunes and now it does not work

    I have updated ITunes and now it does not work. It worked before the update was installed, now it doesn't. I cannot un install it either...

    Use this application to uninstall iTunes and all related components
    http://support.microsoft.com/mats/program_install_and_uninstall/en-us

  • HT204308 Did software update today and now iPhoto is not working.  I have OS X Yosemite 10.10.3

    Did software update today and now IPhoto is not working.  Operating system is OS X Yosemite 10.10.3

    What OS X version did you upgrade from? What iPhoto version did you have before upgrading? You cannot upgrade a version of iPhoto from a pre-10.10.2 OS X version installation. You needed iPhoto 9.6.1.

  • Updated slideshow and now it's not working

    I have a very basic, simple slideshow on my home page here:
    http://www.christinepope.com/
    Today I switched out one of the slides and made a few updates, then uploaded the new site (which I have to do manually using Transmit because I'm hosted on Yahoo, and since they switched over to secure FTP I can't use the direct upload function anymore). All of a sudden the slideshow stopped working. It's fine when I'm in Preview mode and viewing it locally, but when it's actually hosted by Yahoo, it's dead in the water. I'm also noticing that my CSS isn't updating, so I don't know if that's the problem or not. Please help -- this is really frustrating!
    ETA: When I upload the site to being hosted on Adobe Business Catalyst, the slideshow works fine. So it's obviously a problem with the .html output. Some help would really be appreciated.

    The following image is a 404 - http://www.christinepope.com/images/sedona_trilogy_slide.jpg. Make sure you upload all files and folders when using FTP client to publish to a third party host.
    Thanks,
    Vinayak

  • HT4623 I am trying to update my ipod touch 4th because i updated Pandora and now Pandora does not work. My iPod does not have the "Software Update" button. Why not? Help please!

    is there something else I can do to get Pandora to play again?

    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

  • I updated Firefox and now it will not open at all. The hourglass shows that it's working but then nothing. I went to add/remove and removed mozilla and reinstalled it and still the same thing. It worked fine before I updated.

    I updated Firefox and now it will not open at all. The hourglass shows that it's working but then nothing. I went to add/remove and removed mozilla and reinstalled it and still the same thing. It worked fine before I updated. Now I can't even remove the program at all. Why is this happening?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Prompted to update iTunes today and now it does not work.  tried reinstalling and caanot successfully reinstall.

    prompted to update iTunes today and now it does not work.  tried reinstalling and caanot successfully reinstall.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • HT4367 I turned off the power to my apple tv whilst updating and now it will not work, i have tried to restore using usb but it says unable to find. any help please?

    I turned off the power to my apple tv whilst updating and now it will not work, i have tried to restore using usb but it says unable to find. any help please?

    Welcome to the Apple Community.
    Are you following these instructions.
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Source list, and then click Restore.

  • Just updated my iPad with iOS 7 and now internet does not work anymore, how to fix if???? Desperate

    Just updated my iPad with iOS 7 and now internet does not work anymore, how to fix if???? Desperate

    Try resetting your iPad:
    Double click the Home button. Slide up with one finger on ALL your apps to close them.
    Then, Press the Sleep/Wake button + Home button and hold 15 seconds or until you see the Apple logo.
    This will reset your device without erasing data, apps or settings.

  • I just updated to OS X Mountain Lion and now Word will not work?

    I just updated to OS X Mountain Lion and now Word will not work?
    Word, Powerpoint, Excel - none of them work. . . . Any ideas?

    You can also try Pages for Word / Numbers for Excel. Both can import/export Word and Excel files.

  • HT5654 i updated my ipad 3 to latest version of system upgrade and now it is not working at all.  it just shows an itunes logo. I have tried restarting.

    i updated my ipad 3 to latest version of system upgrade and now it is not working. All black screen with Itunes logo.  I tried restarting

    Upgrade to Snow Leopard - it's compatible with the latest version of iTunes, and still supports PowerPC applications.
    $19.99 - http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    Snow Leopard is required if you wanted to upgrade to Lion, anyway, which you may want to in the future if the latest version of iTunes no longer supports Snow Leopard.

  • A very good friend of mine dropped her iphone into water and now it is not working.Her husband recently passed away and text messages from him and from well wishers after his decease are feared lost. Is there any way to retrieve them?

    A very good friend of mine dropped her iphone into water and now it is not working.Her husband recently passed away and text messages from him and from well wishers after his decease are feared lost. Is there any way to retrieve them?
    I suggested contacting Compub in Nassau St as the info is priceless and worth the trouble of trying to regain?
    Any thoughts? The poor lady is very distress

    If she has backed up her iPhone she can replace that iPhone and set up the new iPhone from her backup.
    You can put the iPhone that went into water into a plastic baggie with either new silica gel packets (preferred) or raw rice and let it sit for  4 - 5 days. After that time remove the phone and connect it to power for at least a half hour. While it is still connected to power reset it by holding down the power and hold button, wait for the Apple logo then let go of the buttons. Might take several tries. If it revives immediately back it up.

  • Mouse fell to the floor and now it is not working

    I dropped my mouse on the floor and now it does not work.

    Try reinstalling the batteries, maybe they got dislodged. Other than that buy a new mouse, yours is broken.

  • I dropped my phone in the water and now it is not working.  Any suggestions?

    I dropped my iphone in the water and now it is not working.  Any suggestions?

    Turn it off and put it in a bag of rice for 5-7 days.  You may get lucky.

  • IPhoto says it won't import photos from my Fujifilm Finepix S1000 camera because it's the wrong format (jpeg).  It always has before... but I upgraded to Lion then went back to Snow Leopard and now it's not working.  Suggestions?  Thanks!

    iPhoto says it won't import photos from my Fujifilm Finepix S1000 camera because it's the wrong format (jpeg).  It always has before... but I upgraded to Lion then went back to Snow Leopard and now it's not working.  Suggestions?  Thanks!

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

Maybe you are looking for

  • Problem while retrving data from a view

    Hi Friends   i have a problem while retriving data from a view <b>v_t685a</b>. the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view.""" i wrote : select single VTEXT1 from V_T685A into

  • Please do my homework for me!

    My professor has given me a nasty homework, and I dont want to do it, so please do it for me. Its urgent, and I will not pay you. Here is the speck (or actually five versions of it) http://forum.java.sun.com/thread.jsp?forum=406&thread=313822      ht

  • JCO with miniSAP???

    Hi! Has anybody tried to use jCO with miniSAP? Or shortly, is it possible? I've done all what is said. I was able to compile the first of example codes came in the package but when I tried to execute it, the error "Exception in thread "main" java.lan

  • Backed up my mom's iPhone and it's frozen?

    So I just updated my mom's iPhone 4 to iOS 5 and she is trying to sync all of her apps back onto her phone. In iTunes, it goes through only step one and then gets stuck while backing up her phone. Could anyone help me?

  • Photoshop and Premiere Elements Upgrade to V8

    Hi, I am very annoyed with Adobe. I just bought a copy of Photoshop and Premiere Elements 7 on Friday and guess what??? I have obviously opened and installed it and used it a bit. I cant believe that Adobe didnt mention/promote V8 in any way. Anyway,