Hi everyone!I have one question.Please answer me...
I have radiobutton list and print button.I created javascript click event on print button to check some fields if they are or not full.So I check radiobutton list and is going not bad - apears the message box that I didn't use any radio button.But when I used one of them the same message box apeared.So I can't used my print button completely.This is the code:
var indic =0;
if((subform1.RadioButtonList.radio_button1.selectedIndex != null) && (subform1.RadioButtonList.radio_button2.selectedIndex != null))
{
xfa.host.messageBox("Radio buttons were not used!!!","Hei Jude",1);
indic = 1;
}
if(indic==0)
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);
Help me please!