Add to Google

Destination Address For "submit" Button - Adding a destination email address to a "Submit" button

free web hosting
Open Discussion > CONTRIBUTE > The Internet > Web Design

Destination Address For "submit" Button - Adding a destination email address to a "Submit" button

tomt491
I discovered this site while searching for an answer on what HTML code to use to print a web page. "Skymonkey" provided the answer to a similar question posed back in 2005. I now have another question about submitting a web page with fill in blanks.

Is there an easy HTML code that can include a destination address to a "Submit" button without having to use Javascript? I have created a form with fill in blanks and now want to have people simply hit the Submit button to send their information to a particular email address.

Thanks for any help.
Tom T.

Reply

jlhaslip
Sounds to me like you require the use of a "mailto" action (or a Contact Form).

Mailto will pop-up the user's Mail Client (Outlook, Thunderbird, etc) that is installed on their machine. A contact Form would require some php coding.

Are you comfortable with PHP? Do you have a Hosting account which allows the use of the PHP Mail function?

Trap17 allows the mail() on their Hosting Accounts. Make some good posts, apply for an Account and someone will likely assist you with the code.
*Possibly even write the bulk of it for you.*

(reaches into his php folder... ) biggrin.gif

Reply

shadowx
QUOTE
*Possibly even write the bulk of it for you.*

(reaches into his php folder...


Not if i beat ya to it wink.gif

As jlhaslip said, PHP is probably the best and easiest way to do this, assuming you know PHP (PHP is a back end, server side coding language, no PHP code is ever shown to the user, it is run like a program on the hosting server and then the user sees the output, eg "Email sent" not the code)

with php you would write a new file and then link it to the submit button using the form's "action" attribute eg: action=email.php

As jlhaslip also said you can use the basic HTML mailto: link with additional details, but this is apparently unreliable and not very browser compatible. So the best route is the PHP one, if you need a script then there are a good few PHP coders on the forums that can write one for you in a few minutes so just ask smile.gif

 

 

 


Reply

galexcd
QUOTE(shadowx @ Sep 1 2008, 01:28 PM) *
there are a good few PHP coders on the forums that can write one for you in a few minutes so just ask smile.gif


No need to ask, I just whipped one up for you right now. You can either use it as it is or use it as an example on how to make one yourself. This code is not a complete page, just the portion that displays the submit button and fields, that way you are able to insert it into any page you want with a simple copy and paste:

CODE
<? //enter recipient's email address.  If multiple recipients, separate with comma:
$to="someemail@yourdomain.com";
if(isset($_POST['email'])){
if(ereg("^[^@]{1,64}@[^@]{1,200}\.[a-zA-Z]{2,3}$",$_POST['email'])){
mail($to,$_POST['subject'],$_POST['message'],"From: ".$_POST['email']);
echo'<font color="green">Your message was sent</font>';
}else echo'<font color="red">"'.$_POST['email'].'" is not a valid email address.</font>';
}
?><form action="" method="post"><table><tr><td>Your Email:</td><td><input name="email"></td></tr>
<tr><td>Subject:</td><td><input name="subject"></td></tr></table>Message:
<br><textarea rows="8" cols="50" name="message"></textarea><br>
<input type="submit" value="send"></form>

Reply

jlhaslip
http://www.jlhaslip.trap17.com/contact/index_form_mail.php

Try this as a "questionaire" form that will email you the results.

Styling is a blend of several templates, but it can be made pretty very quickly.

Reply

tomt491
Thanks to all of you who responded to my question about adding a destination address to a "Submit" button. I'm designing a web page for a conference in which people will be able to fill in the blanks on a web page, print the page out on their printer, then mail it along with their registration fees to the Registrar. I don't believe the group is going to be able to handle Internet registrations using the "Submit" button option, but I just wanted to learn how to do it for the future.

This group has already taught me a few new things about HTML coding and I'm going to enjoy taking part in the forums.

Thanks again,

Tom T.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. submit button, submit form to email flash - 8.06 hr back. (1)
  2. how do you link the submit button to an email in dreamweaver - 10.25 hr back. (1)
  3. submit button to email address - 11.21 hr back. (1)
  4. free form submit button to email - 11.83 hr back. (1)
  5. php destination page - 14.77 hr back. (2)
  6. how to make submit button go to your email - 15.74 hr back. (1)
  7. form submit button to email linking - 18.61 hr back. (1)
  8. adding a destination address to a button using html - 20.81 hr back. (1)
  9. using html codes to link a submit button to an email address - 20.85 hr back. (1)
  10. how do i add email address to submit button in dreamweaver - 32.50 hr back. (1)
  11. free submit button to email - 33.48 hr back. (1)
  12. how to create a link submit button to an email address - 35.10 hr back. (1)
  13. flash button mailto link not going to email - 36.11 hr back. (1)
  14. tutorial on linking a submit button to email address - 36.74 hr back. (1)
Similar Topics

Keywords : destination, address, submit, button, adding, destination, email, address, submit, button

  1. Delaying The Time Until A Flash Button Can Be Pressed
    using actionscript (3)
  2. Php Email System
    (5)
    Hey guys, I Really need a PHP based email system it needs to be able to Send and Recieve E-mails
    Upload and download Attatchments Create emails (WYSIWYG is ideal!) I actually already have one
    here Which is copied from a tutorial but this is why it isn't practical. I am making a control
    panel for a subdomain that i've given to my friend, He needed an email address (so i gave him
    one). Now I adore squirell mail, I even tried to make that work to what i want! So basically what
    needs to happen is Bob will log onto his control panel that i will be building,....
  3. Adding Drop Down Menus
    (7)
    I have looked around many IPB support sites, but I didn't find a suitable drop-down menu add-on
    that I liked or worked correctly. I have noticed the drop down menus on this forum on other forums,
    and I was wondering if this was custom to this site or there was a tutorial somewhere which shows
    how to make one similar to this? Or if anything, I basic IPB drop down menu tutorial/add on.
    Thanks.....
  4. Configure The Display Of An Email Via Form Mailer
    (1)
    I set up an form mailer which emails data to a company that a customer fills out, that works fine.
    What I want is change the way the email looks so it's not so plain ex: change the size and
    color of fonts of the data, add background color, add company logo.... below is the code I wrote
    that emails customers data, from, to, subject info: CODE //start building the mail string
    $msg .="A free estimate has been requested from www.mywebsite.com\n\n"; $msg2 .="Thank you for
    requesting a free estimate. A specialist will contact you within 24 hrs.\n\n"; $msg2 .="Yo....
  5. Help With Adding Php Forums On My Site
    (3)
    Hey guys! I am kinda new to the whole PHP scene and I am struggling to figure out how to add some
    simple forums to my site. Being that wonderful TRAP17 has free PHP support, I was wondering if
    anyone could send some help my way on how to go about doing this. Thanks in advance!....
  6. Giving A Flash Button A Link
    i get errors (4)
    oke well i made my button and i addet the actionscript to give the button an url,see the screenshot
    below now for some reason it gives me errors,and i don't know what i did wrong to be
    honest,so can some one help me out with this p.s i do use flash cs3 so i dunno maybe its another
    way to put an url on ur button with this version cause with flash pro8 and mx i never had a problem
    with this....
  7. Nice Looking Address
    pls help me (2)
    i have created a site. i did all the pages in html. now i want o provide links like
    http://www.example.com/sample instead of http://www.example.com/sample.html wht should i do to
    create such links? pls help.......
  8. Adding Second Page Of Cutenews To My Site
    How do I do this? (2)
    I'm using Cutenews on my website. I forgot to mention in my last post on this topic that
    Cutenews is news system that can be integrated into an existing website and can function like a
    blog. Well, I recently integrated cutenews into an existing site, and I'm wondering how I get
    the older news to show up on another page. For example, I'm using cutenews on my main index
    page. At the bottom of the page I'd like to put a link that says, "old news," and have that page
    open up into a new page of my older news/blogs that people can still post comments on. What....
  9. Selecting Specific Part Of Image And Adding Description
    Please help (6)
    Many of you would have noticed that on flickr, there's feature that you can select some part of
    the picture (usually there' a small box) and add description for that part when you upload. Can
    someone tell me what kind of feature it is, and how it can be made ? im very keen to learn about
    that. I have attached the image below, there' you can see the boxes on the picture.. i want to
    learn how to make that feature.. please help me. Thanks. Sami. ....
  10. Smallbusiness Application: From Web Submit To Fax Machine
    sending order confirmation to regular fax via website (0)
    I am looking for a service or a script that will send online form submitted to my regular land-line
    fax machine. I have been searching for a while and the keywords "email to fax" returns few services
    but I have never heard of them. So here is what I'm thinking. I'm assuming email to fax is
    the best option since that's the only think I can think of. I do not know any other application
    that can be eaisly transferable to a fax machine. But I can be narrow in vision that I may be
    missing something. Please advise me if you know of better way. Secondly, these are....
  11. Adding Cms To A Website
    (10)
    I normally use an online cms but the site I used for it no longer exists. I was wondering once you
    download the cms what do you do? *confused* this is soooo much more complicated then doing
    everything online.....
  12. Nice Button Builder, This One Is The Best For Mac
    (4)
    i mentioned in an earlier post about rapid weaver a website design software. well the same company
    makes a software called button builder. its very easy to use, you can literaly have a profession but
    in a second. literally. im not exageratting. go to realmacsoftware.com....
  13. Help Required Regarding Adding Javascript In A Web
    Info. (2)
    Hey...I have a java code of RSS feeds.When i put it in my website , on front page,and when i
    preview,there is blank place (where news should be) and there is a yellow bar on internet
    explorer..there is a message.. "To Help protect your security,Internet explorer has resticted this
    file from showing active content that could access your computer.Click here for more options" And
    when i click to that bar, there is option "ALOW BLOCKED CONTENT" THen it shows those news. I am
    very upset.Because i dont want that bar.Can you please help me by telling the way , that there comes....
  14. 80x15 Brilliant Button Maker
    customize your own 80x15 button! (9)
    customize your own 80x15 button, ONLINE! QUOTE The "80x15 brilliant buttons", also known as
    "antipixel buttons" or "badges", are the very popular buttons especially used by bloggers.
    http://www.lucazappa.com/brilliantMaker/buttonImage.php some examples: | | | | |
    you can also use 2 images (one left, one right) to decorate the button, to further customize your
    80x15 button. just check out the site for examples. /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> enjoy! ....
  15. Wheres My Button !?!? <-----------------
    HELP (1)
    ok so i have macromedia dreamweaver right???? so i make a button on the page to _self, then i save
    it and crap. i then upload it to 50 megs and make it the home page. however when i try to load the
    site, it takes like 2hrs bc it cant load the button!(its a flash buttons, does this have anything to
    do w/ it??) heres a screen shot, maybe someone can explain! thx....
  16. Button In Freewebs
    Home Page (0)
    ok so im creating a home page right? it has a bunch of link on it. I put a flash button that linked
    to trap17 and when i click it, i get this screen, ....

    1. Looking for destination, address, submit, button, adding, destination, email, address, submit, button






*SIMILAR VIDEOS*
Searching Video's for destination, address, submit, button, adding, destination, email, address, submit, button

*MORE FROM TRAP17.COM*
advertisement



Destination Address For "submit" Button - Adding a destination email address to a "Submit" button



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE