Forum Moderators: open
You will need to use some back end language scripting for this. You can use a form that will capture the contact information, but that has to be sent to a server side page that will collect the information, either storing it in a text file (eg CSV) or a database (eg mySQL).
Check with your hosting company to see what server side languages they support.
HTH