Principle and interest calculation in Acrobat PDF format

Hi people,

I have a customer who wants a created pdf form that mimics the main calculation and interest in an Excel doc. Please see the screenshot below of the Excel doc:

screenshot.jpg

Thus, the said Excel calculation = PMT(G51/12,30*12,-C60). "G51" being the "real interest rate" (4.84% in the example) and "C60" being the "Total loan" ($ 387 172 in the example).

There is also a note under the LMP calculation that says 'PMT (rate, nper, pv, [VC], [type])' but I have no idea what it means.

If someone could please help write a script customized to what would be much appreciated.

(Based on the example above - with interest rates at 4.84% and the Total amount of the loan being $387 172 - the "monthly payment" is intended to match $2 041).

Thank you

You will need to implement the PMT function in JavaScript and use in the calculation. The following function supports three inputs the makes Excel PMT function:

the PMT (i, n, p) {} function

I return * p * Math.pow (1 + i, n) / (1 - Math.pow (1 + i, n));

}

This function would be normally defined in a JavaScript to the document level.

If the calculation for the field of PMT script could then be:

Calculation for PMT field script

Get the value of the interest rate field

var rate = + getField("G51").value;

Get the value of the total amount field of loans

var total = + getField("C60").value;

Set the value of this field to the monthly payment

Event.Value = PMT (rate/12, 30 * 12, - total);

Post again if you need help.

Tags: Acrobat

Similar Questions

  • I don't understand.  I use Google Docs to write letters and other shapes, and then convert them to PDF format using Adobe Acrobat.  If firm forms Central, I will still be able to do this?

    I don't understand.  I use Google Docs to write letters and other shapes, and then convert them to PDF format using Adobe Acrobat.  If firm forms Central, I will still be able to do this?

    No, if you do not use FormsCentral its disappearance will not affect you.

  • I have a new computer with Windows 7 Professional, Office 2007, Adobe XI. I just created a word document and tried save it in PDF format, but the PDF option does not appear in the menu dropdown. Any ideas please? Thank you.

    I have a new computer with Windows 7 Professional, Office 2007, Adobe XI. I just created a word document and tried save it in PDF format, but the PDF option does not appear in the menu dropdown. Any ideas please? Thank you.

    What is "Adobe XI" - Reader or Acrobat?

    But, "Save as Adobe PDF" is a function of Word, independent of this Adobe software, you have installed.

  • Need to change size of font in Acrobat pdf format

    Need to change size of font in Acrobat pdf format

    You can change the font size of the PDF content in Acrobat 11. Using the text tool & Images change happens "Edition content" accordion pane 'Tools' to invoke Edit and do what is necessary.

  • How to remove a video in acrobat pdf format

    Hello everyone

    This is perhaps a silly question, but I can't figure out how to remove my video in acrobat format

    I'm new to a PDF file

    Would appreciate any help

    1. go to tools-> Rich Media.

    2. click on 'Select' tool in the top toolbar.

    3. click on the video to select this option and press on delete.

    For more details, see using Acrobat | Add audio, video and interactive objects in PDF format

  • How to write to Adobe Acrobat pdf format

    I recently bought Adobe Acrobat. When I go to print a document in pdf format, one of my printers is Adobe PDF. Who is the Adobe Acrobat printer or does it move? If this is the case, how can I add Adobe Acrobat pdf printer to my list of available printers?

    The Adobe PDF printer is installed when you install Acrobat. Go ahead and try to print to it. When you install Acrobat, it also normally install PDFMaker in some applications, such as MS Office. This allows more options when generating a PDF file of the source document, so familiarize yourself with him at the well.

  • can windows 7 scan and convert the fax in pdf format. I see other file formats, but I want to transfer large files pdf. Is there an add in?

    Windows 7 scan and fax in pdf format. Given that hp does not have software to push the scan to PDF, does windows 7 have an add-in to solve HPs lack of software for the business within the windows operating system 7.

    Michael Anderson * address email is removed from the privacy * www.AndersonHomePros.com

    Hi nttowry,

    Thanks for posting in the Microsoft answers Community Forums.

    Unfortunately this feature is not included in Windows 7, but you can use any third-party software that are available through the internet.

    Warning for the use of 3 Web sites and third-party tools.

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

    Important note: this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to the quality, safety or fitness of any software or information found

    it. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Thank you and best regards,

    Arona - Microsoft technical support engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Issue of form design - using the form in Acrobat PDF format

    I created a form in excel and imported into Acrobat Pro XI to create a pdf file which is automatically calculates the subtotal, discount, delivery, installation, retail etc...    The problem I have is that the sum does not calculate properly when the discount field or sales tax is nil.  Can someone tell me how write code if the value of "Discount" is $0.00, the value will be equal the subtotal? I should be able to then apply the same formula in the field of sales tax.  Here's the formula I am entered for the calculation of the discount and subtotal:

    Event.Value = this.getField ('subtotal') .value * this .getField ("Discount") .value.

    Ah, if it's a percentage field, not a dollar amount (as your original question has suggested). In this case, you can use something like this:

    If (this.getField("Discount").value == 0) event.value = this.getField("Subtotal").value;

    else this.getField("Subtotal").value = event.value * this.getField("Discount").value;

  • Random letters missing at the ends and middle of phrases in pdf format.

    Hello!

    I don't know what to do to solve this problem.  I converted an indesign file to PDF, crossed all the pre-flight, without error, and the pdf result ran out of random letters. There are a few at the end of the phrases, but sometimes the letters in the middle of a sentence, although usually before a comma. Is this a known error? Has anyone experience / solved this problem?

    Thank you!

    Hello

    What version of Acrobat is installed on your machine?

    What operating system do you use?

    Do you experience the same behavior with any other file as well?

    Also check if Acrobat is updated to the latest patch or not.

    Concerning

    Sukrit diallo

  • Removal of the stamp header and footer when converted to PDF format?

    When converting documents, such as HTML files or text in PDF, Acrobat creates headers and footers containing document titles, the path, and a timestamp. Is there a way to remove this feature, such as the PDF contains only the content of the document being converted? I checked the printing parameters for various programs and sifted through the settings and the settings for the Distiller, but I had no chance.

    There are many places to do this, you may adjust the layout of your web browser and the settings of web conversion in the Acrobat plug in the web browser or in the Acrobat application for the ' file => create a file PDF-Online Web page... ».

  • I have word processor on my system, but a lot of my e-mail providers cannot open a WPS file and prefer it to the PDF format. How can I convert WPS to PDF?

    I tried using various software but have not found anything that allows you to convert WPS.  Can someone help me with and inexpensive difficulty?

    http://www.Google.com/#hl=en&q=convert+.wps+to+.PDF&AQ=f&AQI=G1&OQ=&FP=b36c7832dbb01be6 MS - MVP - Elephant Boy computers - don't panic!

  • Windows fax and scan save them in PDF format

    Original title - Windows fax and scan

    Forced to use the fax windows and scan instead of the HP Toolbox and cannot save a scanned as pdf document. Product of much less than the HP Toolbox. Any plans for windows of difficulty?

    Scanning to PDF is an advanced feature of the HP drivers / software.  Unfortunately, HP has judge do not allow this for your printer.

    You might be able to use the Windows fax and scan can install a "print to PDF".

  • Creating context menus by using bookmarks in acrobat pdf format

    Hi all

    I have a requirment to create a button called 'Index' in a pdf document.

    When I click on this button, it should show the context menu, and if I click a menuitem in that, it brings me to the page in question. I've seen some of the interactive pdf available on the web and they have this facility. I tried to incorporate that into my pdf, it displays the pop-up menu item correctly but not taking me to this particular page and through an error message.

    itemIndex is undefined
    3:acroform:index:Annot1:MouseUp:Action1

    Here is the code I tried for your reference.

    My question: is it possible to fill this context menu with action to go to the page in particular, in the available PDF bookmarks?

    Please help me. Thanks in advance.

    var itemInedex = app.popUpMenu("Executive summary", "Why backups?", "Defining the data status (consistency)", "New disk technologies", "Understanding disaster recovery and restart and recovery", "Drawbacks with backups", "Backup in mainframe", "Schematic presentation", "For more information")
    switch (itemIndex) {
     case "Executive summary":
     this.pageNum = 0
     break
     case "Why backups?":
     this.pageNum = 3
     break
     case "Defining the data status (consistency)":
     this.pageNum = 4
     break
     case "New disk technologies":
     this.pageNum = 5
     break
     case "Understanding disaster recovery and restart and recovery":
     this.pageNum = 6
     break
     case "Drawbacks with backups":
     this.pageNum = 7
     break
     case "Backup in mainframe":
     this.pageNum = 8
     break
     case "Schematic presentation":
     this.pageNum = 9
     break
     case "For more information":
     this.pageNum = 10
     break
    }
    


    Kind regards

    Bachi. D

    You have a typo. You called the variable itemInedex instead of itemIndex.

  • Principle & interest and interest only check the behavior of box

    Hi people,

    I have a customer who would like 2 check - boxes they say 'Principle and interest' and the other just says 'interest '.

    So, basically, you need to check one of these boxes to see the final figure of "Monthly payments" appear. See the diagrams below for a better explanation:

    Principle and interest

    principle_interest.jpg

    In this diagram, if are not ticked the boxes, no amount should appear in "monthly payment". If "Principle and interest" is checked (circled in the figure), then the figure appears - in this example, the figure is $2 040,73. (This figure is calculated in accordance with a PMT calculation script kindly provided for me in this thread: principle and interest calculation in Acrobat PDF format.)

    Interest only

    interest_only.jpg

    Similarly to the above, in this scheme, if no checkbox is enabled, no amount should appear in "monthly payment". If "interest only" is checked (circled in the diagram) then the figure appears - in this example, the figure is $1 561,59. (This figure is calculated using the following simplified field Notation: Total_Loan_2_L2 * Actual_Interest_Rate_L2 / 12)

    The two checkboxes name is 'Loan2_check' and we got the export value of 'Yes1' and the other 'YES2"so that the two can be controlled at the same time.

    If someone could kindly help solve what would be greatly appreciated

    Thank you

    Change this line:

    var rate = getField("Actual_Interest_Rate_L1").value;

    To do this:

    var rate = + this.getField ("Actual_Interest_Rate_L1") .value;

    This will force the value of the field to be converted to a number, if the field is empty, it will return zero.

  • Toolbox for Pages only opens in PDF format and does not directly open from documents Pages.

    How do 'Toolbox for Pages' to open directly from a Pages document (I use ' menu Insertion, but that does not help) and get the spare in PDF formats since I can not insert in my documents Pages?

    You have answered your concerns with Jumsoft, the vendor providing the third party package? It is an Apple product, or probably something that much/all have installed us.

    The Insert on Pages menu is set by Apple and not usable by third-party applications. You get PDF page content in the Pages just by drag and drop.

Maybe you are looking for

  • Siri Option not available

    Just bought an iPad running IOS 9.2.1 3. In the General settings, I see no Option Siri nor I see the Option dictated in the keyboard settings. Restrictions is set to Off. I don't know this model iPad (MD-368C/A) IS compatible with Siri. Should Siri b

  • Liquid duo E380 Bluetooth problem

    Hello I have a new E380 and good bluetooth icon says ignition does not turn green on the display (it remains grey) I have problems to connect what either get it You think it is a defective phone, or I'm doing something completely stupid!

  • ENVY Ultrabook 4-1101sa - LAN need wireless drivers

    Can someone help me with the installation of the driver please.The wireless and Lan Drivers on the HP site will not install on a new install of Win 7 Home Premium for some reason any?

  • BlueScreen - DRIVER_IRQL_NOT_LESS_OR_EQUAL

    Hello Since yesterday my laptop still shows blue screen once I turn it on - it does not commute even under Windows (7). Day before I installed Kaspersky Internet Security on my PC. In safe mode, I uninstalled. However, the problem persists. Here is t

  • After you install a widget, my muse page seems to be crushed

    Hello, I installed this widget:Gallery Pro mediaMedia Pro | Adobe Muse reagent Gallery by MuseThemesIt made my page look wrinkled and I have no idea why this is happening.I have attached a screenshot so you can see what I mean. (These "ovals" are sup