Can't Execute Code from a Freed Script

The information in this article applies to product: e-Work 6.0, 6.1, 6.2

Issue

  • When using validation code upon submit/cancel in a client-side script, users get "Runtime Error: line 77 error:can't execute code from a freed script".

Resolution

  • The problem is that custom validation of a single form is being used for the entire folder. As a result, when the user moves to a different page, the custom event handlers are pointing to null objects. Custom validation only makes sense for action forms and not folder pages.
  • Download the revised procedure, which implements form validation in version 6. The text on the form 'Custom Validation' indicates where the functions are being called.

    This code only works with the web client, not with the Outlook or GroupWise client.

    This is an unsupported feature and may not work in future versions of e-Work.

Tagged: