Advanced topics on HTML forms

What is a Formmail script?

A Formmail script collects the data submitted in a form and sends the data to a given email address.

A formmail is the easiest way to collect data from the HTML forms. These are CGI programs or scripts installed on the server side.

Most of the ISPs provide form-mail script for free. In addition, there are free open source formmail scripts available in the web
Read more about formmail here: Sending HTML form data to an email address
. Also see: Email Form 'HowTo's.

Now it is possible to design your form, get it online and receive form submissions without writing code. You can use Simfatic Forms to create feature-rich web forms. See the article: How to make a web form and get it online quickly

What is a Secure Form ?

 When you submit data using a form, it is sent as 'plain text'. Somebody listening to the network communication can trap the data. In the html forms where very sensitive information (such as credit card number) is supplied, this can turn to be a security risk.
In such cases, a secure form is used. There is not much difference in the html code of the form. The difference is in the server configuration and the ACTION URL.A secure form will have its ACTION URL pointing to a URL starting with
https://
like this: (from hotmail login page)
<form name="passwordform" action="https://lc3.law5.hotmail.passport.com/cgi-bin/dologin"
method="POST" target="_top" >


In this case, the browser will communicate to the server using SSL(Secure Socket Layer) the data sent will be encrypted.

Next time when you submit very critical information like your credit card number in a web page form, make sure that it is a secure form!


You have learned how to create a form using HTML in this tutorial. But, in order to use the power of html form, you have to learn a server side scripting language like PHP, Perl, JSP, or ASP. My personal recommendation is PHP as it is very easy to learn and program.

Happy programming!
<< Prev: Advanced Input Elements Javascript Form Handling

  • Digg
  • del.icio.us
  • Netscape
  • Reddit
  • StumbleUpon
  • Technorati
  • YahooMyWeb

How to make a form without coding? Click here for a demo.

Follow me on twitter

HTML Forms
HTML Form Tutorial
The Form Tag
The Form Submit Button
Form design software
How to make a web form
Make web forms quickly, without coding

Javascript Form Handling
  Basics
Using getElementById to get the elements in a form
Set value of form element using JavaScript
Get value of form element using JavaScript
Handling multiple forms using JavaScript
JavaScript reset/clear a form
  Advanced
JavaScript Form Validation
Submitting a form using JavaScript
Can JavaScript Email a Form?
Switching the form action field dynamically
JavaScript Button

JavaScript Popup Windows
The window.open method
The window.close method
More ...

 
.   Copyright © 2003-2009 JavaScript-coder.com. All rights reserved.