Got money?
Google "web survey tool" or similar for generator tools.  Or pay a service to use their servers & software.
Otherwise:
- write html for form
- form POSTs to script page
- script page (easy) appends new pipe-separated line to text file -or- (harder) adds record to database
Counting coding and debugging time, paying for a tool or service might make much more sense than doing it yourself.