Hi I have configured hint to work with user-register template. It works like a charm for email and name input but not for password because there is a javascript function to match password.

Here is my preprocess function:

function ninesixty_preprocess_user_register(&$vars) {

	unset($vars['form']['name']['#title']);
	unset($vars['form']['name']['#description']);
	$vars['form']['name']['#hint'] = t('Nom');
	
	unset($vars['form']['mail']['#title']);
	unset($vars['form']['mail']['#description']);
	$vars['form']['mail']['#hint'] = t('Email');
	
	unset($vars['form']['pass']['pass1']['#title']);
	unset($vars['form']['pass']['pass1']['#description']);
	$vars['form']['pass']['pass1']['#hint'] = t('Password');
	
	unset($vars['form']['pass']['pass2']['#title']);
	unset($vars['form']['pass']['pass2']['#description']);
	$vars['form']['pass']['pass2']['#hint'] = t('Confirm Password');


  // That's where $form_markup is created
  $vars['form_markup'] = drupal_render($vars['form']);

Is it a bug ?