0
我的if語句不適用於設置爲在Adobe Livecycle Designer中計算的數字字段,我無法弄清楚。我所有的字段名都是準確的,並且這些字段被設置爲數字。它保持顯示值0.Adobe Livecycle設計器Javascript計算
任何幫助或指導表示讚賞。
if (RadioButtonList.btn2.selectedIndex == 0 || RadioButtonList.btn4.selectedIndex == 0) {
this.rawValue = ((Table3.Row1.Cell3 * NumericField1)/Table3.Row1.Cell4);
} else if (RadioButtonList.btn1.selectedIndex == 0 || RadioButtonList.btn3.selectedIndex == 0) {
if (DropDownList1.rawValue === "Concierge") {
this.rawValue = ((Table3.Row1.Cell3 * NumericField1) * 0.06);
}
if (DropDownList1.rawValue != "Concierge" && DropDownList1.rawValue != "") {
this.rawValue = ((Table3.Row1.Cell3 * NumericField1) * 0.04)/Table3.Row1.Cell4;
}
} else {this.rawValue = 0;}