By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,506 Members | 1,881 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,506 IT Pros & Developers. It's quick & easy.

How can I direct his Name and his email address to my email?

P: 2
Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2. .tbmain{ 
  3.  /* Changes on the form */
  4.  background: url(http://jotform.com/images/styles/style4_2_bg.gif) #363535 top repeat-x !important; 
  5. }
  6. .left{
  7.   /* Changes on the form */
  8.   color: #cccccc !important; 
  9.   font-family: Verdana !important;
  10.   font-size: 12px !important;
  11. }
  12. td.left {
  13.    font-family: "Trebuchet MS";
  14.    font-size: 12px;
  15.    font-weight:normal;
  16.    color:#cccccc;
  17.    vertical-align: top;
  18.    text-align: left;
  19. }
  20. .pagebreak{
  21.    font-family: "Trebuchet MS";
  22.    font-size: 12px;
  23.    font-weight:bold;
  24.    color:black;
  25. }
  26. td.right {
  27.    font-family: "Trebuchet MS";
  28.    font-size: 12px;
  29.    font-weight:normal;
  30.    color:#cccccc;
  31.    vertical-align: top;   
  32.    text-align: left;   
  33. }
  34. .tbmain{
  35.    height:100%;
  36.    color:#cccccc;
  37.    background:url(http://jotform.com/images/styles/style4_2_bg.gif) #363535 top repeat-x;
  38. }
  39. .head{
  40.    font-family: "Trebuchet MS";
  41.    font-size: large;
  42.    font-weight:bold;
  43.    color:#ffffff;
  44.    vertical-align: top;
  45.    text-align: left;
  46. }
  47. .notvalid{
  48.    border:2px red solid;
  49.    font-family:"Trebuchet MS";
  50. }
  51. .text{
  52.    font-family: "Trebuchet MS";
  53.    font-size: 12px;
  54.    font-weight:normal;
  55.    color:#cccccc;
  56.    border:1px #000000 solid;
  57.    background:url(http://jotform.com/images/styles/style4_txt_bg.gif) #333333 top repeat-x;
  58. }
  59. select.other{
  60.    font-family: "Trebuchet MS";
  61.    font-size: 12px;
  62.    font-weight:normal;
  63.    color:#ffffff;
  64.    border:1px #000000 solid;
  65.    background:url(http://jotform.com/images/styles/style4_txt_bg.gif) #333333 top repeat-x;
  66. }
  67. .btn{
  68.    font-family: "Trebuchet MS";
  69.    font-size: 12px;
  70.    font-weight:normal;
  71.    color:#cccccc;
  72.    border:1px #000000 solid;
  73.    background: url(http://jotform.com/images/styles/style4_btn_bg.gif) #333333 top repeat-x;
  74. }
  75. span.required{
  76.   font-size: 13px !important;
  77.   color: red !important;
  78. }
  79.  
  80. div.backButton{
  81.     background: transparent url("http://jotform.com//images/btn_back.gif") no-repeat scroll 0 0;
  82.     height:16px;
  83.     width:53px;
  84.     float:left;
  85.     margin-bottom:15px;
  86.     padding-right:5px;
  87. }
  88. div.backButton:hover{
  89.     background: transparent url("http://jotform.com//images/btn_back_over.gif") no-repeat scroll 0 0;
  90. }
  91. div.backButton:active{
  92.     background: transparent url("http://jotform.com//images/btn_back_down.gif") no-repeat scroll 0 0;
  93. }
  94. div.nextButton{
  95.     background: transparent url("http://jotform.com//images/btn_next.gif") no-repeat scroll 0 0;
  96.     height:16px;
  97.     width:53px;
  98.     float: left;
  99.     margin-bottom:15px;
  100.     padding-right:5px;
  101. }
  102. div.nextButton:hover{
  103.     background: transparent url("http://jotform.com//images/btn_next_over.gif") no-repeat scroll 0 0;
  104. }
  105. div.nextButton:active{
  106.     background: transparent url("http://jotform.com//images/btn_next_down.gif") no-repeat scroll 0 0;
  107. }
  108. .pageinfo{
  109.     padding-right:5px;
  110.     margin-bottom:15px;
  111.     float:left;
  112. }
  113.  
  114. </style> 
  115. <table width="100%" cellpadding="2" cellspacing="0" class="tbmain">
  116. <tr><td class="topleft" width="10" height="10">&nbsp;</td>
  117. <td class="topmid">&nbsp;</td>
  118. <td class="topright" width="10" height="10">&nbsp;</td>
  119.   </tr>
  120. <tr>
  121. <td class="midleft" width="10">&nbsp;&nbsp;&nbsp;</td>
  122. <td class="midmid" valign="top">
  123. <div id="main"> 
  124. <div class="pagebreak"> 
  125. <table width="520" cellpadding="5" cellspacing="0">
  126.  <tr >
  127.   <td width="150" class="left" >
  128.    <label >Name</label>
  129.   </td>
  130.   <td class="right" >
  131.    <input type="text" size="20" name="q0_Name" class="text" value="" id="q0"  maxlength="100" maxsize="100" />
  132.   </td>
  133.  </tr>
  134.  <tr >
  135.   <td width="150" class="left" >
  136.    <label >E mail</label>
  137.   </td>
  138.   <td class="right" >
  139.    <input type="text" size="20" name="q8_Email" class="text" value="" id="q8"  maxlength="100" maxsize="100" />
  140.   </td>
  141.  </tr>
  142.  <tr >
  143.   <td width="150" class="left" >&nbsp;
  144.  
  145.   </td>
  146.   <td class="right">
  147.   <input type="submit" class="btn" value="Submit" />
  148.  </td>
  149.  </tr>
  150. </table>
  151. </div>
  152. </div>
  153. </form>
  154. </td>
  155. <td class="midright" width="10">&nbsp;&nbsp;&nbsp;</td>
  156. </tr>
  157. <tr>
  158.  <td class="bottomleft" width="10" height="10">&nbsp;</td>
  159.  <td class="bottommid">&nbsp;</td>
  160.  <td class="bottomright" width="10" height="10">&nbsp;</td>
  161. </tr>
  162. </table>
  163. <script type="text/javascript">
  164. </script>


How can I direct his Name and his email address to my email?
Dec 19 '09 #1
Share this Question
Share on Google+
5 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Please use code tags.

You're missing the form start tag:
form action="mailto:you@example.com"
Dec 19 '09 #2

acoder
Expert Mod 15k+
P: 16,027
Not everyone has email set up, so you can use a server-side script to send email to your account. That way, your email remains hidden too.
Dec 22 '09 #3

P: 2
$$$acoder$$$

http://bytes.com/topic/html-css/answ...il#post3534205

Can you provide me the server script????
Dec 22 '09 #4

acoder
Expert Mod 15k+
P: 16,027
Please post in the correct thread. I've moved your post.

The script depends on the language you're using. Are you using, for example, ASP, PHP, JSP, Coldfusion, ASP.NET, etc.? If you don't have server-side scripting enabled, i.e. you're only using HTML, then the suggestion by drhowarddrfine is the only option you have.
Dec 22 '09 #5

acoder
Expert Mod 15k+
P: 16,027
It opens Outlook because that is your default email client. If you want the email to be sent to you, you need a server-side script. I ask again, which server-side language are you using?

PS. do not PM questions.
Dec 30 '09 #6

Post your reply

Sign in to post your reply or Sign up for a free account.