Updated foster.html/js to make sure that the required fields have been entered before submitting.