In reply to:Checking the fields one by one is crazy since we have so many different DCT
// See if all of the fields identified by the array fieldList are valid. Recursively checks replicantsfunction ValidateFields(fieldList) { var i; for(i=0;i<fieldList.length;i++) { // Is this field valid? Immediately return false if not if(!fieldList[ i ].isValid()) { return false; } // Recursively check our children return ValidateFields(fieldList[ i ].getChildren());}function myCalloutHandler() { // some logic if(!ValidateFields(IWDatacapture.getRootItems()) { alert("Please ensure that the form is valid"); IWDatacapture.setHighlightMode(true); IWDatacapture.redraw(); return false; } // Real processing goes here}