I have a Perl CGI program in which I created an HTML form. If someone clicks a button in this form, the CGI / Perl routine in this file is executed. Since I have several buttons on the form, I set their types to "Button", not "Submit."
This is a bookstore website, I have three buttons for books (for example, my buttons are “science fiction”, “fiction” and “poem”). and I have to use buttons. After pressing each button, a list of such books is displayed, and the user can select books. I should not use javascript: it should be controlled by CGI.
Shadi source
share