Track if a user has populated the current field

Insert the code into the onBlur event of a field to prompt the user to populate the field if it is blank and they attempt to exit the field with the mouse or tab button

if (this.value == '') {
	alert('You must enter a subject to proceed.');
	setTimeout('this.focus()', 1) ;

Posted by fbrefere001 on Wednesday January 28, 2004