forgive me my lack of knowledge on this subject...
I´m dealing with a pdf-form, where I should create a calculation. This is my calculation so far.
var f = this.getField("mil");
var g = this.getField("kr/mil")
event.value = f.value * g.value
But whatever 'var g' is the result that should...
I did like this, but it feels like something is missing? :-)
var f = this.getField("mil1");
var g = this.getField("kr/mil1")
var g = Math.min( parseInt( this.getField("kr/mil") ), 17 );
event.value = f * g
Thanks for your answer, but i din´t really understand what your code does...
forgive me my lack of knowledge on this subject...
I´m dealing with a pdf-form, where I should create a calculation. This is my calculation so far.
var f = this.getField("mil");
var g = this.getField("kr/mil")
event.value = f.value * g.value
But whatever 'var g' is the result that should...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.