Q&A

Q1:I just want to e-mail my form contents. I know that in the next hour I'll learn about CGI and other scripting methods, but isn't there a quick and dirty way to do this?
A1: You can e-mail form contents by putting in your e-mail address as the action. Your e-mail address needs to be prefaced with “mailto” so that it looks like mailto:you@yourdomain.com. Additionally, you may need to add the attribute ENCTYPE=”text/plain” to the <form> tag.

This way of submitting a form may be fine for collecting form data on where your co-workers want to go to lunch on Friday. They all know and trust you (at least I hope they do), and they probably all have their e-mail programs set up in a similar fashion to yours. An e-mail program must be set up properly ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.