diff --git hint.module hint.module
index d1f5a7f..7dcfb99 100644
--- hint.module
+++ hint.module
@@ -60,6 +60,33 @@ function hint_pre_render($element) {
 }
 
 /**
+ * After build function to set #hint properties.
+ *
+ * This function can be used with CCK fields. for exmaple:
+ * @code
+ *   // The title of the field will be used as the hint and the title will be
+ *   removed.
+ *   $form['field_foo'][0]['#after_build'][] = 'hint_after_build';
+ *
+ *   // The title of the field will remain, and the given hint will be used.
+ *   $form['field_bar'][0]['#hint'] = t('Bar hint');
+ *   $form['field_bar'][0]['#after_build'][] = 'hint_after_build';
+ * @endcode
+ */
+function hint_after_build($element) {
+  if (empty($element['#hint'])) {
+    $element['value']['#hint'] = $element['#title'];
+    // Remove the title.
+    unset($element['value']['#title']);
+  }
+  else {
+    $element['value']['#hint'] = $element['#hint'];
+  }
+
+  return $element;
+}
+
+/**
  * Implementation of hook_form_alter().
  */
 function hint_form_alter(&$form, $form_state, $form_id) {
