How to wriet Form onLoad java script method?

Hi,

Is there a way to write an OnLoad java script method for the portlet forms designed in myWMS 7.0?

Thanks in advance
Sudheer

You could put the following into a “Output > Script Block” control at the bottom of the view:

Event.waitUntilLoaded(function() {