Sunday, December 27, 2009

What is coding in html for receiving filled forms data to my email id?

I want to receive feedback/complaints from my website, audience has just to fill up forms available in my website.. that filled data has to come to my email address.


so,


what is coding in html for receiving filled forms data to my email id?What is coding in html for receiving filled forms data to my email id?
try these links


http://www.tizag.com/htmlT/forms.php,


http://www.tizag.com/htmlT/htmlsubmit.php





(posted from http://www.tizag.com/htmlT/htmlsubmit.php )


--------------------------------------鈥?br>

Form Submission - Action


For a submission button to accomplish anything it must be placed inside of a form tag with an action and a method. The action is always set to a server side scripting file such as a PHP, PERL, or ASP file. Another choice may be to set the action to mailto followed by an email address, and the form will be emailed to the specified address.





Mailto has been depreciated, however for the purpose of this example and to get a feel for form submission, it will work great in our example.





HTML Code:


%26lt;form method=';post'; action=';mailto:youremail@youremail.com'; %26gt;


First:%26lt;input type=';text'; name=';First'; size=';12 maxlength=';12'; /%26gt;


Last:%26lt;input type=';text'; name=';Last'; size=';24'; maxlength=';24'; /%26gt;


%26lt;input type=';submit'; value=';Send Email'; /%26gt;


%26lt;/form%26gt;


--------------------------------------鈥?br>




try it


but I think the example code they give on this page won't serve you well for your pupose. This page describes how to do it using HTML code. But I think there's Information on this site on how to do it a better way.





(posted from http://www.tizag.com/htmlT/htmlinput.php )


--------------------------------------鈥?br>

HTML - User Input


Input from the user is critical to the development of your websites and applications. Without the use of a scipting language such as PHP or Javascript, you will find HTML Input to be very limiting. Our PHP From Example offers a step by step guide to mastering HTML/PHP forms. Feel free to copy any code you may find useful in that example.


--------------------------------------鈥?br>




Most sites I found that teach HTML don't explain how to submit forms because theres use of other scripting languages such as PHP, and ASP (Server Scripting). Do a search for these on this site http://www.tizag.com/htmlT/forms.php and there's tutorials on them as well.





This is also a good site for tutorials http://www.w3schools.com/ .What is coding in html for receiving filled forms data to my email id?
U can use mailto:ur e-mailid tag for connecting to ur e-mail id, it will popup outrlook express.just attach u r filled form.Put as %26lt;A href:mailto:urid%26gt;mailme


%26lt;/a%26gt;


good luck
HTML can just produce a form that the users can fill up... in order to send an email with data in the form, you need a mail server, which won't be available to you if you are hosting your website on one of these free services - like geocities.com, fortunecity, etc.

No comments:

Post a Comment