Invite friends
I want  answers   advisors   relevant links   my network
Search 
For

How it works
  MEMBERS LOGIN
EMAIL ADDRESS  
PASSWORD  
 
Register!          Forgot password?


CATEGORY : DESIGN AND PROGRAMMING
All Design and Programming Advice
Unanswered Queries
FileAgent Document Exchange
Council Members
Advisor Rankings
Top Design and Programming Sites
Top Rated Advisors
NameAsk Me Rate (in AA$)
Sencan Topaloglu N/A
R S $1,600.00   
jes sree $25.00   
Kranthi Kumar $10.00   
C. Raj, United Kingd $1,000.00   
Lata Verma $10.00   
Ammas.com, Ltd N/A
More Advisors...

Home > Categories > Computers and Internet > Design and Programming > View Advice  

Query from: viji asok, Singapore, 12/22/10
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.

Rate = 3 (Rated by 3 Council Members)
[ This query closed ]
random/irpalms.jpeg
Response from: jes sree,   
Registered Member on Ammas.com
Source: This information comes from my own knowledge.
Click here for the build a website tutorial.

www.htmlfreecodes.com…

Rate = 1.5 (Rated by 5 Council Members)

Thank this advisor   
 
Response from: Yugandhar Raja,   
Registered Member on Ammas.com
Source: This information comes from my own knowledge.
Hi,

I have attached a basic contact us form with html / javascript / php. please rename the html file into .php file and use it.

At the beginning of the file, you see $to variable.. change its value with ur required email address to which you want the mails to be sent.

Note: your host should support php (almost all servers support php).

contactus.html (3.926k)

Rate = 3 (Rated by 5 Council Members)
 
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

Rate = 2 (Rated by 5 Council Members)

Thank this advisor   
 
Response from: Bharath Ambati,   
Registered Member on Ammas.com
Source: This information comes from my own knowledge.
Hi

Here is the code snippet please have a look at it.

Email Form

Rate = 1 (Rated by 2 Council Members)

Thank this advisor   
 
Response from: prabha singh,   
Registered Member on Ammas.com
Source: http://www.zeromillion.com…
Hi Viji,

Creating a small email newsletter for free

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.

Rate = 2 (Rated by 3 Council Members)

Thank this advisor   
 
Response from: vineet saxena,   
Registered Member on Ammas.com
Source: http://www.ironspider.ca/forms/simp…
Hi Viji, An Example Form

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.

Please read this source article:

Rate = 2 (Rated by 3 Council Members)

Thank this advisor   
 
Response from: preeti saxena,   
Registered Member on Ammas.com
Source: http://www.ironspider.ca/forms/simp…
Hi Viji, The Form Element

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 an end 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:
Other special elements go here...

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:

Your comments:

Rate = 2.5 (Rated by 1 Council Member)

Thank this advisor   
 
 
 
 
 
More Design and Programming Advice


 




Privacy Policy
Terms & Conditions
Ask Agent™ Tech Support/Help
Contact Us
Advertising Program
About the Ask Agent™ technology
Affiliate Program
Celebrity Queries
Latest Updates


Get the latest queries and responses via  Add Ammas Gadget to your iGoogle
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.

Copyright © 1998 - 2012 Ammas.com.
Powered by Ask Agent
Patents filed since 2001 -- Request Patent Numbers
TOP