// JavaScript Document

function checkFields() {

missinginfo = "";

if (document.myform.fname.value == "") {

missinginfo += "\n - Full Name";

}

if (document.myform.country.value == "") {

missinginfo += "\n - Country";

}



if (missinginfo != "") {


missinginfo = 

"You have not filled correctly the following fields:\n" +

missinginfo;

alert(missinginfo);

return false;

}

else 

return true;

}