Ranjan schrieb: > Hi, > > While following the tutorial at > http://docs.turbogears.org/1.0/RemoteFormWidgetTutorial, > I added some field validations, as we normally do in Simple Form > Widgets. But it is silently skipped. > > Is it that validations do not work with AJAX and we have to do it > manually in the controller code? Being an AJAX beginner, needing > suggestions if there is some better way.
Validation definitely works with AJAX, since AJAX requests are perfectly normal HTTP request. What doesn't work (with manual tweaking) is widget form validation, since this relies on being able to resipaly the page (and the form) in case of validation errors. Please paste you code on http://paste.turbogears.org and post the linek here, so we can have a look. We can't help you, if we don't know what you are trying to do. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

