Quantcast
Channel: Adobe Community: Message List - PDF Forms
Viewing all articles
Browse latest Browse all 57214

Re: Help with Running Totals

$
0
0

I found a different solution

 

var v1 = +getField("Cumulative0").value;

var v2 = +getField("Spacing1").value;

if (v2 !== 0){

var sum = v1 + v2;

event.value = sum;

}else {event.value = '';}

 

Each field is slightly different but only had to change the number after cumulative and spacing for each one. 


Viewing all articles
Browse latest Browse all 57214

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>