< HTML> ValidateEnter Your Profession: name="theButton" value="SUBMIT QUERY" onClick="checkLawyer(window.document.theForm.userProf.value)";>