rice-middleware/web/src/main/webapp/kew/scripts/edoclite.js
/**
 * Registers an event handler in the "traditional" method
 * and fills in global regex, message, and validationRequired maps
 */
Registers an event handler in the "traditional" method
and fills in global regex, message, and validationRequired maps
Registers an event handler in the " traditional " method and fills in global regex message and validationRequired maps
function register(name, title, regex, message, validationRequired) {
    field_names.push(name);
    field_titles[name] = title;
    field_regexes[name] = regex;
    field_errorMessages[name] = message;
    field_validationRequired[name] = validationRequired == "true";
}
function register ( name , title , regex , message , validationRequired ) { field_names . push ( name ) ; field_titles [ name ] = title ; field_regexes [ name ] = regex ; field_errorMessages [ name ] = message ; field_validationRequired [ name ] = validationRequired == "true" ; }
Registers an event handler in the "traditional" method
 and fills in global regex, message, and validationRequired maps
Registers an event handler in the " traditional " method and fills in global regex message and validationRequired maps
//alert("registering " + name + " " + regex + " " + message + " " + validationRequired); // set the title for this field // set the regex for this field // set the error message for this field // set the error message for this field