So to clarify, I'd be modifying the new rows on the client side,
correct?

On Nov 29, 9:47 pm, "Felipe Sodré Silva" <[EMAIL PROTECTED]> wrote:
> I don't see why it wouldn't.
>
> On Sun, Nov 30, 2008 at 3:42 AM, Zeroth <[EMAIL PROTECTED]> wrote:
>
> > Thanks Felipe for your quick answer. Does that still get validated
> > properly?
>
> > On Nov 29, 9:20 pm, "Felipe Sodré Silva" <[EMAIL PROTECTED]> wrote:
> > > You can easily add new rows to the form with ids 'rowN', where N is the
> > > number of rows, and also modify a hidden element that tells how many
> > > elements are there in the form so far. This is more elegant than string
> > > manipulation, and also more efficient.
>
> > > Cheers,
>
> > > Felipe
>
> > > On Sun, Nov 30, 2008 at 3:01 AM, Zeroth <[EMAIL PROTECTED]> wrote:
>
> > > > I'm making essentially a wishlist webapp(for fun). However, I would
> > > > like to make it so that the user can press a button, and add another
> > > > row for entering an item, via AJAX. My issue is making sure that the
> > > > webserver processes all the data properly. I've been looking at
> > > > formsets, and maybe using a combination of js on the client side and
> > > > string manipulation on the server side to make sure that the formset
> > > > validates every form. Is there a better way/smarter/pythonic way of
> > > > doing this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to