cgi, python and forms

Michael Ströder michael.stroeder at inka.de
Fri Mar 3 15:52:47 CET 2000


Akhar wrote:
> 
> I woud like to know how can I tell my python cgi script to differenciate
> these two:
> <P><INPUT TYPE="SUBMIT" VALUE="SEND"></P>
> <P><INPUT TYPE="SUBMIT" VALUE="m"></P>
> I am using the cgi module but can't find any info on these.

By using <INPUT TYPE="SUBMIT" NAME="SUBMITFIELD" VALUE="m"> and
reading the value of field SUBMITFIELD.

Ciao, Michael.



More information about the Python-list mailing list