<input class="veryimportant" type="submit" name="submit[confirmorder]"
value="PLACE ORDER" onclick="
if (document.getElementById('buyer').value == 'NULL' || document.getElementById('buyer').value == '' || document.getElementById('phone').value == 'NULL' || document.getElementById('phone').value == ''){
alert('Please fill in all the fields...\nIf you are already registered \nplease go to user info area and edit your account.');
return false;
} else {
return confirm('Are you sure you want to email this invoice to us and to you ?')
}
">