Topic: DESIGN AND PROGRAMMING Submitted on:
Ammas.com
Subject: hi, I designed one website.i would like...
hi, I designed one website.i would like to add contact us form.am not a verygood programmer.anybody tellme how to add.in that contact form mainly email address.that email msg should receive my website.my host is cuteftp. is there anycoding give to try.greateful response i would appreciate.thanks in advance.
(Rated by 3 Council Members)
[ This query closed ]
Response from:
jes sree, Registered Member on
Ammas.com
Source:
This information comes from my own knowledge.
Response from:
Bhargava BVN, Registered Member on
Ammas.com
Source:
This information comes from my own knowledge.
search for a free form generator or visit sites like phpform.net,freecontactform.com/email_form.php,hotscripts,etc and create ur own form and upload it using ur ftp client. If u need a customized form contact me ,will get it done at an economical price
If you have a very small list (less than 100 subscribers) you can set things up without paying a dime. Here's what you'll need:
A form on your website to collect the prospects' names and email addresses.
The FormMail.cgi script in your cgi-bin to covert the submitted information into a readable format.
An email program such as Eudora or Outlook that allows you to create a mailing list or send blind carbon copy (BCC) emails. If you have a computer running Windows, you will most likely have a copy of the email client Outlook Express already on your computer. You can download a free copy of Eudora from http://www.eudora.com….
First, check to make sure your hosting company has provided you with FormMail.cgi. Almost all do. Use a program such as WS_FTP or Cute FTP to log in to your domain via file transfer protocol (FTP) and open up the folder called cgi-bin. Inside should be FormMail.cgi. If you cannot find the file, email your host to inquire or search for a copy online.
If it is there, then you can proceed to adding the form to your website that will collect the name and email address of each prospect. Open up your web page editor (such as Dreamweaver or FrontPage) and add the following HTML code in the location you want the form to be.
This is an example of a simple feedback form. The user types the appropriate information into the three text boxes and then clicks on the "Submit" button to send the data as an email to the designated recipient (you).
How This Form Works
What's going on behind the scenes can be roughly divided into two parts. The first part is the HTML source code that actually renders this form in a web page. In this source code, each of the three text input boxes is identified by a unique "control name".
The second part of the form is a form mail script (kind of like a little program) that is configured and placed in a special folder in your website's root directory called cgi-bin. When the user clicks on the Submit button, the form calls the form mail script into action. The form mail script uses the text box control names to collect and organize the information entered into the form and then sends it off as an email.
Most webmasters will only concern themselves with how to render the form using HTML source code and then afterward download and install a ready-made form mail script to process it. There are many free ready-made form mail scripts to be had out there on the internet. If you're looking for a quality open-source (free) form mail script, I personally recommend NMS FormMail. For more information, please see Installing NMS FormMail.
Okay so let's deal with the first part of our simple feedback form which is the HTML source code required to create it.
Creating forms starts with the form element which acts as a container for all the other special elements that are used to render various form components. The form element has a start tag
and has two important attributes, action and method, which are described below: action ~ The value of the action attribute contains the URL to the script that will process the form (we'll get to that later...) method ~ The value of the method attribute is either GET or POST. You will use one or the other depending on the requirements of the script processing the form. The method most commonly used is POST. So far then, the HTML source code to our feedback form looks like this:
To help with layout and presentation, the
tags may also contain most other HTML elements but, with the exception of tags, we'll leave them out for now to keep this tutorial simple.
Text Boxes
Now let's create the text boxes used in our simple feedback form. The two HTML elements used to create text boxes (also known as text fields) are input and textarea. These are described below: input ~ The input element will create a single-line text box when the type="text" attribute value pair is used. Only the start tag is used. The end tag is omitted. You will also require a name="control_name" attribute-value pair where control_name equals the control name (whatever you want) that you assign to this text box. This control name will be used by the script that processes this form to retrieve the data entered into this text box. Each input text box must have a different control name.
So if we insert the following code inside our form element:
Your name:
Your email:
textarea ~ The textarea element creates a multi-line text box. It requires both a start tag and the rows and cols attributes are used in the start tag to define its display size. These attributes are described below:
rows="number_of_lines" — This attribute-value pair specifies the height according to the number of text lines you wish the textarea box to display. cols="width_in_characters" — This attribute-value pair specifies the width according to the number of character widths you wish textarea box to display.
Also, like the input text boxes, we have to include the name="control_name" attribute-value pair where control_name equals the control name (whatever you want) that you assign to this text box. Hence if we insert the following code inside our form element:
Get the latest queries and responses via Important Disclaimer: This question and answer system is open to the public. The opinions expressed are those
of their individual authors, as attributed beside each item of advice. Neither the authors nor the information they
provide are endorsed by this website. We recommend using common sense, making your own inquiries, and, if necessary,
seeking professional advice before relying on material generated on this site.