Alert problem

Hi Everybody,

I am facing some problem with alert message…let me explain you the situation.

I have placed alert message before submit the form and am getting the alert message and the code which will submit the form also getting fired, but WebQuerySave agent is not getting called.

But if I remove the alert message then its working fine… Can any one please help me what is the problem with alert message and how to overcome this…

Thanks in Advance.

Ra.

Subject: RE: Alert problem

Must show code.

Subject: RE: Alert problem

Hi Andre, the following is code am using…Thanks case ‘D_DIRECT’:

if (f.R_FLG.value !=“Yes”) {

if (confirm('Letter not yet generated.\n Click on the OK button to return and generate, or click on Cancel to move to next Q anyway.')){

 return false;

}

f.R_LETTER.value='Y';

f.UAction.value='complete';

f.Dire.value='DIS';

f.Status.value='';

f.qStatus.value='';

f.submit();

}

break;

Subject: RE: Alert problem

I assume this is part of an onsubmit function. Why do you not show the whole function?

Not sure I understand what this is doing that you don’t like, but think about the return values of the onsubmit function.