On AP20.1 we have added another row to the detail line item area for the account number description (GDT-DESCRIPTION). We try to clear these out and the following code was working in 9.0 (we're in the process of an upgrade), but when I save the form now, I get the error re "Script is saved with syntax error checking. A script control component is not found. Please refer to the documentation for download instructions." I have removed all of the javascript in the form except this beginning code and it errors out. It worked before--thoughts????
function FORM_OnAfterTransaction(data) { // was transaction successful if (formState.agsError) return; // remove all account descriptions //Bobby's customization for (var i=0; i<5; i++) { lawForm.setFormValue("text83",""); lawForm.setDataValue("GDT-DESCRIPTION","",i); } //alert("after clearing acct descr"); }