Kev
it looks like it's hardwired......
but
The answer looks to be that you have to modify the rules in
<cachesys>dev/csp/rules/object.csr
and then reload these in %CACHELIB
you can clearly see that these rules write out a comment in the JS
eg
the comment line
Set code=code_" Write "" // invoke
#"_%formEvent_"("_%compiler.Get("%classname")_"."_%form_"Load())"",!"_$$$EOL
the code line
Set code=code_" Write "" return
(csp"_$select(%formEvent="server":"Run",1:"Call")_"ServerMethod('"
Now I would not want to be doing this :}
maybe ask for an enhancement request to add an additional attribute to
the form
nocomments="1"
or some such thing
Peter