Thanks i found what goes in my controller±
// Validator
var $validate = array('title' => array('rule' => array('between', 3,
255)));
But what else needs to go in my view and function..
Btw all characters goes wrong only on this page with my keyboard, no
other apps have this.
On 14 jun, 18:11, francky06l <[EMAIL PROTECTED]> wrote:
> very quick search in this groups gives a lot of threads: one of them :
>
> http://groups.google.com/group/cake-php/browse_thread/thread/a40053f4...
>
> On Jun 14, 5:58 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > Ah found it thx, is there any example on how to use validators with
> > the form class btw.
>
> > On 14 jun, 17:52, francky06l <[EMAIL PROTECTED]> wrote:
>
> > > Most of the html helper function concerning form have been moved to
> > > the form helpers. Check the form.php into the cake core files (ie :
> > > $form->submit)
>
> > > On Jun 14, 5:34 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > > > I get this error in 1.2 when i try the blog tut..
>
> > > > Warning (512): Method HtmlHelper::submit does not exist [CORE\cake\libs
> > > > \view\helper.php, line 148]
>
> > > > With code
>
> > > > <?php echo $html->submit('Save') ?>
>
> > > > It still is in the var of html.php though?
>
> > > > 'submit' => '<input type="submit" %s/>',
>
> > > > only no function anymore ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---