Using CGI to Improve HTML Forms
HTML Forms and CGI
CGI scripts can be used to make HTML forms more effective and interactive.
The following form is configured to activate a CGI script when it is filled and submitted.
Try to submit the form without filling in the required fields and see what happens.
Once you fill the form properly and submit it you are taken to a Thank You page. You may also get an e-mail in your mailbox.
These actions are the result of CGI scripts being activated on the server.