Actually I am trying to do this: http://railscasts.com/episodes/74-complex-forms-part-2
Any ideas on how to do that with hobo? On Feb 22, 1:25 pm, atmorell <[email protected]> wrote: > Hello, > > I have a form that is used for creating a Message. The Message model > creates a MessageCopy on save to the recipient(s). What would be the > best approach to add multiple recipients? (Ajax) I thought about > creating a temp model for storing the selected recipients, but that > would give me stalled unused records if the user does not send the > message. (close browser) > > Recipients > User3 remove-button > User8 remove-button > > Message: > form > recipient <--- field with autocomplete. > subject > body > > I kinda got it working by creating a form that submits the > autocompleted recipient in a session variable. (Array) It's not pretty > as I had to build some logic so that the user can't add the same > recipient twice, self etc. > > Any suggestions? > > Best regards. > Asbjørn Morell -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
