Neeraj Kumar
2007-Apr-25 23:51 UTC
Adding any number of email addresses by using ''add another email'' AJAX
In highrisehq.com by 37signls.com I see that you can add any number of email address by using ''Add another'' link. This is really nice feature. I am running into so many issues while implementing something similar. Is there a blog posting or a sample code which solves similar problem. Since a person uses :has_many emails association, I don''t know how to dynamically name the new rows of form that is yet to be submitted. Then there is issue of validation and if the email address is not in proper format then the email address entered by the user needs to be preserved. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Timo Springmann
2007-Apr-26 19:45 UTC
Re: Adding any number of email addresses by using ''add another email'' AJAX
Hi,> I am running into so many issues while implementing something similar. Is > there a blog posting or a sample code which solves similar problem.this might help: http://www.railsforum.com/viewtopic.php?id=1065 Regards, Timo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Neeraj Kumar
2007-Apr-27 14:31 UTC
Re: Adding any number of email addresses by using ''add another email'' AJAX
Thanks Timo. I didn''t know about that site. Awesome. - On 4/26/07, Timo Springmann <t.springmann-yM2StcZat7YdDX0dnZFiFbNAH6kLmebB@public.gmane.org> wrote:> > > Hi, > > > I am running into so many issues while implementing something similar. > Is > > there a blog posting or a sample code which solves similar problem. > > this might help: http://www.railsforum.com/viewtopic.php?id=1065 > > Regards, > Timo > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---