rice-framework/krad-web/src/main/webapp/krad/scripts/krad.document.js
/**
 * KULRICE-7339. A patch to disable validation on all required fields, except document header description,
 * when the Action Requested select control for Ad Hoc Recipients has a value of COMPLETE.
 *
 * @returns {boolean} true if all fields requiring validation are valid, false otherwise
 */


@returns {boolean} true if all fields requiring validation are valid, false otherwise
@returns { boolean } true if all fields requiring validation are valid false otherwise
function isRouteToComplete(kradRequest) {
    var $fieldsToSkip = jQuery(".required").not("input[name='document.documentHeader.documentDescription']");
    var valid = validatePartialForm($fieldsToSkip, isAdHocComplete);
    if (!valid) {
        clearHiddens();
    }
    return valid;
}
function isRouteToComplete ( kradRequest ) { var $fieldsToSkip = jQuery ( ".required" ) . not ( "input[name='document.documentHeader.documentDescription']" ) ; var valid = validatePartialForm ( $fieldsToSkip , isAdHocComplete ) ; if ( ! valid ) { clearHiddens ( ) ; } return valid ; }
KULRICE-7339.
KULRICE - 7339 .