【发布时间】:2011-05-28 14:49:02
【问题描述】:
我明白了
echo $this->Form->input('birthdate', array( 'label' => __('Geburtsdatum', true)
, 'dateFormat' => 'DMY'
, 'minYear' => date('Y') - 70
, 'maxYear' => date('Y') - 10 ));
在模型中,我将生日设置为日期。现在 Cakephp 吐出三个选择框,我非常喜欢。但它也会在两者之间吐出两个难看的破折号/连字符,我想去掉它们。
选择框-选择框-选择框
有什么建议吗?
【问题讨论】:
标签: cakephp date input html-helper