All pastes #268545 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-05 20:28 UTC
rendered paste body

<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 ?')
	}
	">