On Mon, Jan 26, 2009 at 3:20 PM, James McLaughlin <[email protected]> wrote:
> I have struggled with forms inside a modal dialog for weeks now. I've > posted questions to many different sites and users and still no one has come > forward with a full working example of what I am looking for. So I will try > here and just maybe the ui team will read it and give a full working demo. > Nothing against the the dialog demos online but they are seriously weak in > explaining anything useful. I've seen here and many other sites > (stackoverflow) that people are looking for real world example when using > modal form dialogs. So here is what I think would be great.... > > > 1. Create a modal dialog that displays a form to the user. > 2. Upon submitting the form validate the data. > 1. If data good, return the user back to the parent page of the > dialog and update the fields (like a table). > 2. If data bad, report error to user in the open modal dialog. Allow > them to correct the data and resubmit. > > I know, sounds simple and everyone will say hey that is easy to do. Great, > then just give the jquery users a real working example that shows how easy > it was. > Here you are http://jquery-ui.googlecode.com/svn/trunk/demos/dialog/modal-form.html Let us know what you think. Thanks. - Richard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
