I need help for my form validation.I dont get error msgs all at once but appears only at the first text of name 'first name' : my Html code:<body>
		
		<img id="logo2" src="logo2.jpg">

		<div id="request-container">
			
				<h2>REQUEST A DEMO</h2>

				<div id="request">
					
					<p>First Name *</p>
					<input id="1"  type="text">
					<span id="empty"></span>

					<p>Last Name *</p>
					<input id="2" type="text">
					<span id="empty"></span>

					<p>Email *</p>
					<input id="3"  type="email">
					<span id="empty"></span>

					<p>Phone *</p>
					<input id="4" type="tel">
					<span id="empty"></span>

					<p>Company Name *</p>
					<input id="5"  type="text">
					<span id="empty"></span>

					<p>Company Website *</p>
					<input id="6" type="email">
					<span id="empty"></span>

					<p>Country *</p>
						<select id="country">
							<option></option>
							<option>India</option>
							<option>USA</option>
							<option>Canade</option>
							<option>Australia</option>
							<option>China</option>
							<option>South Africa</option>
							<option>Russia</option>
							<option>Germany</option>
						</select>
					<span id="empty"></span>

					<div id="demo" onclick="return validateForm()">Schedule a Demo!</div>

				</div>
			

		</div>

My Javascript code:

<script type="text/javascript">

		function validateForm()
		{
			var ok=true;
			var first=document.getElementById('1').value;
			var last=document.getElementById('2').value;
			var email=document.getElementById('3').value;
			var phone=document.getElementById('4').value;
			var company=document.getElementById('5').value;
			var website=document.getElementById('6').value;

			if (first == "" || first== null) 
				{
						document.getElementById('empty').innerHTML="This field is required";
						ok=false;

				}

			if (last == ""|| last== null) 
				{
						document.getElementById('empty').innerHTML="This field is required";	
						ok= false;

				}

			if (email == ""|| email== null) 
				{	
						document.getElementById('empty').innerHTML="This field is required";	
						ok=false;

				}

			if (phone == "" || phone==null) 
				{
						document.getElementById('empty').innerHTML="This field is required";
						ok= false;

				}

			if (company == ""|| company== null) 
				{
						document.getElementById('empty').innerHTML="This field is required";
						ok= false;

				}

			if (website == ""|| website== null) 
				{
						document.getElementById('empty').innerHTML="This field is required";
						ok= false;

				}

			
			return ok;
		
		}

			document.getElementById('demo').onclick = function  () 

			{
				validateForm();
			}

		</script>
