function checkBlank(userInput)
{
    if(userInput=="")
    {
        return true;
    }
}
function checkLength(userInput)
{
    if(userInput.length>20)
    {
        return true;
    }
}

function checkSplCharacters(userInput)
{
    var format = /[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]+/;
    if(format.test(userInput)){
    return true;
    } else {
    return false;
    }
}

function checkNumbers(userInput)
{
    var format = /[0123456789]/;
    if(format.test(userInput)){
    return true;
    } else {
    return false;
    }
}