Elegant solution for multiple forms on single page

Posted by NFicano on Stack Overflow See other posts from Stack Overflow or by NFicano
Published on 2011-01-11T01:44:24Z Indexed on 2011/01/11 1:54 UTC
Read the original article Hit count: 198

Filed under:
|
|
|
|

I'm building a web application (in Django) that will accept a search criteria and display a report - once the user is satisfied with the results, save both the criteria and a reference to these objects back to the database.

The problem I'm having is finding an elegant solution for having 2 forms:

  1. Display (GET) the results of their criteria.
  2. Enter in some descriptions, and save (POST) everything back to the database.

I'm leaning towards AJAX for the GET stuff and a POST for the save, but I wanted to make sure there wasn't a more elegant solution first.

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about django