You can either use php or cgi to create your forms. CGI might be easier. PHP you'll have to work around a database and MSQL/CSV data logging etc.
Here's one I found for use with cgi scripts:http://www.formbuilder.org/
If you would like to go into php and databases, here are some form builders for that (I wasn't able to find any FREE form builders, so you'll probably have to buy it and then download the script. There are some free demos, I'm not sure exactly how far in depth they go though):http://phpforms.net/http://www1.kmita-mail.com/http://tools4php.com/form-wizard/index.html
One of the advantages though of php scripts is that you won't have to worry about bots spamming your form.
If you need any help, let me know.
"I would feel more optimistic about a bright future for man if he spent less time proving
that he can outwit Nature and more time tasting her sweetness and respecting her seniority."
E. B. White (1899 - 1985)