If you're open to using a different _javascript_ framework...take a look at this:

http://www.satyam.com.ar/yui/2.6.0/assortedControls.html

It's a YUI datatable that allows for editing and server-side validation and saving.  I use this technique on two of my pages.  It's really cool.

-tim

Iceberg wrote:
On Dec20, 12:05am, fja <[email protected]> wrote:
  
Hello, is there a way to edit multiple records at once in a form?

Say you have a table

StudentName (string)
Term1 (string)
Term2 (string)

I would like to have a form similar to this.

Student Name         Grade Term 1       Grade Term2
Roger                                  A                       __
Cindy                                  B                       __

[Submit]

I would like to be able to enter the grades for term 2 in one go (like
an Excel Sheet) and press submit to have it stored in the db.

Thank you
    

I do not know an elegant way to do that.
But I just want to say, whatever trick you choose, do not try to use
more than one form in one page. I tried but did not work, probably due
to some builtin form id checking function to avoid multi-submit.

  

-- 
Timothy Farrell <[email protected]>
Computer Guy
Statewide General Insurance Agency (www.swgen.com)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to