Javascript Nested If punctuation
I have 3 textboxes(tb) ("MandatoryTotalLodge01", "L1Lodge01MajorTotal" and "L1Lodge01BasicTotal")with calculated sums.If a condition in each field meets its criteria, a fourth textbox(target"CSComplete01") shows 1 message("Cornerstone Complete"), if ALL do not meet, it shows another ("Still Working"). The following is what I have in the the custom calculation of the target tb. I strongly feel its puncuation.
Any helpers?
if (this.getField(“MandatoryTotalLodge01”).value>= 1) && if(this.getField(“L1Lodge01MajorTotal”)>= 1)&& if(this.getField(“L1Lodge01BasicTotal”).value>= 1 );
{
event.value=this.getField("CSComplete01").value = "Cornerstone Complete";
}