rice-framework/krad-web/src/main/webapp/krad/scripts/krad.actions.js
/**
 * Performs client side validation against the controls present in a collection line
 *
 * @param collectionName - name (binding path) for the collection
 * @param lineIndex - zero based index for the collection line
 */
Performs client side validation against the controls present in a collection line

@param collectionName - name (binding path) for the collection
@param lineIndex - zero based index for the collection line
Performs client side validation against the controls present in a collection line @param collectionName - name ( binding path ) for the collection @param lineIndex - zero based index for the collection line
function validateLine(collectionName, lineIndex) {
    var controlsToValidate = jQuery("[name^='" + collectionName + "[" + lineIndex + "]']");
    var valid = validateLineFields(controlsToValidate, true);
    if (!valid) {
        return false;
    }
    return true;
}
function validateLine ( collectionName , lineIndex ) { var controlsToValidate = jQuery ( "[name^='" + collectionName + "[" + lineIndex + "]']" ) ; var valid = validateLineFields ( controlsToValidate , true ) ; if ( ! valid ) { return false ; } return true ; }
Performs client side validation against the controls present in a collection line
Performs client side validation against the controls present in a collection line