Re: Form Validation does not work on Cake 1.3.6

2011-01-20 Thread Gaetan Allart
I'm using 1.3.6.

Gaëtan

2011/1/19 Amit Badkas amit.sanis...@gmail.com

 Hi,

 If you are having 'call to a member of a non-object' error for $this-Form
 then I doubt you are using CakePHP 1.2.x and not 1.3.x

 Amit Badkas

 PHP Applications for E-Biz: http://www.sanisoft.com



 On Wed, Jan 19, 2011 at 5:38 AM, Kh3ops gaetan.all...@gmail.com wrote:

 Actually, I baked my application and form validation is working fine
 now.

 As far as $this is concerned. I would love to use it but it doesn't
 work : call to a member of a non-object...

 Gaëtan

 On 11 jan, 05:03, Amit Badkas amit.sanis...@gmail.com wrote:
  Hi,
 
  Your description of the validation problem is too less to give any
  suggestion. Also about the usage of $form instead of $this-Form, you
 can
  use $form in CakePHP-1.3.x but it will be removed in future versions and
  that's why you have to use $this-Form.
 
  Amit Badkas
 
  PHP Applications for E-Biz:http://www.sanisoft.com
 
  On Mon, Jan 10, 2011 at 6:38 AM, Kh3ops gaetan.all...@gmail.com
 wrote:
   Hi,
 
   I installed cake 1.3.6 on PHP 5.3.3.
 
   I've just run through the blog tutorial and everything's working
   fine except form validation.
   For an unknown reason, validating an empty form works and databases is
   filled with empty records.
 
   Here is what I used in my model code :
 
var $validate = array(
  'title' = 'notEmpty'
  );
 
   Any idea?
 
   Compared to the tutorial, I also had to use $form() instead of $this-
   Form() functions in templates files. Do you know why?
 
   Thanks for your help,
 
   Gaëtan
 
   Check out the new CakePHP Questions sitehttp://cakeqs.organd help
 others
   with their CakePHP related questions.
 
   You received this message because you are subscribed to the Google
 Groups
   CakePHP group.
   To post to this group, send email to cake-php@googlegroups.com
   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help
 others with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


  --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.



 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Form Validation does not work on Cake 1.3.6

2011-01-19 Thread Amit Badkas
Hi,

If you are having 'call to a member of a non-object' error for $this-Form
then I doubt you are using CakePHP 1.2.x and not 1.3.x

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Wed, Jan 19, 2011 at 5:38 AM, Kh3ops gaetan.all...@gmail.com wrote:

 Actually, I baked my application and form validation is working fine
 now.

 As far as $this is concerned. I would love to use it but it doesn't
 work : call to a member of a non-object...

 Gaëtan

 On 11 jan, 05:03, Amit Badkas amit.sanis...@gmail.com wrote:
  Hi,
 
  Your description of the validation problem is too less to give any
  suggestion. Also about the usage of $form instead of $this-Form, you can
  use $form in CakePHP-1.3.x but it will be removed in future versions and
  that's why you have to use $this-Form.
 
  Amit Badkas
 
  PHP Applications for E-Biz:http://www.sanisoft.com
 
  On Mon, Jan 10, 2011 at 6:38 AM, Kh3ops gaetan.all...@gmail.com wrote:
   Hi,
 
   I installed cake 1.3.6 on PHP 5.3.3.
 
   I've just run through the blog tutorial and everything's working
   fine except form validation.
   For an unknown reason, validating an empty form works and databases is
   filled with empty records.
 
   Here is what I used in my model code :
 
var $validate = array(
  'title' = 'notEmpty'
  );
 
   Any idea?
 
   Compared to the tutorial, I also had to use $form() instead of $this-
   Form() functions in templates files. Do you know why?
 
   Thanks for your help,
 
   Gaëtan
 
   Check out the new CakePHP Questions sitehttp://cakeqs.organd help
 others
   with their CakePHP related questions.
 
   You received this message because you are subscribed to the Google
 Groups
   CakePHP group.
   To post to this group, send email to cake-php@googlegroups.com
   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Form Validation does not work on Cake 1.3.6

2011-01-18 Thread Kh3ops
Actually, I baked my application and form validation is working fine
now.

As far as $this is concerned. I would love to use it but it doesn't
work : call to a member of a non-object...

Gaëtan

On 11 jan, 05:03, Amit Badkas amit.sanis...@gmail.com wrote:
 Hi,

 Your description of the validation problem is too less to give any
 suggestion. Also about the usage of $form instead of $this-Form, you can
 use $form in CakePHP-1.3.x but it will be removed in future versions and
 that's why you have to use $this-Form.

 Amit Badkas

 PHP Applications for E-Biz:http://www.sanisoft.com

 On Mon, Jan 10, 2011 at 6:38 AM, Kh3ops gaetan.all...@gmail.com wrote:
  Hi,

  I installed cake 1.3.6 on PHP 5.3.3.

  I've just run through the blog tutorial and everything's working
  fine except form validation.
  For an unknown reason, validating an empty form works and databases is
  filled with empty records.

  Here is what I used in my model code :

   var $validate = array(
         'title' = 'notEmpty'
         );

  Any idea?

  Compared to the tutorial, I also had to use $form() instead of $this-
  Form() functions in templates files. Do you know why?

  Thanks for your help,

  Gaëtan

  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
  with their CakePHP related questions.

  You received this message because you are subscribed to the Google Groups
  CakePHP group.
  To post to this group, send email to cake-php@googlegroups.com
  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Form Validation does not work on Cake 1.3.6

2011-01-10 Thread Kh3ops
Hi,

I installed cake 1.3.6 on PHP 5.3.3.

I've just run through the blog tutorial and everything's working
fine except form validation.
For an unknown reason, validating an empty form works and databases is
filled with empty records.

Here is what I used in my model code :

 var $validate = array(
'title' = 'notEmpty'
);

Any idea?

Compared to the tutorial, I also had to use $form() instead of $this-
Form() functions in templates files. Do you know why?

Thanks for your help,

Gaëtan

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Form Validation does not work on Cake 1.3.6

2011-01-10 Thread Amit Badkas
Hi,

Your description of the validation problem is too less to give any
suggestion. Also about the usage of $form instead of $this-Form, you can
use $form in CakePHP-1.3.x but it will be removed in future versions and
that's why you have to use $this-Form.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Mon, Jan 10, 2011 at 6:38 AM, Kh3ops gaetan.all...@gmail.com wrote:

 Hi,

 I installed cake 1.3.6 on PHP 5.3.3.

 I've just run through the blog tutorial and everything's working
 fine except form validation.
 For an unknown reason, validating an empty form works and databases is
 filled with empty records.

 Here is what I used in my model code :

  var $validate = array(
'title' = 'notEmpty'
);

 Any idea?

 Compared to the tutorial, I also had to use $form() instead of $this-
 Form() functions in templates files. Do you know why?

 Thanks for your help,

 Gaëtan

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 You received this message because you are subscribed to the Google Groups
 CakePHP group.
 To post to this group, send email to cake-php@googlegroups.com
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en