• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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 with the browser for this method to work. In addition, some browsers put up a warning when submitting forms in this fashion.

Q2:Why can't I see my form elements in Netscape?
A2: If your form elements aren't showing up, they must not be inside of <form> tags. Netscape hides form elements that are not inside a form.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint