Welcome to WebmasterWorld Guest from 220.127.116.11
I need to put together a simple webform to give people the chance to offer feedback on a variety of topics - once filled in it should be sent to an email address.
Just curious as to if there are any web-design do's and don'ts that I should be aware of before I make a mess of things?
Are you taking personal information? If so, secure the form using SSL.
How are you going to generate the email - HTML form handler or a script language like PHP? HTML form emailer is very basic with no formatting. A script language is a few shades better because you can add text and rearrange the form field data. It also allows you to do other nifty things like dump form data into a database or use logic to add other functionality.
Hacks - check your form fields before submitting if at all possible for hacks and malformed data.
As has been mentioned it comes down to what skills you have. What you need to do is the following.
Decide what information your form will ask for, decide what items will be required fields and work out exactly how the information will be sent.
In your case you want the message to be send as an email, most scripting languages such as PHP and Perl support this. you do however need to validate your form input before it is being sent.
Make sure the user can never see your email address, wither from the page or by viewing source.
make sure they are not able to specify a different email address. The receiver email address should be hard coded into the script file that handles the actual sendign of the message.
There is a lot more to it, what I would suggest is working out your basics then perhaps seeking further advice from one of the scripting forums on WebmasterWorld.
The form is very basic and just a selection of text boxes (from what I gather), although obviously it would be good to have checks on things like email addresses and phone numbers - I'll put more thought into it, but is there an internet guide to form creation that I could read up on when I get a moment?
Thanks also for all the concerns with regards to security - I'll be sure to run the final form and site by someone who can verify that it won't cause lots of problems.