﻿function FormatVoorletters(textfield) {
    var output = "";
    var input = textfield.value.toUpperCase();

    var indexer = 0;

    while (indexer < input.length) {
        var sub = input.substring(indexer, indexer + 1)

        if (sub != " " && sub != "." && sub != ",") {
            output += sub + ".";
        }

        indexer++;
    }

    textfield.value = output;
}
function FormatCode(textfield) {
    textfield.value = textfield.value.toUpperCase();
}
