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

Why doesn't this html form send?

w33nie
P: 56
This html form that I'm using works fine, apart from that it never ends up sending any information through to my designated email.

Does anyone see a problem in my code?

Expand|Select|Wrap|Line Numbers
  1. <form name="formTeamApplication" action="teams_process.php" method="post">
  2. <input type='hidden' name='esh_formmail_recipient' value="rowan.cavanagh@hotmail.com">
  3. <input type='hidden' name='esh_formmail_subject' value="Team Application">
  4.                                                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
  5.   <tr>
  6.     <td width='75'><span class='Body'>Team Name:</span></td>
  7.     <td width='150'><input width="150" class="Body" name="team_name" type="text" /></td>
  8.     <td>&nbsp;</td>
  9.     <td>&nbsp;</td>
  10.     <td>&nbsp;</td>
  11.     <td>&nbsp;</td>
  12.   </tr>
  13.   <tr>
  14.     <td width='75'><span class='Body'>Team Tag:</span></td>
  15.     <td width='150'><input width="150" class="Body" name="team_tag" type="text" /></td>
  16.     <td width='51'><span class='Body'>* optional</span></td>
  17.     <td>&nbsp;</td>
  18.     <td>&nbsp;</td>
  19.     <td>&nbsp;</td>
  20.   </tr>
  21.   <tr>
  22.       <td>&nbsp;</td>
  23.   </tr>
  24. </table>
  25. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  26.   <tr>
  27.       <td><span class='BodySmallHeading'>Please enter only the player's ingame nickname</span></td>
  28.   </tr>
  29. </table>
  30. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  31.   <tr>
  32.     <td width='75'><span class='Body'>Captain:</span></td>
  33.     <td width='150'><input width="150" class="Body" name="member1" type="text" /></td>
  34.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  35.     <td><input value="forums1" name="forums1" type="checkbox" /></td>
  36.   </tr>
  37.   <tr>
  38.     <td width='75'><span class='Body'>Member 2:</span></td>
  39.     <td width='150'><input width="150" class="Body" name="member2" type="text" /></td>
  40.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  41.     <td><input value="forums2" name="forums2" type="checkbox" /></td>
  42.   </tr>
  43.   <tr>
  44.     <td width='75'><span class='Body'>Member 3:</span></td>
  45.     <td width='150'><input width="150" class="Body" name="member3" type="text" /></td>
  46.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  47.     <td><input value="forums3" name="forums3" type="checkbox" /></td>
  48.   </tr>
  49.   <tr>
  50.     <td width='75'><span class='Body'>Member 4:</span></td>
  51.     <td width='150'><input width="150" class="Body" name="member4" type="text" /></td>
  52.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  53.     <td><input value="forums4" name="forums4" type="checkbox" /></td>
  54.   </tr>
  55.   <tr>
  56.     <td width='75'><span class='Body'>Member 5:</span></td>
  57.     <td width='150'><input width="150" class="Body" name="member5" type="text" /></td>
  58.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  59.     <td><input value="forums5" name="forums5" type="checkbox" /></td>
  60.   </tr>
  61.   <tr>
  62.     <td width='75'><span class='Body'>Member 6:</span></td>
  63.     <td width='150'><input width="150" class="Body" name="member6" type="text" /></td>
  64.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  65.     <td><input value="forums6" name="forums6" type="checkbox" /></td>
  66.   </tr>
  67.   <tr>
  68.     <td width='75'><span class='Body'>Member 7:</span></td>
  69.     <td width='150'><input width="150" class="Body" name="member7" type="text" /></td>
  70.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  71.     <td><input value="forums7" name="forums7" type="checkbox" /></td>
  72.   </tr>
  73.   <tr>
  74.     <td width='75'><span class='Body'>Member 8:</span></td>
  75.     <td width='150'><input width="150" class="Body" name="member8" type="text" /></td>
  76.     <td width='173'><span class='Body'>Registered on ACSSL Forums:</span></td>
  77.     <td><input value="forums8" name="forums8" type="checkbox" /></td>
  78.   </tr>
  79. </table><br>
  80. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  81.     <tr>
  82.         <td width='25'><input value="captain_guarantee" name="captain_guarantee" type="radio" /></td>
  83.         <td><span class='Body'>I am Captain of this team.</span></td>
  84.     </tr>
  85. </table>
  86. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  87.   <tr>
  88.     <td width='75'><span class='Body'>Full Name:</span></td>
  89.     <td width='150'><input width="150" class="Body" name="captain_name" type="text" /></td>
  90.     <td>&nbsp;</td>
  91.     <td>&nbsp;</td>
  92.     <td>&nbsp;</td>
  93.     <td>&nbsp;</td>
  94.   </tr>
  95.   <tr>
  96.     <td width='75'><span class='Body'>Email:</span></td>
  97.     <td width='150'><input width="150" class="Body" name="team_name" type="text" /></td>
  98.     <td>&nbsp;</td>
  99.     <td>&nbsp;</td>
  100.     <td>&nbsp;</td>
  101.     <td>&nbsp;</td>
  102.   </tr>
  103. </table><br>
  104. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  105.     <tr>
  106.         <td width='25'><input value="guarantee" name="guarantee" type="radio" /></td>
  107.         <td><span class='Body'>By completing this form, I guarantee, that as Captain, I can and will keep this team together, and recognise that it will count against my reputation should the team fail to hold.</span></td>
  108.     </tr>
  109. </table>
  110.                                                         <br>
  111.     <input type="submit" value="Submit" />
  112.                                 <input name="reset" type="reset" id="reset" value="Clear Form">
  113.                                 </form>
Feb 10 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,892
The HTML portion is not what actually sends the data this line:
Expand|Select|Wrap|Line Numbers
  1. teams_process.php
  2.  
is what actually sends or processes your data. I think you should post the PHP script and I will move the thread to the appropriate forum. Let me know if I'm missing something here, but I think the PHP community would be able to help you better.

Aric
Feb 10 '07 #2

w33nie
P: 56
thanks, i found a tutorial that tells me how to create the process.php page properly.

so no need for further comments or moving of this topic
Feb 10 '07 #3

Post your reply

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