Display date picker not inline in Drupal 7 Forms API I have installed Date Picker Module and it works fine. 



Below is the code:

$form['date'] = array(
    '#title' =&gt; t('Select your birthdate'),
    '#type' =&gt; 'datepicker',
    '#date_format' =&gt; 'd/m/Y',
    '#date_year_range' =&gt; '-100:+0',
    '#default_value' =&gt; date("Y-m-d H:i:s", time()),
);


I want to display not it inline. I want it to be a textfield and when the focus is on the textfield, the calendar will pop-up. What configuration should I tweak to make it possible? Thanks.
Have you tried using DatePicker inline module? 

From module page: 


  This module permits inline rendering of date's popup widget. That is,
  it display the datepicker embedded in the page instead of in an
  overlay.
  
  It integrates with field API, form API and views exposed
  filters (via date_views).