title: Cakephp form input with datepicker
body: <p>I have used cakephp form input control to generate input field for the date/datetime and it generates several dropdowns to select month, year day etc.  and it works fine.</p>
  
  <p>But my requirement was, i need to add jquery datepicker to the form element. I have done that by writing jQuery function in the head and it works fine. But everytime when i want to do this, i need to add the javascript stuff and need to manually specify the form control parameters.</p>
  
  <p>Rather than doing like this i would like to know, whether can i overwrite the default form input control for the date fields with datepicker within elements? I dont want to do any modifications in the cakephp core, I would like to create this as a seperate element so that i can override and use.</p>
  
  <p>Is it possible to do? if so can someone let me know how to do it?</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>Additional Info:</strong>
  I still want to use the following code to generate the datepicker field automatically.</p>
  
  <pre><code>echo $this-&gt;Form-&gt;input('date_of_birth');
  </code></pre>
  
  <p>When I type this code, it should automatically create the textbox with datepicker. That's what I'm looking to achieve.</p>