I'm trying to port a CGI app to Quixote/mod_python and I'm struggling
with forms. By way of illustration here's an HTML snippet from the CGI
app:
<tr>
  <td>
    <form action="report.py" method="POST" name="int105">
       <input type="hidden" name="name" value="custname">
       <input type="hidden" name="custid" value="105">
       <input type="hidden" name="epochtime" value="1121903999">
       <a href="javascript:document.int105.submit();">custname</a>
    </form>
  </td>
  <td>data</td> <td>data</td> <td>data</td>
</tr>

The above represents 1 of many rows from a table displaying the results
of a database query. There is a "<form></form>" for each row in the
table and the form name (int105) is unique for each row.

So how do I do this in Quixote? Does Quixote allow for multiple
Quixote-type-forms on a page? How can I submit multiple form values
using an HREF instead of a button? I've played around with _q_lookup but
have yet to come up with something that works. Besides, I don't want to
display "custid" or any other hidden inputs in the URL or query string.

Please advise. PLEASE!
Steve Orr

_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to