gt;&lt;/script&gt;
&lt;script&gt;
$(document).ready(function(e) {
	$('#signup').submit(function() {
		$('#errors').html('');
		if ($('#first').val() === '') {
			$('#errors').append('&lt;p&gt;Please enter your first name.&lt;/p&gt;');
		}
		if ($('#last').val() === '') {
			$('#errors').append('&lt;p&gt;Please enter your last name.&lt;/p&gt;');
		} 
		if ($('#email').val() === '') {
			$('#errors').append('&lt;p&gt;Please enter your email address.&lt;/p&gt;');
		} 
		return false;
	});
});
&lt;/script&gt;

