On Mon, 2007-09-17 at 00:23 +0200, Christopher Lenz wrote: > So yeah, I want to be able to show previews of data that may at that > point not be valid. Imagine there's a form with 12 required fields, > and I want to enable users to see what their entry would look like > even before they've completely filled everything in. (Using some AJAX > tricks to do that without leaving the page.)
Since you're not leaving the page, couldn't you provide default values for the things that haven't been entered yet? Suppose the user gets something that they like the look of and then hits the submit button. Isn't it going to be a surprise that this preview they've been seeing and are happy with is not legal and they have to enter more stuff to get it? You could also maybe write a function that takes a form and creates a related form with much less rigid validation and then use that form until it's time to actually validate. Todd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
