Setting date_popup year range to more than the 3 years default in Drupal 7 I have a custom module and using date_popup. Currently the popup only shows a 3 year range in the date popup.

  $form['startdate'] = array(
    '#type'       =&gt;  'date_popup',
    '#title'      =&gt;  'From',
    '#default_value'  =&gt;  filter_get('browse-startdate'),
    '#date_format'    =&gt;  'Y-m-d',
  );


What is needed to make the range higher?
Use the following option in the array: 

    '#date_year_range' =&gt; '-8:+8'


That goes up to 8 years or more. Generally you don't use minDate as that only goes back up to 3 years only.