Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
type=>numberの入力フォームフィールドの最小値をどのように設定しますか。MINIMUM値を0に設定する必要があるカウントフィールドがあります。
オプション配列で、「min」=>「0」を設定します
仕様に概説されているように、最小値と最大値を指定してみましたか?
echo $this->Form->input('name', array( 'type' => 'number', 'min' => 5 ));