userJavaScriptOnloadAjax

Ajax calls are used within forms for several purposes, for example to process the results for many layout cell attributes such as Required If, and Visible If, as well as to process dependencies on embedded layouts such as their visibility. There is a user custom JavaScript method which, if defined, allows you to provide additional logic following the return to the client browser from an Ajax call. The signature to the method is userJavaScriptOnloadAjax(layoutType).

layoutType is a String parameter that may have a value of ADD_PROBLEM, EDIT_PROBLEM, or SEARCH, depending on the layout type calling the method. This allows you to have different logic executed according to the layout calling the method.