The validation popup dialog comes from the CAF.ErrorHandler.handleFormValidationError function. See:
[url=‘http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/My_webMethods/8-2-SP1_CAF_JavaScript_Reference/CAF.ErrorHandler.html#!s!handleFormValidationError’]http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_sp2/My_webMethods/8-2-SP1_CAF_JavaScript_Reference/CAF.ErrorHandler.html#!s!handleFormValidationError[/url]
You can override that function if you want to suppress the popup dialog for specific forms.
For example, you could put something like this in a script block control for your portlet:
if (!window.customFormValidationErrorHandler) {
var originalFn = CAF.ErrorHandler.handleFormValidationError;
window.customFormValidationErrorHandler = function(forms, msg) {
var formId = '#{caf:cid("defaultForm")}'; //the id of the form to suppress the popup for
if (forms && forms.indexOf(formId) != -1) {
//suppress the popup for this form
} else {
//fallback to the original handler for other forms
originalFn(forms, msg);
}
}
}
//swap out the function with our custom one.
CAF.ErrorHandler.handleFormValidationError = window.customFormValidationErrorHandler;
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods