function eraseValue(FormFieldObj) { if (FormFieldObj.value == FormFieldObj.defaultValue) FormFieldObj.value = ""; }