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