rice-framework/krad-web/src/main/webapp/krad/scripts/krad.actions.js
/**
 * Runs client side validation on the entire form and returns the result (an alert is also given
 * if errors are encountered)
 */
Runs client side validation on the entire form and returns the result (an alert is also given
if errors are encountered)
Runs client side validation on the entire form and returns the result ( an alert is also given if errors are encountered )
function _validateForm() {
    validForm = jq("#kualiForm").valid();
    jQuery("div[data-role='InputField']").each(function () {
        var id = jQuery(this).attr("id");
        var field = jQuery("#" + id);
        var data = getValidationData(field);
        var parent = field.data(kradVariables.PARENT_DATA_ATTRIBUTE);
        handleMessagesAtGroup(parent, id, data, true);
    });
    clientErrorExistsCheck = false;
    messageSummariesShown = true;
    writeMessagesForPage();
    pageValidationPhase = false;
    return validForm;
}
function _validateForm ( ) { validForm = jq ( "#kualiForm" ) . valid ( ) ; jQuery ( "div[data-role='InputField']" ) . each ( function ( ) { var id = jQuery ( this ) . attr ( "id" ) ; var field = jQuery ( "#" + id ) ; var data = getValidationData ( field ) ; var parent = field . data ( kradVariables . PARENT_DATA_ATTRIBUTE ) ; handleMessagesAtGroup ( parent , id , data , true ) ; } ) ; clientErrorExistsCheck = false ; messageSummariesShown = true ; writeMessagesForPage ( ) ; pageValidationPhase = false ; return validForm ; }
Runs client side validation on the entire form and returns the result (an alert is also given
 if errors are encountered)
Runs client side validation on the entire form and returns the result ( an alert is also given if errors are encountered )
// Validate the whole form
 // Handle field message bubbling manually, but do not write messages out yet
 // Toggle the flag back to default
 // Message summaries are going to be shown
 // Finally, write the result of the validation messages
