dtrusty-U6r7FCv0h4VBDgjK7y7TUQ@public.gmane.org
2006-Sep-13 15:02 UTC
How can I send a pop-up window with a list of validation errors?
Hi, I know how to use the "flash" facility to show validation errors, but what if I have a form which can have several possible errors? How can I create a pop-up which contains a list of several model validation results? Thanks! David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Mike Scappa
2006-Sep-13 15:16 UTC
Re: How can I send a pop-up window with a list of validation errors?
just have your errors for wrapped in a positioned <div> On 9/13/06, dtrusty-U6r7FCv0h4VBDgjK7y7TUQ@public.gmane.org <dtrusty-U6r7FCv0h4VBDgjK7y7TUQ@public.gmane.org> wrote:> > > Hi, > > I know how to use the "flash" facility to show validation errors, but > what if I have > a form which can have several possible errors? > > How can I create a pop-up which contains a list of several model > validation results? > > Thanks! > > David > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---