Added code to validate any empty submitted form.