Web Apps

hi everyone,

i have a deny button and its code was like this

if (f.CommentURL.value==“”)

{

	alert("Please enter comments why this request is denied.");		

	var nurl = "/" + f.DBPath.value + "/F_DLG_COMMENT?OpenForm&FormNum=" + f.FormNum.value;		

dialogOpener(nurl, 'Dialog', 'width=515,height=200,status=no,resizable=no,scrollbars=no')

return false;	

	}

if (confirm(“Would you like to deny this form now?”))

{

url = "/" +  f.DBPath.value + "/A_WEB_DENY?OpenAgent&DocID=" + f.DocID.value + "&User=" + f.CurrentUser.value;

location.href = url;

}

i used it to send comment in a web application, it supposed to create a new form calls"F_DLG_COMMENT, but when i press the button, nothings happen, what seems to be the problem…

suggestion will really be appreciated…

best regards

Subject: Web Apps

Is dialogOpener a custom function? Replace dialogOpener with window.Open

viz:

window.open(nurl, ‘Dialog’, ‘width=515,height=200,status=no,resizable=no,scrollbars=no’)

A new window should appear and load up your url. If your browser does not allow popups then this might not happen.

Adam.