Change Number of Values in CCK Filefield/Upload
/**
 * Implementation of hook_form_alter().
 */
function YOURMODULENAME_form_alter(&amp;$form, $form_state, $form_id) {
  if ($form_id == 'content_field_edit_form') {
    $form['field']['multiple']['#options'] = array(1 =&gt; t('Unlimited'), 0 =&gt; 1) + drupal_map_assoc(range(2, 24));
  }
}