I'm very new to the concept of writting a CGI. I've programmed in a few other languages and started learning pearl several months ago, however I have never messed with HTML before.
Anyways I am wanting to write a script that will have several menus each with various selections of positive and negitive numbers. The script should perform the math on the numbers and print the total in a box below them. I'm wanting this to be a dynamic document. If the user changes one of the menu options it will submit that new option perform the math and print the new result.
So far I think I've solved and learned most of how to do this. The main problem I'm currently having is I cant figure out how to get the menu to submit its new value without making a submit button. I have seen people do it other ways and I was wondering how to do that with CGI.pm.
The next area I might have fun trying to play with is keeping state in this document. I saw that CGI.pm gives me some ways to do this but I wasnt the most clear on how.
If anyone of the kind folks here can give me some advice on my main problem or on my script in general it would be wonderful.
In reply to CGI Menu submit by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |