Form Input fields and SetFocus

Hi guys, Im makeing a form right now, and Im using setFocus to clear the input fields on selection(ie: each field name is by default inside the field, and selecting a field clears its text ready for user to update)…The bit im stuck on is getting the input fields to reset to the name, if and ONLY if nothing is added by the user. hope this makes sence…

I am using a function to do this on all fields, rather than individual set/kill focus calls for each field(there are over 20 field possibilities) …don’t really want to do individual onKillFocus, but if i have to i have to… any ideas?