I want to provide the user with a hint on what he needs to enter into my text field. However, when I set the value, it does not disappear once a user clicks on the text fiel
You'd need attach an onFocus event to the input field via Javascript:
onFocus