Change size of the time textbox I want to change the size of the time textbox but I can't find a way to do it.

    $form['feld']['start'] = array(
        '#type' =&gt; 'date_popup',
        '#title' =&gt; 'Start',
        '#size' =&gt; 10,
        '#date_formant' =&gt; 'd.m.Y',
        '#date_year_range' =&gt; '0:+1', 
        '#default_value' =&gt; date('Y-m-d H:i'),
        '#date_timezone' =&gt; 'Europe/Rome',
        '#date_increment' =&gt; 15,    
        '#required' =&gt; TRUE,
);


'#size' =&gt; 10 only effects the date textbox.

This is an example.


  


How do I alter also the size of the textbox used for the time?
Looking at the source code it appears that both date and time have a #size key. I don't have time to test this, but you might be able to access it from the 'time' element of the field.

$form['feld']['start']['time']['#size'] = 10;