If, however, you prefer to feed options to your scripts, this is easily done as well. Using the above example, one simply need to add to the action line the command line argument prefaced with a question mark. If one wants to test for a string argument of '1', the line might look like this:
<form action="./test.cgi?1" method="post">
In the subsequent CGI script 'test.cgi', one would then have an if loop to test whether the argument is '1' or not.
x = sys.argv if x == '1': [do something] else: [do something else]