Here is the condition FOR THE SCRIPT:
If the validation(Variable-execValidate() is OK)and FieldA.rawValue==2
or
(FieldB.rawValue==1) ||
(FieldC.rawValue==2)||
(DropDownlist.rawValue==1)||
(DropDownlist.rawValue==3) ||
(DropDownlist.rawValue==4)
then
Mail_form.execEvent("click");
_____________________________________________________
I came up with this script but without luck! Please help..
Fields A,B,C are radio buttons
THANK YOU
if (form1.execValidate()
&& (FieldA.rawValue==2||
(FieldB.rawValue==1) ||
(FieldC.rawValue==2)||
(DropDownlist.rawValue==1)||
(DropDownlist.rawValue==3) ||
(DropDownlist.rawValue==4)
)
Mail_HR.execEvent("click");