3

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've set birthdate to date. Now Cakephp spits out three select boxes, which I absolutely adore. BUT it also spits out two ugly dashes / hyphens in between, which I want to get rid of.

SELECTBOX - SELECTBOX - SELECTBOX

any suggestions?

1 Answer 1

6

There is a separator option you can specify:

'separator' => 'YOUR_SEPARATOR'
Sign up to request clarification or add additional context in comments.

2 Comments

even more than exactly what I was hoping for. Thank you so much!
I could have sworn this was spelled "seperator". Doh. That's why it didn't work for me! Reminds me of my first html experiences, and the "colour" css not working...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.