Hi - Help needed please?
As a complete javascript novice I've been trying to duplicate the formulae in an operating Excel file, in an Acrobat 'form'. Below is an example of the typical Excel formula (of which there are x40), with reference to calculations performed on various cell data :
=D14-(D22*1000*0.02)/($T$20*35.6)-$M$5
I have attempted to use Acrobat 'custom calculation script' to perform the same process and arrived at this:
event.value = (this.getField("22_AWG01").value)-(0.326*1000*0.02)/(this.getField("Total_current").value*35.6)-(this.getField("Metres").value)
In many cases this does return the answer/s I was expecting - but not in every case. No doubt my method or syntax is probably inappropriate
I do have some extra functions/conditions to apply if possible, should I manage to get this fixed
MTIA
Steve
