Re: Form Generation using form helper ..Form data not getting stored to DB.

2008-02-03 Thread Tim Wild
To add to this, if it works when you hand code the form, but not when cake generates the form, the obvious place to start is to work out how the generated form is different from the hand coded form. MrTufty wrote: > You don't mention which version you're using, but I'm going to assume > 1.2 bec

Re: Form Generation using form helper ..Form data not getting stored to DB.

2008-02-03 Thread MrTufty
You don't mention which version you're using, but I'm going to assume 1.2 because of the $form code. Really, we need to see your controller code to figure this out, but it should be something like this: ... in users_controller.php function register() { if(!empty($this->data)) { if($thi

Form Generation using form helper ..Form data not getting stored to DB.

2008-02-03 Thread swiftguy
Hello Experts, Im a newbie and trying to master cakephp through the IBM's 'Cook up Web sites fast with CakePHP' In this tutorial they have listed a form helper example ..following is the code snippet Please fill out the form below to register an account. create('User', array('action' => 'regist