/**function checkTextField takes a string as parameter. 
If the string starts with a whitespace or contains any non-alphanumeric letters it returns false. Else it returns true**/
function checkTextField(param) {
  
   var regex = /^[a-zA-Z\s\dæøåÆØÅäöÄÖ]/;	
   
   if(param.charAt(0) == " ") {
      return false;
   }
   if(regex.test(param)){
      return true;
   }
   else{
      return false;
   }
}
