function ForceMoney(objField, FieldName){
    var strField = new String(objField.attr("value"));

    if (isWhitespace(strField)) return true;

    var i = 0;

    for (i = 0; i < strField.length; i++)
        if ((strField.charAt(i) < '0' || strField.charAt(i) > '9') && (strField.charAt(i) != '.')) {
            errorMessage = FieldName + " must be a valid numeric entry.Please do not use commas or dollar signs or any non-numeric symbols.";
            DisplayError(objField,errorMessage);
            objField.focus();
            return false;
        }

    return true;
}
//   else it displays an error message
else it displays an error message
else it displays an error message
function ForceMoney(objField, FieldName){
    var strField = new String(objField.attr("value"));
    if (isWhitespace(strField)) return true;
    var i = 0;
    for (i = 0; i < strField.length; i++)
        if ((strField.charAt(i) < '0' || strField.charAt(i) > '9') && (strField.charAt(i) != '.')) {
            errorMessage = FieldName + " must be a valid numeric entry.Please do not use commas or dollar signs or any non-numeric symbols.";
            DisplayError(objField,errorMessage);
            objField.focus();
            return false;
        }
    return true;
}
function ForceMoney ( objField , FieldName ) { var strField = new String ( objField . attr ( "value" ) ) ; if ( isWhitespace ( strField ) ) return true ; var i = 0 ; for ( i = 0 ; i < strField . length ; i ++ ) if ( ( strField . charAt ( i ) < '0' || strField . charAt ( i ) > '9' ) && ( strField . charAt ( i ) != '.' ) ) { errorMessage = FieldName + " must be a valid numeric entry.Please do not use commas or dollar signs or any non-numeric symbols." ; DisplayError ( objField , errorMessage ) ; objField . focus ( ) ; return false ; } return true ; }
else it displays an error message
else it displays an error message