If you need to add "confirm" step in your cakephp script, you can try this:
http://www12.atwiki.jp/nezox/pages/6.html
CakePHPまとめ@Wiki を始めた方がいらっしゃるようです。
参考になりますね。
POST で判別して、
if(@$_POST['mode']=='confirm')
{
if(!$this->Login->validates($this->params['data']))
{
$this->render();
}
else
{
$this->set('form', $this->params['form']);
$this->set('data', $this->params['data']);
$this->render("confirm");
}
}
とするのがミソです。
2006年07月31日
この記事へのコメント
コメントを書く
この記事へのトラックバック




