com"
?? enctype="text/plain" onsubmit="window.alert('This form is being
?? sent by email. Thank you for contacting us.')">
Of course, this relies on JavaScript being active on the user??™s browser??”but, then again, this
is a last resort.
A layout for contact pages
Once you??™ve completed a form, you need to integrate it into your site in a way that most
benefits the site??™s visitors. I??™ve always been of the opinion that it??™s a good idea to offer
users multiple methods of contact on the same page. This makes it easy for them to contact
you, as it requires fewer clicks than the fairly common presentation of a form and link
to other contact details.
Note the enctype attribute in the previous code block. This defines the MIME type
used to encode the form??™s content before it??™s sent to the server, so it doesn??™t become
scrambled. By default, the attribute??™s value is application/x-www-form-urlencoded,
which is suitable for most forms; however, multipart/form-data is available for when
the user is able to use a form to upload files.
GETTING USER FEEDBACK
333
8
The following images show a couple of example layouts. The first is from the Thalamus
Publishing website, which has the contact form on the right (with a minimum of fields); to
the left is the other contact information??”address, telephone number, fax number, e-mail,
and so on, along with other addresses and details relevant to this organization (such as
sales representatives).
Pages:
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434