function noSpecialChars(v_name, v_prompt) {     
// Searchs the fra_name field for special chars    
tmp_str = "";     
len = 0;   
j = 0;    var error_found = ""; 
len = v_name.length;    
for( j = 0; j < len; j++ ) {     
    tmp_str = v_name.charAt(j); 
    if ( (tmp_str == "\\") || 
         (tmp_str == "'")  || 
         (tmp_str == "<")  || 
         (tmp_str == ">")  ||
         (tmp_str == "\"") ||
         (tmp_str == "&")  ||
         (tmp_str == "%")  
       ) 
    {  
      error_found = " The following special characters are not allowed in " + v_prompt + ":\n '     \"   <   >   \    \\   %   &  \n";   
     }    
 }     
 return error_found;       
}  

