Formulier werkt niet

Status
Niet open voor verdere reacties.

irene87

Nieuwe gebruiker
Lid geworden
28 dec 2014
Berichten
1
Voor mijn website heb ik reserveringsformulier gemaakt met html.
Vervolgens heb ik met behulp van deze website: http://www.pepermunt.net/website-maken/formulier-website.html
de pagina aangepast dat deze na invullen wordt verzonden naar mijn mail adres. Het werkte in het begin goed maar nu werkt het ineens niet meer. Ik krijg namelijk geen e-mail meer binnen als er op de knop verzenden is gedrukt.
Ik heb er totaal geen verstand van en ben nu al uren bezig geweest om te zoeken wat er fout is gegaan maar ik kom er niet uit. Ik wil gewoon een eenvoudig formulier waarop mensen een reservering door kunnen geven. Misschien dat iemand mij verder kan helpen.
 
Laatst bewerkt:
Ik denk zo maar dat er niemand is die je hiermee kan helpen zonder inzage in de sourcecode.

Tel daar bij op dat de 2e link uit je post niet werkt en het drama is compleet.
 
Geen oplossing, maar....

Om te beginnen:
ik heb een paar adviezen maar geen oplossing (blijf a.u.b. lezen)

Ik heb geen oplossing voor je probleem vanwege twee redenen:
  • ik ben zelf geen PHP-expert
  • de code van je website is een zooitje en het is ouderwets.

Kijk hier eens naar: http://validator.w3.org/check?verbose=1&uri=http://combinatie-blackandwhite.nl/reserveringsformulier.html

Wanneer je een website in elkaar zet, hoor je toch een beetje verstand van HTML en CSS te hebben.
Ik denk dat je die niet (genoeg) hebt.
Je gebruikt zeer verouderde html (framesets, inline styling)
en je gebruikt het op de verkeerde manier. Je website barst van de echte fouten, waar je achter komt door elke html-pagina door de validator van W3C te halen. Wat overigens verrekte lastig gaat als je met framesets werkt; want je moet dan de afzonderlijke frames laten controleren.

Wat je ook niet gaat lukken: php-code laten werken in een html-pagina. Om PHP-code te laten werken, moeten je pagina's sowieso eindigen op de .php extensie.


Ik zou je dringend willen adviseren om over te stappen op een CMS.
Met Wordpress of Joomla kun je een website in elkaar zetten met kant en klare contact-formulieren.

Daarvoor moet je je wel realiseren dat ook het werken met een CMS niet van de ene op de andere dag foutloos zal gaan.
Maar je kunt dan wel gebruik maken van voorgebakken functies en de talloze widgets en plugins die er zijn.

Met je huidige html- en css-kennis ga je het echt niet redden. Harde maar reële waarheid.
 
tja bij eerste inzicht leek ik een pagina te zien

uw html was niet juist geformateert dus haalde ik mijn clean/format robot effen boven en die leek de html niet te snappen
dit door dat enkele stukken op niet juiste plaats staan
elke <x> sluit met </x>
een <x> <y></x></y> kan en mag niet in html standaard @see uw form start tag die niet in de body staat(dubbele html is dan al weg )
.
Code:
<html> <head> <title> Reserveren </title>
<form method="post" action="formmail.php" name="reserveringsformulier.html">
<input type="hidden" name="recipients" value="info@combinatie-blackandwhite.nl" / > < input type = "hidden"
name = "good_url"
value = "bedankt.html" / > < /head>
<font face="monotype corsiva" size="4">
<body bgcolor="#C0C0C0" link="black" alink="black" vlink="black">
<div align="center">
  <center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="1025" bgcolor="#C0C0C0">
  <tr>
    <td width="235" bordercolor="#C0C0C0">
    <font color="#C0C0C0" face="monotype corsiva">
        <img src="main/omslag.jpg " border="0 " width="1024 " height="164 "></font></td>
  </tr>
</table>
  </center>
</div>
<div align="center ">
  <center>
  <table border="0 " cellpadding="0 " cellspacing="0 " 
  style="border - collapse: collapse " bordercolor="#FFFFFF " width="1025 " bgcolor="#C0C0C0 " height="1 ">
    <tr>
      <td width="1029 " height="26 " bordercolor="#C0C0C0 ">
      <p align="center ">
      <font face="Trebuchet MS " style="font - size: 10pt ">
<a style="text - decoration: none " href="pension.html ">
<font color="black ">Home</font></a><font color="black ">&nbsp; -&nbsp;
      </font>
      <a href="hetpension.html " style="text - decoration: none "><font color="black ">Het pension</font></a>
      <font color="black ">&nbsp; -&nbsp;</font>
      <a href="voorwaarden.html " style="text - decoration: none "><font color="black ">Voorwaarden</font></a>
      <font color="black "> -&nbsp;</font>
      <a style="text - decoration: none " href="tarieven.html "><font color="black ">Tarieven</font></a>
      <font color="black ">&nbsp; -&nbsp; </font>
      <a href="reserveringsformulier.html " style="text - decoration: none ">
      <font color="black ">Reserveren</font></a>
      <font color="black ">&nbsp; -&nbsp; </font>
      <a href="contactpension.html " style="text - decoration: none ">
      <font color="black ">Contact</font></a><font color="black ">&nbsp;  
  </tr>
  </table>
  </center>
</div>
<div align="center ">
  <center>
  <table border="0 " cellpadding="0 " cellspacing="0 " style="border - collapse: collapse " bordercolor="#111111" width= "930" > < tr > < td width = "100%" > & nbsp; < /td>
    </tr> </table>
  </center> </div>
<div align="center">
  <center>
  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="1025" bgcolor="#EEECEC" height="30">
    <tr>
      <td width="100%" height="30">
      <div align="center">
        <center>
        <center>
        <p align="left">
        <font color="#050505" face="Comic Sans MS" size="5"><br>
</font > < font face = "Comic Sans MS"
size = "8"
color = "#E0DEDE" > < /font></p > < table border = "0"
width = "24%"
id = "table11" > < tr > < td > < table border = "0"
width = "1000"
id = "table12" > < tr > < td width = "20"
align = "center" > < img src = "main/test02.jpg"
border = "0" > < br > < /font></td > < td align = "center" > < font face = "Comic Sans MS"
size = "5"
color = "black" > Black & White konijnen en Knaagdierenpension < /font>
<br>
<br>
<br>
<br>
<strong><big>Reserveringsformulier 
</big > < /strong></font > < /p><p align="center"><font color="black">
 </font > < /font> </p > < table border = "0"
align = "center"
width = "90%"
id = "table6" > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td colspan = "2"
width = "250"
height = "23" > < font color = "black" > < font face = "Trebuchet MS" > < strong > Ondergetekende: < /strong></font > < /font> 
              </td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td></td > < td > < font color = "black" > Familie < input type = "radio"
onclick = 0 name = "familie"
value = "Fam."
checked > & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp;
De heer < input type = "radio"
onclick = 0 name = "familie"
value = "Hr." > < input type = "hidden"
name = "heer"
value > & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp;
Mevrouw < input type = "radio"
onclick = 0 name = "familie"
value = "Mw." > < input type = "hidden"
name = "mevrouw"
value > < /font>
              </td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250"><font color="black">Voorletters:</font > < /td>
              <td height="18"> 
                <font color="black"> 
                <input maxlength=100 name="Voorletter" size=50 value="">
                *</font > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250" > < font color = "black" > Tussenvoegsels: < /font></td > < td > < font color = "black" > < input type = "text"
name = "Tussenvoegsel"
size = "50"
maxlength = "100" > < /font>
              </td > < /tr>
            <tr style="font-family: Trebuchet MS; font-size: 9pt"> 
              <td width="250"><font color="black">Achternaam:</font > < /td>
              <td> 
                <font color="black"> 
                <input type="text" name="Achternaam" size="50" maxlength="100">
                *</font > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250" > < font color = "black" > Straat: < /font> </td > < td > < font color = "black" > < input name = "straat"
size = 50 value = ""
maxlength = "100" > * < /font></td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250"><font color="black">Huisnummer:</font > < /td>
              <td> 
                <font color="black"> 
                <input type="text" name="Huisnummer" size="50" maxlength="100">
                *</font > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250" > < font color = "black" > Postcode: < /font></td > < td > < font color = "black" > < input maxlength = 10 size = 50 value = ""
name = "Postcode" > * < /font></td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250"><font color="black">Woonplaats: </font > < /td>
              <td> 
                <font color="black"> 
                <input maxlength=50 name="Woonplaats" value="" size=50>
                *</font > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250" > < font color = "black" > Telefoon: < /font> </td > < td > < font color = "black" > < input maxlength = 15 name = "Telefoon"
size = 50 value = "" > * < /font></td > < /tr>
            <tr style="font-family:Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250"><font color="black">E-mail: </font > < /td>
              <td> 
                <font color="black"> 
                </font > < font size = "2"
face = "Trebuchet MS" > < input name = "uemail"
type = "text"
id = "uemail"
size = "51" > < /font><font color="black">*</font > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250"
colspan = "2" > & nbsp; < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250"
colspan = "2" > < font face = "Trebuchet MS"
size = "2"
color = "black" > < strong > Reserveert
voor de periode: < /strong></font > < /td>
            </tr > < tr valign = "top"
style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250" > & nbsp; < /td>
              <td>&nbsp;</td > < /tr>
            <tr valign="top" style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250"><font face="Trebuchet MS" size="2" color="black">Brengdatum (dd/mm / jjjj) < /font></td > < td > < font color = "black"
face = "Trebuchet MS"
size = "2" > < select name = "Brengdag"
size = "1" > < option value = "01"
selected > 01 < /option>
                  <option value="02">02</option > < option value = "03" > 03 < /option>
                  <option value="04">04</option > < option value = "05" > 05 < /option>
                  <option value="06">06</option > < option value = "07" > 07 < /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 > < option value = "23" > 23 < /option>
                  <option value="24">24</option > < option value = "25" > 25 < /option>
                  <option value="26">26</option > < option value = "27" > 27 < /option>
                  <option value="28">28</option > < option value = "29" > 29 < /option>
                  <option value="30">30</option > < option value = "31" > 31 < /option>
                </select > / 
                <select name="Brengmaand" size="1">
                  <option value="01" selected>01</option > < option value = "02" > 02 < /option>
                  <option value="03">03</option > < option value = "04" > 04 < /option>
                  <option value="05">05</option > < option value = "06" > 06 < /option>
                  <option value="07">07</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>
                </select > / 
                <select name="Brengjaar" size="1">
                  <option value="2014" selected>2014</option > < option value = "2015" > 2015 < /option>
                  <option value="2016">2016</option > < option value = "2017" > 2017 < /option>
                </select > * < /font>
              </td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250"><font face="Trebuchet MS" size="2" color="black">Op haaldatum (dd/mm / jjjj) < /font></td > < td > < font color = "black"
face = "Trebuchet MS"
size = "2" > < select name = "Ophaaldatum"
size = "1" > < option value = "01"
selected > 01 < /option>
                  <option value="02">02</option > < option value = "03" > 03 < /option>
                  <option value="04">04</option > < option value = "05" > 05 < /option>
                  <option value="06">06</option > < option value = "07" > 07 < /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 > < option value = "23" > 23 < /option>
                  <option value="24">24</option > < option value = "25" > 25 < /option>
                  <option value="26">26</option > < option value = "27" > 27 < /option>
                  <option value="28">28</option > < option value = "29" > 29 < /option>
                  <option value="30">30</option > < option value = "31" > 31 < /option>
                </select > / 
                <select name="Ophaalmaand" size="1">
                  <option value="01" selected>01</option > < option value = "02" > 02 < /option>
                  <option value="03">03</option > < option value = "04" > 04 < /option>
                  <option value="05">05</option > < option value = "06" > 06 < /option>
                  <option value="07">07</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>
                </select > / 
                <select name="Ophaaljaar" size="1">
                  <option value="2014" selected>2014</option > < option value = "2015" > 2015 < /option>
                  <option value="2016">2016</option > < option value = "2017" > 2017 < /option>
                </select > * < /font><font color="#0000FF"> 
                <INPUT type="hidden" name="eindtijd" value>
              </font > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td colspan = "2" > < b > < font color = "black" > < /font></b > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td colspan = "2" > < table width = "100%"
border = "0"
cellpadding = "0"
cellspacing = "0"
id = "table7" > < tr style = "font-family:Trebuchet MS; color: black; font-size: 9pt" > < td width = "50%"
nowrap > & nbsp; < /td>
                    <td width="34%">&nbsp;</td > < /tr>
                </table > < /td>
            </tr > < tr valign = "top"
style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250"
align = "left" > < font color = "black" > < strong > Diersoort < /strong>
				</font > < /td>
              <td width="0"> 
                <font color="black"> 
                <select name="Diersoort" size=1>
                  <option selected value="*** Maak uw keuze ***">*** Maak uw keuze ***
					</option > < option value = "Muis" > Muis < /option>
					<option value="Rat">Rat</option > < option value = "Cavia" > Cavia < /option>
					<option value="Hamster">Hamster</option > < option value = "Konijn" > Konijn < /option>
                  <option value="Gerbil">Gerbil</option > < option value = "Overige dieren" > Overige dieren < /option>
                </select > M < input type = "radio"
onclick = 0 name = "geslacht"
value = "m"
checked > V < input type = "radio"
onclick = 0 name = "geslacht"
value = "v" > * < input type = "hidden"
name = "geslacht"
value > < /font>
              </td > < /tr>
  <tr valign="top" style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250" align="left"><font color="black">Aantal dieren
				</font > < /td>
              <td width="0"> 
                <font color="black"> 
                <select name="aantaldieren" size="1">
                  <option value="01" selected>01</option > < option value = "02" > 02 < /option>
                  <option value="03">03</option > < option value = "04" > 04 < /option>
                  <option value="05">05</option > < option value = "06" > 06 < /option>
                  <option value="07">07</option > < option value = "08" > 08 < /option>
                  <option value="09">09</option > < option value = "10" > 10 < /option>
                 </select > < /font></td > < /tr>
            <tr valign="top" style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250" align="left"><font color="black">Is uw huisdier bekend bij<br>
                ons dierenpension? </font > < /td>
              <td width="0"> 
                <font color="black"> 
                <input type="checkbox" name="bekendja" value="Ja">
                Ja 
                <input type="hidden" name="bekendinpension">
              	&nbsp;&nbsp; 
				<input type="checkbox" name="BekendNee" value="NEE"> Nee</font > < /td>
            </tr > < tr valign = "top"
style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250"
align = "left" > < font color = "black" > Neemt u eigen voer mee ? < br > < /font> </td > < td width = "0" > < font color = "black" > < input type = "checkbox"
name = "eigenvoer"
value = "Ja" > Ja < input type = "hidden"
name = "bekendinpension" > & nbsp; & nbsp; < input type = "checkbox"
name = "eigenvoer"
value = "NEE" > Nee < /font></td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250">&nbsp;</td > < td > & nbsp; < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250" > & nbsp; < /td>
              <td>&nbsp;</td > < /tr>
            <tr valign="top" style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250" align="left"><font color="black"><strong>U kunt hier u overige opmerkingen plaatsen:
				</strong > & nbsp; & nbsp; < /font></td > < td width = "0" > < font color = "black" > & nbsp; < /font><font size="2" face="Trebuchet MS"><textarea name="BijzonderhedenVanHetDIER" cols="32" rows="4" id="bericht"></textarea > < /font></td > < /tr>
            <tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> 
              <td width="250">&nbsp;</td > < td > & nbsp; < /td>
            </tr > < tr valign = "top"
style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td colspan = "2"
align = "left" > < div align = "center" > < font color = "black" > Op alle reserveringen zijn de
Algemene
Voorwaarden van Black & White knaagdierenpension van toepassing. < /font></div > < /td>
            </tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td width = "250"
colspan = "2" > & nbsp; < /td>
            </tr > < /table>
          <table width="90%" border="0" height="118" id="table8"> 
<tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> <td><font color="black">U kunt nu uw ingevulde reserveringsformulier 
	printen </font > < /td><td> <div align="center"> <script language=JavaScript>
<!--
function printen()
  {
  if (window.print)
   {
   window.print();
   }
  }
/ / -- > < /script> <input name=print onClick=printen() type=button value=Print> </div > < /td></tr > < tr style = "font-family: Trebuchet MS; color: black; font-size: 9pt" > < td > < font color = "black" > U kunt alle ingevulde gegevens wissen in het reserveringsformulier < /font></td > < td > < div align = "center" > < input type = reset value = Wissen name = "reset" > < /div></td > < /tr> 
<tr style="font-family: Trebuchet MS; color: black; font-size: 9pt"> <td>
	<font color="black">U kunt het reserverings formulier nu versturen door op 
	de knop verzenden te drukken </font > < /td><td> 
<div align="center"> <font size="2" face="Trebuchet MS"> 
    <input type="submit" name="Submit" value="Verzenden"></font > < /div></td > < /tr> 
</table > < p align = "right" > < font face = "Trebuchet MS"
size = "1" > < /form>
</body > < /html>
een aanpassing aan uw html zou al een goed voornemen zijn.
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan