Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Convert an excel forumla to JavaScript for .pdf?

Can some one help me write a javascript for the following excel formula

=(carwidthmm*cardepthmm)/100

The script will run on a form called 'survey form'. I will add the script to the script editor in Livecycle. So far I have

form1.#subform[6].#subform[7].Subform3.NumericField15::calculate - (JavaScript, client)

CarWidth*CarDepth=this

But I am a complete novice and could really use some help. The will run on an android tablet and therefore I can't use a FormCalc

1 Answer

Relevance
  • 7 years ago
    Favorite Answer

    Hopefully you have an understanding of extensions. if you are trying to perform calculations with JavaScript you can check out the math section of (http://goo.gl/TPN64N) further this will also show you everything you may want to do with JavaScript.

    Hope this helps :)

    the extension of javascript is .js

    ****edit if you're looking for source code on JavaScript you can try stack over flow. another thing there is a difference in JavaScript and Java. keep that in mind when you ask questions

Still have questions? Get your answers by asking now.