Administration form error message

two error messages occur when i try to call a administration form using a button,  first error message says..shows a syntax error and the second message indicates "frmAddCause_OnLoadHandler' is undifined".

Please can u explain what this means and how i should fix it

This is the script i used

var

ParentID = GetField('txtInpFolderID','');

var

txtInpNCID = GetField('txtNCID','');

var

FullURL = 'eForm.aspx?Map=QualityAdministrationGroup&Client=External&Action=frmAddCauses&FilterParams=txtInpNCID;'+txtInpNCID+';Text:txtInpFolderID;'+ParentID +';Text';

var

retVal = window.showModalDialog(FullURL,window.self,'dialogHeight:550px;dialogWidth:750px;scrollbars:no;menubar:no;resizable:yes;toolbar:no;location:no;status:no');

if

(retVal != 'Added Stuff')

{

alert('The last item was not properly saved. Please make sure to use the save button');

}

document.getElementById('cmdRefreshGrid').click();

 

and when i exit the window the alert message is somehow passed through.

Tagged: