why don't set the placeholder attribute for contact field?
edit

$form['name']['#attributes']['placeholder'] = array(t('Enter your name'));


to

$form['name']['#attributes']['placeholder'] = t('Enter your name');


then execute "flush all caches"