function checkfieldss(strng) { var error = ""; for(var i = 0; i < strng.elements.length; i++){ if(strng.elements[i].value.length == 0){ error = "