What are you trying to do with the form? All you really need to do is put the path to the CGI script in the action parameter of your form tag.
If you need help coding the CGI check online for some CGI tutorials.
If you really get stuck, PM me and I'll send you some simple examples.