### チェックボックス/ラジオボタン
<?=$this->Form->create(null, ["type"=>"post", "url"=>["controller"=>"Hello", "action"=>"index"]])?> <input type="hidden" name="_csrfToken" value="<?= $this->request->getParam('_csrfToken') ?>"> <tr><th>CheckBox</th><td><?=$this->Form->checkbox("Form1.check", ["id"=>"check1"]) ?> <?=$this->Form->label("check1", "check box") ?> </td></tr> <tr><th>RadioButton</th><td><?=$this->Form->radio("Form1.radio", [ ["text"=>"mail", "value"=>"男性", "checked"=>true], ["text"=>"femail","value"=>"女性"] ]) ?></td></tr> <tr><th></th><td><?=$this->Form->submit("送信") ?></td></tr> <?=$this->Form->end() ?>
### 選択リスト
<?=$this->Form->create(null, ["type"=>"post", "url"=>["controller"=>"Hello", "action"=>"index"]])?> <input type="hidden" name="_csrfToken" value="<?= $this->request->getParam('_csrfToken') ?>"> <tr><th>Select</th><td><?=$this->Form->select("Form1.select", ["one"=>"最初","two"=>"真ん中","three"=>"最後"]) ?> </td></tr> <tr><th></th><td><?=$this->Form->submit("送信") ?></td></tr> <?=$this->Form->end() ?>
### 複数項目の選択
<?=$this->Form->create(null, ["type"=>"post", "url"=>["controller"=>"Hello", "action"=>"index"]])?> <input type="hidden" name="_csrfToken" value="<?= $this->request->getParam('_csrfToken') ?>"> <tr><th>Select</th><td><?=$this->Form->select("Form1.select", ["one"=>"最初","two"=>"2番目","three"=>"真ん中","four"=>"4番目","five"=>"最後"], ["multiple"=>true, "size"=>5]) ?> </td></tr> <tr><th></th><td><?=$this->Form->submit("送信") ?></td></tr> <?=$this->Form->end() ?>