Avatar

Level 7

is it something wrong with this statement?

Action is a Drop Down List

D1  is a Drop Down List

forms is radio button

BudgetedButtonList is a radio button

if ((form1.Page1.Section_A.EmployeeInfo.Row1.Action.rawValue==1)||

(form1.Page1.Section_A.EmployeeInfo.Row1.Action.rawValue==3)||

(form1.Page1.Section_A.EmployeeInfo.Row1.Action.rawValue==4)

&& ((form1.Page1.Section_A.All.D1.rawValue==2)||(form1.Page1.Section_A.All.D1.rawValue==4))

)

{

Mail_HR.execEvent("click");///Email to xxx@xxx.org

}

else if ((form1.Page1.Section_A.All.D1.rawValue==2)||

(form1.Page1.Section_A.All.D1.rawValue==4)

&&

((form1.Page1.SectionBA_TOP.forms.rawValue==1) ||

(form1.Page1.NEWPOSITION_sub.EmpPosition.BudgetedList_SUB.BudgetedButtonList.rawValue==2))

)

{

Mail_MN.execEvent("click");////Email to www@xxx.org

}