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

Q&A

Q1:I just want to email my form contents. I know 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 email form contents by putting in your email address as the action. Your email 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 email programs set up in a similar fashion to yours. An email program must be set up properly with the browser for this method to work. And, 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