PDA

View Full Version : What do I do wrong???



antesyd
01-Apr-2009, 01:52 PM
I'm pretty new at this. But I thing I have done everything according to "manual" and still don't know why I got the "An error occurred while processing the form . The form required some values that you did not seem to provide." Note.

I've tried to delete the validation and got a simular message.

Can someone help me??

This is the code:


<form method="post" action="http://www.toppchans.se/formmail/formmail.php" name="Skicka">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
<input type="hidden" name="recipients" value="info@toppchans.se" />
<input type="hidden" name="required" value="NFornavn:Ditt fornamn,NEmail:Din epost,NEtternavn:Ditt efternamn,NAdresse:Din adress,NTelefon1:Din telefon1,NTelefon2:Din telefon2,NPostnummer:Ditt postnummer,NPoststed:Din postadress,NLand:Ditt land,Alder:Din alder,Antall_timer:Antal timmar,Hvordan_fant_du:Var fann,kl:fran,og_kl:till" />
<input type="hidden" name="subject" value="Toppchans leads" />
<input type="hidden" name="redirect" value="http://www.toppchans.se/test1.htm">
<table border="0" cellpadding="0" width="100%" id="table6" bgcolor="#F3F2ED">
<tr>
<td class="smallfont" bgcolor="#F3F2ED"><strong>
<span style="background-color: #F3F2ED">Förnamn</span></strong></td>
<td class="smallfont" bgcolor="#F3F2ED">
<input name="NFornavn" class="input" id="NFornavn"></td>
<td class="smallfont" bgcolor="#F3F2ED"><strong>
<span style="background-color: #F3F2ED">Email</span></strong></td>
<td class="smallfont" bgcolor="#F3F2ED">
<span class="tekstliten"><font color="#000000">
<input name="NEmail" class="input" id="NEmail"><span style="background-color: #F3F2ED">
</span></font></span></td>
</tr>
<tr>
<td bgcolor="#F3F2ED"><span class="smallfont"><strong>
<span style="background-color: #F3F2ED">Efternamn</span></strong></span></td>
<td bgcolor="#F3F2ED">
<input name="NEtternavn" class="input" id="NEtternavn"></td>
<td bgcolor="#F3F2ED"><span class="smallfont"><strong>
<span style="background-color: #F3F2ED">Telefon dag</span></strong></span></td>
<td bgcolor="#F3F2ED"><span class="tekstliten">
<font color="#000000">
<input name="NTelefon1" class="input" id="NTelefon1"><span style="background-color: #F3F2ED">
</span></font></span></td>
</tr>
<tr>
<td class="smallfont" bgcolor="#F3F2ED"><strong>
<span style="background-color: #F3F2ED">Adress</span></strong></td>
<td class="smallfont" bgcolor="#F3F2ED">
<input name="NAdresse" class="input" id="NAdresse"></td>
<td class="smallfont" bgcolor="#F3F2ED"><strong>
<span style="background-color: #F3F2ED">Telefon kväll </span>
</strong></td>
<td class="smallfont" bgcolor="#F3F2ED">
<input name="NTelefon2" class="input" id="NTelefon2"></td>
</tr>
</table>
<table border="0" cellpadding="0" width="100%" id="table7" bgcolor="#F3F2ED">
<tr>
<td bgcolor="#F3F2ED"><span class="smallfont"><strong>
<span style="background-color: #F3F2ED">Postnr / ort </span>
</strong></span></td>
<td bgcolor="#F3F2ED">
<input name="NPostnummer" class="input" id="NPostnummer" size="6"><span style="background-color: #F3F2ED">
</span>
<input name="NPoststed" class="input" id="NPoststed" size="20"></td>
</tr>
<tr>
<td bgcolor="#F3F2ED"><span class="tekstliten">
<font color="#000000"><span class="smallfont"><strong>
<span style="background-color: #F3F2ED">Land</span></strong></span></font></span></td>
<td bgcolor="#F3F2ED"><span class="tekstliten">
<font color="#000000">
<span style="background-color: #FFFFFF">
<select name="NLand" size="1" class="input">
<option value="SWE" selected="selected">Sverige</option>
<option value="NOR">Norge</option>
<option value="DNK">Danmark</option>
<option value="FIN">Finland</option>
<option value="USA">United States</option>
<option value="CAN">Canada</option>
<option value="DEU">Germany</option>
<option value="FRA">France</option>
<option value="GBR">United Kingdom</option>
<option value="IND">India</option>
<option value>---------------------</option>
<option value="ARG">Argentina</option>
<option value="AUS">Australia</option>
<option value="AUT">Austria</option>
<option value="BEL">Belgium</option>
<option value="BOL">Bolivia</option>
<option value="BWA">Botswana</option>
<option value="BRA">Brazil</option>
<option value="CHL">Chile</option>
<option value="CHN">China</option>
<option value="COL">Colombia</option>
<option value="HRV">Croatia</option>
<option value="CYP">Cyprus</option>
<option value="CZE">Czech Republic</option>
<option value="DOM">Dominican Republic</option>
<option value="EST">Estonia</option>
<option value="GRC">Greece</option>
<option value="HKG">Hong Kong</option>
<option value="HUN">Hungary</option>
<option value="ISL">Iceland</option>
<option value="IDN">Indonesia</option>
<option value="IRL">Ireland</option>
<option value="ISR">Israel</option>
<option value="ITA">Italy</option>
<option value="JAM">Jamaica</option>
<option value="JPN">Japan</option>
<option value="KOR">Korea</option>
<option value="LVA">Latvia</option>
<option value="LSO">Lesotho</option>
<option value="LTU">Lithuania</option>
<option value="MEX">Mexico</option>
<option value="NAM">Namibia</option>
<option value="NLD">Netherlands</option>
<option value="NZL">New Zealand</option>
<option value="PAN">Panama</option>
<option value="PHL">Philippines</option>
<option value="POL">Poland</option>
<option value="PRT">Portugal</option>
<option value="RUS">Russia</option>
<option value="SGP">Singapore</option>
<option value="SVK">Slovakia</option>
<option value="ZAF">South Africa</option>
<option value="ESP">Spain</option>
<option value="SWZ">Swaziland</option>
<option value="CHE">Switzerland</option>
<option value="TWN">Taiwan</option>
<option value="THA">Thailand</option>
<option value="TUR">Turkey</option>
<option value="UKR">Ukraine</option>
<option value="VEN">Venezuela</option>
<option value="ZMB">Zambia</option>
</select></span><span style="background-color: #F3F2ED">
</span></font></span></td>
</tr>
</table>
<table class="clrtable2" border="0" cellpadding="0" width="100%" id="table8" bgcolor="#F3F2ED">
<tr>
<td class="smallfont" align="right" bgcolor="#F3F2ED">
<span style="background-color: #F3F2ED">Ålder:</span></td>
<td bgcolor="#F3F2ED">
<input name="Alder" class="input" id="Alder" size="4"></td>
</tr>
<tr>
<td class="smallfont" align="right" bgcolor="#F3F2ED">
<span class="tekstliten">
<span style="background-color: #F3F2ED">Hur många timmar per
vecka kan du avsätta? </span></span></td>
<td bgcolor="#F3F2ED">
<span style="background-color: #FFFFFF">
<select name="Antall_timer" size="1">
<option value="Antal timmar" selected="selected">Antal
timmar</option>
<option value="upp till 5 timmar">upp till 5 timmar</option>
<option value="5 - 10 timmar">5 - 10 timmar</option>
<option value="10 - 15 timmar">10 - 15 timmar</option>
<option value="15 - 20 timmar">15 - 20 timmar</option>
<option value="20 timmar +">20 timmar +</option>
</select></span></td>
</tr>
<tr>
<td class="smallfont" align="right" bgcolor="#F3F2ED">
<span style="background-color: #F3F2ED">Hur hittade du denna
sida? </span></td>
<td bgcolor="#F3F2ED"><span class="smallfont">
<span style="background-color: #FFFFFF">
<select name="Hvordan_fant_du" class="input" id="Hvordan_fant_du">
<option selected="selected">...</option>
<option value="Via en vän">Via en vän</option>
<option value="Sökte på internet">Sökte på internet</option>
<option value="Via ett flygblad/visitkort">Via ett
flygblad/visitkort</option>
<option value="Annons på internet">Annons på internet
</option>
<option value="Tidningsannons">Tidningsannons</option>
<option value="Radioreklam">Radioreklam</option>
<option value="TV-reklam">TV-reklam</option>
<option value="Annat">Annat</option>
</select></span><span style="background-color: #F3F2ED">
</span></span></td>
</tr>
<tr>
<td class="smallfont" align="right" bgcolor="#F3F2ED">
<span style="background-color: #F3F2ED">Träffas lättast
mellan:</span></td>
<td bgcolor="#F3F2ED">
<span style="background-color: #FFFFFF">
<select name="mellom_kl" size="1" class="input">
<option value="kl" selected="selected">kl</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
</select></span><span style="background-color: #F3F2ED">
</span><span class="smallfont">
<span style="background-color: #F3F2ED">och </span></span>
<span style="background-color: #FFFFFF">
<select name="og_kl" size="1" class="input">
<option value="kl" selected="selected">kl</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
</select></span></td>
</tr>
</table>
<p style="margin-left: 15px; margin-right: 15px" align="center">
<input type="submit" value="Skicka" name="Submit" style="background-color: #F3F2ED"><input type="reset" value="Återställ" name="B2" style="background-color: #F3F2ED"></p>

</form>

ginger23
01-Apr-2009, 02:35 PM
You have a select field called "mellom_kl", but in your "required" tag you only show "kl" rather than "mellom_kl".

That could cause the problem you're seeing.