Ok. I think you explanation sounds good to me. I didn't know that input() is a "helper of helpers" and I should have used text() instead to do input type of text. Otherwise I really did expect both input() and select() or any other FormHelper functions to behave similarly. Thank you.
On Mar 3, 4:42 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > input is like the helper of helpers it wraps a whole bunch of other > stuff to make your life 'easier' if you like easier and you like > cake's idea of output. The other parts of the form helper are the > pieces that input uses to create that output. > > Sam D > > On Mon, Mar 3, 2008 at 5:31 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I got a question for the usage of FormHelper->select() and FormHelper- > > >input(). I know that input() outputs a div wrapper containing a label > > and the input element while select() only outputs the select tags. Why > > is that? Shouldn't select() does the same thing (with a div wrapper > > and a label)? I feel they should be consistent in terms of what to > > expect from the output. > > > Thanks. > > -- > -- > (the old fart) the advice is free, the lack of crankiness will cost you > > - its a fine line between a real question and an idiot > > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/http://blog.samdevore.com/cakephp-pages/i-cant-bake/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
