title: Creating date field with only month and year - Drupal
body: <p>I am creating a credit card form in Drupal. I need a date select field where users can select their credit card expiry date, which consists of only Month and Year -No Day.</p>
  
  <p>The Drupal form <code>#type</code> 'date' produces a date chooser, which has <code>day-month-year</code> option. I just need <code>month-year</code>. Any help?</p>