But if i don't use the formhelpers then how do i assign the error
message to them?

On 15 jun, 19:18, MrTufty <[EMAIL PROTECTED]> wrote:
> The link works fine here.
>
> If you don't need the div wrappers, don't use the form helper. Simple
> really.
>
> To create a form Cake can work with without using the form helper,
> specify the names of the input tags like data[Model][field] - that
> will then work without having to restructure the input. There's other
> ways to do it but I've not looked into them, I just use CSS to fix the
> layouts.
>
> On Jun 15, 5:46 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > hmm i see but this link does not seem to work?
>
> >http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-...
>
> > Also how do i use the form helper without it generating all sorts of
> > html i don't need like div wrappers 0_o
>
> > On 15 jun, 08:28, MrTufty <[EMAIL PROTECTED]> wrote:
>
> > > Actually, your var $validate line there should go in your model.
> > > Typo? :)
>
> > > As for the other stuff, check the links provided :)
>
> > > On Jun 14, 7:50 pm, Mech7 <[EMAIL PROTECTED]> wrote:
>
> > > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to