You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
Hello All,
has anyone implemented AcroJS calculation for fields?
this is code that can be added as a formula to make calculations such as
var s1 = +getField("spent1").value;
var s2 = +getField("sched1").value;
var d1 = +getField("datec1").value;
if(d1 == 0 && s1 == 0) event.value = "";
else {
if(d1 == 0 && s1 != 0) event.value = "In Progress";
if(d1 != 0 && s1 == s2) event.value = "On Schedule";
if(d1 != 0 && s1 < s2 && s1 != 0 ) event.value = "Under Schedule";
if(d1 != 0 && s1 > s2 ) event.value = "Over Schedule";
}
The text was updated successfully, but these errors were encountered: