Not sure what's wong, but as soon as I activate the form all the javascript disappears. It still works when the form is executed and displayed, all events work fine. But when I go back in livecycle designer to see the code, there is just no code at all. I have shutdown SAP GUI, my computer, restarted everything but cannot get around this problem.
Any ideas? google didn't return anything as well.