Why not? Auto-complete, will check for existing tags. Any new values you'll have to parse from a comma-separated string into an array and save. I don't know of any out-of-the box solutions specifically for cake, but there are some jQuery plug-ins, that help accomplish something like this.
On Nov 10, 6:16 pm, "Okto Silaban" <[EMAIL PROTECTED]> wrote: > Oh yeah, there is one more thing i forget to tell you. > > What I mean with the tags is, user can add any tags he wants. So the user > not just select pre-existed tag. So if i follow your suggestion, (which I > think would something like Facebook user search autocomplete), the user > can't add his own tag(s). > > Okto.Silaban.Net > > On Tue, Nov 11, 2008 at 3:54 AM, teknoid <[EMAIL PROTECTED]> wrote: > > > Look into some sort of auto-complete solution. > > jQuery has a few nice ones. > > > You'll need to parse and properly format the data for saving yourself. > > > On Nov 10, 3:31 pm, "Okto Silaban" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have this table relation : > > > > Post HABTM Tag > > > Tag HABTM Post > > > > Since maybe I'll have more than 400 tags, SELECT TAG for tags is not a > > good > > > choice for me. > > > All I want to do is as simple as save and edit post. But I want to > > display > > > tag input as text input (not as select input). > > > > Tags input will be looks like Wordpress tags input. > > > > View Example : > > > > Post Title : This is my CakePHP nightmare > > > Tags : cakephp, php, webdev <-- using text input > > > > Content : > > > bla..blba. bla.. > > > > Any help would be appreciated.. > > > > Okto.Silaban.Net > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
