Cakephp customizing date input helpers output

I got

echo $this->Form->input('birthdate', array( 'label' => __('Geburtsdatum', true)
                        , 'dateFormat' => 'DMY'
                        , 'minYear' => date('Y') - 70
                        , 'maxYear' => date('Y') - 10 ));

and in the model I set the date of birth to date. Cakephp now spits out three rectangles, which I absolutely adore. BUT it also spits out two ugly hyphens / hyphens between them that I want to get rid of.

SELECTBOX - SELECTBOX - SELECTBOX

any suggestions?

+3
source share
1 answer

There is an option separatorthat you can specify:

'separator' => 'YOUR_SEPARATOR'
+6
source

All Articles