Trouble with calculations in my form

Hello.  I have great difficulty with a form, that I care.  It may be the program is required to the breast.  I'll try to explain and to forgive me because I am not a technie official.  I created a PDF form.  Inside the form, I created calculations custom JavaScript where the script takes the value of the field and converts it to a number.  I tested the form as a stand alone and it was working fine. All the calculations work very well.

Some fields are defined for FormValues which are obtained from our banking system.  There is the javascript code in the system.  An excerpt from our banking Acumen help system to explain what I'm trying to say:

"The values of customer and institution data and information are automatically inserted in the fields appropriate registration of models of documents when a document assigned is"called"to the use of a current affairs."

function of a similar product or the field with which it is associated.

For most applications, the précodés values information and data that are shown with each model of generic document Fiserv serve the systematic application of your institution. Be aware that the Format /

Calculations feature allows you to use JavaScript to the data values to custom of code for the specialized use of a document template.

When I download the form in the document library and then bring it into the banking system, information précodée is great. The minute I click in a field that is empty to input information that fields with calculations custom inside the shape adobe pop up saying NaN.  I understand that some fields may précodés not the real number that is why adobe custom code I use is programmed to convert to numbers - at least I hope that I am just learning javascript.  It seems that the only calculations that it will use are those in the JavaScript within the banking system before the document appears

Now, when I bring up the form from the banking system, it appears as a documentpopup.jsp (don't know if that makes a difference)

I am at a complete loss and have worked on this form for a week now.  Any help would be appreciated.  I have an email in one of the authors of document Fiserv to tell me if Acumen supports the functions that I do in Acrobat.  I don't know the current version of our banking system does not support forms created in Live Cycle but the new 2011 version don't - don't know if that means something or the other.

All what I can say is HELP...

I found my problem.  Even if I'm tryin g to convert string to number I had to specifically convert currency string and remove all symbols and commas.  Once that done that worked like a charm

Tags: Acrobat

Similar Questions

  • Trouble with the forms?

    Hello, I am still fairly new to Muse and BC and will have a little trouble with the addition of forms. I know how to create a form in the muse and place it in my site. But I have a problem with is the info that the visitor to 'Send' for download on the website of BC instead of emailing for me every time... Already do this automatically if I host with BC? Or the other option, I know how to create a form in British Colombia, but can't put into my site. I followed some tutorials but don't know what I'm missing. Any suggestion would be great. Thank you!

    Hi Rashseag,

    What is your site map? It depends on the site map if yes or no form data are stored on BC Admin feature CRM is available in Web marketing and above plans. Please see the following link for more information on ventilation and plans: http://www.businesscatalyst.com/pricing/monthly

    Kind regards

    Aish

  • How to keep the form fields empty with calculated fields

    I am to convert Excel files to Adobe forms with calculated fields.  I use the following if statement to keep the empty fields until the entry is made.

    var v1 = + getField("LengthRisersToday.1").value;

    var v2 = + getField("LengthRisersToDate.0").value;

    If (v1! == 0) {}

    var sum = v1 + v2;

    Event.Value = sum;

    } else {event.value = ";}}

    This does not work if someone from 0 in the field "today."  This is sometimes necessary in this form, as the other fields must be filled and a riser is not always added.

    This form consists of several lines and inscriptions are made there is a running total in column "on this day".



    So you say that a result no one is valid and that you want to delete a result of zero only if the LengthRisersToday field is empty? If so, the script can be replaced by:

    var s1 = getField("LengthRisersToday.1").valueAsString;

    var v2 = + getField("LengthRisersToDate.0").value;

    If {(s1)

    var sum = s1 + v2;

    Event.Value = sum;

    } else {}

    Event.Value = "";

    }

  • trouble with - if an empty field, then another field must be empty

    IM in trouble with this code. What I do is take a time of entry by the user and adding 10 minutes and displays the new value in a second field. However if the input by the user field is empty, then the second field should also be empty.  Here is the code that I use and it is located in the area of personalised calculation of the second field (also tried in the part of the second field validation.)

    var strStart = this.getField("Break2O").value;
    strStart = strStart + " 1/1/70";
    
    
    if(strStart.length)
    {
    var timeStart = util.scand("h:MM tt m/d/yy", strStart);
    var oNext = timeStart
    oNext.setMinutes(oNext.getMinutes()+ 10);
    var oneHour = 60 * 60 * 1000;
    var sNext = util.printd("h:MM tt", oNext);
    event.value = sNext;
    }
    else {
    //if (strStart = "");{
    event.value = "0";
    }
      //event.value = this.getField("Break2O").value;
    

    any help is greatly appreciated. I have other custom calculation stuff to do with the same project (map of computing time) if anyone can help me out.

    This line is incorrect:

    If (this.getField("Break1O").value) = ""}

    It should be:

    If (this.getField("Break1O").value == "") {}

  • No totals calculation in Acrobat forms

    I'm setting up a very basic shape for my accounting group.  This form must be just calculate RatePerMile x MilesTraveled at the MileageTotal equality and totals of Bkf + lunch + dinner + cool accessories + accommodation MILTotal equal the sum.  He is an acrobat form, and given that the request was simple, I used the tab default calculations for each of the totals.  The problem is in fact none of the totals returns a result.

    By reading related problems on the forums, I thought that the solution might be to set the order of computation of field.  But this option is grayed out, despite the fact that I currently have at least 3 calculations in the form at the moment.

    I'm working on Acrobat 9.4.7 on Windows XP, but I also took a glance on 9.4.7 on Windows machine just to see if the problem could be with my installation of Acrobat.  At this point, all I can think is that there is one simple thing, I forget which would have the results appear.  Any ideas?

    I don't know how you have created the form fields, but if you delete it in Acrobat and re-create them, then they work.

    With an array of fields as, I found using scripts custom calculation to calculate the field names may cause the less code and a copy of the code to be updated to correct an error of calculation.

  • Im having trouble with my iphone 16 GB ios 9.3.3 5s (G 13, 34) receive error code 22 tries to connect to the server, and nowhere suggestions?

    Im having trouble with my iphone 16 GB ios 9.3.3 5s (G 13, 34) receive error code 22 tries to connect to the server, and nowhere suggestions? I have tried almost everything turn power switch wifi in the middle and doing it to try to track down the problem in the Device Manager and im completely disgusted

    Have you tried turning off and back on again?

  • Trouble with Touch ID when you want to put one, it says that it does not recognize the finger

    Trouble with my ID touch, when I want to configure it says it cannot recognize my finger

    Apple Watch is not TouchID. Let us know what device you are using so that we can this post moved.

  • Trouble with the Satellite Pro L300 Ethernet controller driver

    Hello

    I bought a Toshiba Satellite Pro L300 Model (PSLB9A - 064022)

    Put XP Pro/SP2-Having trouble with the Ethernet controller driver.

    I downloaded the driver from the appropriate list (Toshiba support) only network via another PC memory = car lappy

    Realtek_LAN_56861032008_XP.exe

    install
    installed in a folder named c:\ "DELL"-(WHICH can not be move?)
    drivers R86360
    OF this dossier, I do the "setup."

    broad com 440 x - installs as everything is good,
    made just TWO yellow controllers.in etha...
    \
    but isn't she suppose to be integrated realtek 10/100 Mbit / s Ethernet TX.

    Can someone please point me in the right direction.

    Thanks in advance...

    Steve

    Hello

    It seems that the Australian model, try this one:

    http://file.MyToshiba.com.au/file/Download/Resource/File/13002/Realtek_LAN_56861032008_XP.exe

  • Are there problems or restrictions with Xbox in the former CIS countries?

    Are there problems or restrictions with Xbox in the former CIS countries?

    Hello

    Your Question is beyond the scope of this community...

    I suggest that repost you in the Xbox Forums.

    "Xbox a Preview program FAQ.

    http://support.Xbox.com/en-us/Xbox-one/system/Xbox-update-preview-FAQ

    'Home'

    http://forums.Xbox.com/

    "Xbox forums.

    http://forums.Xbox.com/xbox_forums/general_discussion/f/3817.aspx

    _________________________________________________

    "Xbox Forums directory.

    http://www.Xbox.com/en-us/forums

    General

    Material & Discussion Services

    Xbox support
    Agent hours: M - F 09:00-17:00 PT

    Law enforcement forums

    Technical support of Xbox Live rewards
    Xbox Live rewards Squad hours: M - F 09:00-17: 00 PST

    See you soon.

  • Just set up a Win 2 K server 8 and trouble with FTP.

    FTP on windows 2008 server
     
    Just set up a Win 2K 8 Server and have trouble with FTP. FTP and IIS roles are installed and port 21 is open on the firewall but still can't connect. Any suggestion would be appreciated. Thank you

    Hello Spacekowboy

    If the suggestions of the Ing. Ladislav Cermak do not work then repost it please your question in the Windows Server forums from the link below. Thank you.

    http://social.technet.Microsoft.com/forums/en/winservergen/threads

  • Having a lot of trouble with updates.

    Having a lot of trouble with updates. Windows updates do not settle with error code 0 x 643. Fix from MS Computer Center said as he repaired software update. This does not resolve the issue. Fix MS datacenter failed with code 16977922-2147024894. Troubleshooting MS Wizard had had to close with an unexpected error code 0 x 80040154.  Norton updates fails with an error unexpected 0x000003E8. Update of Skype have also failed.

    Hello

    I suggest you to follow these steps and check if that helps:

    Method 1:
    If you have installed a security software on the computer, then I suggest you try to disable temporary and check to see if the same problem happens. Make sure that you enable security software back once the diagnosis is made to prevent the computer from virus attacks.

    Method 2:
    Try to perform the clean boot, and then check if it helps:
    http://support.Microsoft.com/kb/310353

    NOTE: When you are finished troubleshooting, make sure that you reset the computer in start mode normal such as suggested in step 7 of the above article.

  • Anyone who has other trouble with redcross haqve anti-virus software?

    original title: redcross anti virus

    Anyone who has other trouble with redcross haqve anti-virus software?

    Hello

    Red Cross Antivirus is a fake antivirus, a scam to force you to pay for it while he has no advantage at all.

    Red Cross Antivirus remove (uninstall Guide)<-- read="" this="">
    http://www.bleepingcomputer.com/virus-removal/remove-red-cross-antivirus

    It can be made repeatedly in Mode safe - F8 tap that you start, however you must also run them
    the Windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone. (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with other security programs. It comes
    a scan only, VERY EFFICIENT, if it finds something to come back here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software (viruses, Trojans,
    Rootkits, etc.) that has infected your computer despite all the security measures that you have taken (such as
    the anti-virus software, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    New Vista and Windows 7 version
    http://OneCare.live.com/site/en-us/Center/whatsnew.htm

    Original version
    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also do to the General corruption of cleaning and repair/replace damaged/missing system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Trouble with conversion email from POP to IMAP Comcast: Code: 800ccc0f

    Original title: POP IMAP conversion

    Trouble with conversion email from POP to IMAP Comcast:

    Code: 800ccc0f
    Your server suddenly put an end to the connection. Your IMAP command could not be sent to the server, due to non-network errors.

    I'm on Windows 7 Home edition, Service Pack 1.

    Using e-mail with Comcast Email Client programs
    http://customer.Comcast.com/help-and-support/Internet/email-client-programs-with-Xfinity-email/

    Instructions for:

    Outlook Express
    Outlook 2003
    Outlook 2007
    Outlook 2010
    Windows Mail or Windows Live Mail
    Windows 8
    Mozilla Thunderbird
    Mail for Mac
    Eudora

  • I had trouble with my windows 7 Home premium, I downloaded again and ended up with 2 windows 7 hard disk, how can I delete one?

    I had trouble with my windows 7 Home premium, so I downloaded it again, now when I connect it has windows7 and windows Home premium, but the family version premium won't load, how to remove this version of my hard drive?

    Click Start, type: msconfig

    Press enter on your keyboard

    Go to the Startup tab

    Select the entry you want to delete

    Click on delete

    Then set the time to '0'

    Then click on apply and OK

    Restart if prompted.

    ------------------------------------------

    If the problem persists, try the following

    Click Start, right click on computer

    Click on properties

    Under control panel home

    Click on "advanced system settings".

    Go to the Advanced tab

    Under Startup and recovery, click settings

    In the default operating system list, select Windows 7

    Uncheck the "time to display list of operating systems".

    Click OK

    Then apply and OK

    ---------------

    If it still does not respond, try the following:

    EasyBCD by NeoSmart Technologies would be your answer, it provides a graphical front-end to the BCDEdit Command line that makes it easy for you to set the boot settings and change the entries start on the new Windows Boot Manager.

    http://NeoSmart.NET/DL.php?id=1

  • trouble with userinit.exe is an error like (0 x 0000000005) and I don't see anything on the screen, it's all black what should I do?

    IM have trouble with userinit.exe, there a like (0 x 0000000005) of the error, and I don't see anything in the screen is all black, what I have to do?

    I would also like to run a file system check to verify and repair the operating system files

    Run a file system check to check and repair your system files.

    To do what type cmd in start search box, and then right-click to run as administrator, then
    SFC/SCANNOW

    It may need be performed up to three times before success
    Let us know the results of the report at the end

    Read here for more information
    http://support.Microsoft.com/kb/929833

Maybe you are looking for

  • add/delete a contact group message iOS 10

    Can't seem to find how to delete/add contact group message since the update to iOS on iPhone 10 6. Solutions?

  • Smart battery case overload?

    I have a 6 s and I wonder if the case will my iPhone to overload and break it. Thank you!

  • Satellite Pro 2100 Wont initialize the

    Have used this laptop for many years without any problems, that is until today. the laptop will not start.DC in 15V Ok.Light green power on.Green on drums.HARD drive integrated offshore.When I pressed the Start button, thought I heard two short beeps

  • tiara spectrogram Interpolation

    Hello I have an a spectrogram data set the faster the rotation of a machine: a vector of length m with speed values a vector of length n with the frequency values a matrix with dimensions m x n with the values of sound pressure level The problem is f

  • Can I upgrade to SSD with Compaq Presario V3000? If so, how to activate the AHCI?

    I have an old compaq presario v3000. The hard drive failed and I would like to upgrade to an SSD if possible in the hope of improving performance. My laptop does support an ssd? Also, I read on a ssd that bios have an option to enable the AHCI? I don