What's wrong with my html? |
What's wrong with my html? |
Keefo |
May 16 2012, 12:21 PM
Post
#1
|
Group: Members Posts: 3 Joined: 16-May 12 Member No.: 17,125 |
I'm making a Registration Form for a site I'm working on. I'm a bit new at html. I got the html code from my clients old site, but had to make some changes.
I finally got the submit button to work and tested it out and it was sent to my email, the only problem is... my email is blank. None of the information that was filled out in the form is there. Would you guys be able to check out my code and see what my problem might be... I've been staring at it for so long now it's all looking jumbled. lol. I greatly appreciate it and Thanks in advance! CODE <p align="center"><strong><em>Please provide all applicable information.<br /> Fill our the form then print a copy of this page and mail with payment before submitting.</em></strong></br> <<p style="text-align: center;"><em class="nobold"><strong>Bush Tennis Center</strong><br /> P.O.Box 4914<br /> Midland, TX 79704</em> <!-- end #noprint --> <form class="registrationforms" action="http://bushtenniscenter.com/sendmail.php" method="post"> <input type="hidden" name="recipient" value="9087sdf9078s8s"> <input type="hidden" name="subject" value="Bush Tennis Center Program Registration"> <input type="hidden" name="redirect" value="../index.php?option=com_content&view=article&id=74:registration-confermation&catid=2:uncategorised"> <input type="hidden" name="Program" value="Midland QuickStart"> <p align="center" class="larger"><strong>Program Name: Midland QuickStart Tennis</strong></p> <p><em>All applicable information is required</em></p> <p>Name <input name="Name" type="text" id="0011" size="40" /> </p> <p>Date of Birth <input name="DOB" type="text" id="0012" size="10" /> Age <input name="Age" type="text" id="844" size="4" /> Grade <input name="Grade" type="text" id="00122" size="4" /> School <input name="School" type="text" id="00123" size="20" /> </p> <p>Gender: <input type="radio" name="Gender" id="gender" value="Boy" /> Boy <input type="radio" name="Gender" id="gender2" value="Girl" /> Girl </p> <p>Ethnicity: <input type="radio" name="Enthicity" id="ethnicity" value="AfricanAmerican" /> African American <input type="radio" name="Enthicity" id="ethnicity2" value="Asian" /> Asian <input type="radio" name="Enthicity" id="ethnicity3" value="Caucasian" /> Caucasian <input type="radio" name="Enthicity" id="ethnicity4" value="Hispanic" /> Hispanic <input type="radio" name="Enthicity" id="ethnicity5" value="Other" /> Other </p> <p>List any special needs/health issues:</p> <p> <textarea name="SpecialNeeds" id="specialneeds" cols="60" rows="5"></textarea> </p> <p>Mom/Guardian <input name="MomName" type="text" id="00112" size="40" /> </p> <p> Phones: Cell <input name="MomCell" type="text" id="00124" size="14" /> Work <input name="MomWork" type="text" id="0125" size="14" /> Home <input name="MomHome" type="text" id="0126" size="14" /> </p> <p>Dad/Guardian <input name="DadName" type="text" id="001122" size="40" /> </p> <p> Phones: Cell <input name="DadCell" type="text" id="001242" size="14" /> Work <input name="DadWork" type="text" id="01252" size="14" /> Home <input name="DadHome" type="text" id="01262" size="14" /> </p> <p>Email <input name="Email" type="text" id="0011222" size="32" /> <span class="smaller">Used only to inform you of upcoming events</span></p> <p>List dates attending <input name="Dates" type="text" id="00112222" size="50" /> </p> <p>Paid $ <input name="AmountPaid" type="text" id="textfield" size="12" /> By (select one): <input type="radio" name="PaymentType" id="gender3" value="Cash" /> Cash -or- <input type="radio" name="PaymentType" id="gender4" value="Check" /> Check Check #: <input name="Check#" type="text" id="textfield2" size="6" /> </p> <p align="center"> <input type="submit" name="submit" id="submit" value="Submit Registration" /> </p> <p align="center"><a href="../index.php/component/content/article/2-uncategorised/33-privacy-notice">Read our Website Privacy Statement</a> </p> <div id="officeuse"> <p align="center">For Office Use Only:</p> <p>Total Paid $_________ <br /> $________ for _______________ Program Scholarship Needed ___ Yes ___ No <br /> $________ for _______________ Program $_______ Value of Scholarship<br /> $________ for _______________ Program $_______ # of hours needed for scholarship<br /> $________ for _______________ Program Hours need to be complete by: _________<br /> <br /> Payment rec'd by: _____________ Registration confirmed by: _______________ Date: ___________<br /> </p> </div> </form> <div style="margin: 3em 0 8px 0; text-align: center;" align="center"></div> <!-- end #mainContent --></div> |
Christian J |
May 17 2012, 12:44 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,658 Joined: 10-August 06 Member No.: 7 |
We must probably see the code in sendmail.php as well. In the meantime, ethnicity is spelled wrong here:
CODE <input type="radio" name="Enthicity" (maybe there are more form fields with incorrect names). There are also quite a few validator errors in the HTML that you should fix, but they are likely not causing the email problem. |
Lo-Fi Version | Time is now: 26th April 2024 - 02:40 PM |