- Home
- Categorie
- Coding e Sistemistica
- HTML e CSS
- form non funzionante
-
form non funzionante
ho creato con FrontPage questo form che in pratica ti fa compilare dei file e li fa inviare alla mail "[email protected]" solo che quando compili i campi e cerchi di inviare la mail da errore...ce la fate a correggere? grazie
<head> <meta http-equiv="Content-Language" content="it"> <base target="_self"> </head> <div style="margin-left: 17px; width: 749px; height: 910px;"> <form style="width: 749px;" method="POST" action="--WEBBOT-SELF--" name="Modulo richiesta" target="_top"> <!--webbot bot="SaveResults" u-file="C:\Users\Marco\Desktop\form" s-format="HTML/BR" s-label-fields="TRUE" s-builtin-fields="REMOTE_USER Date Time" S-Email-Address="[email protected]" S-Email-Format="TEXT/CSV" B-Reverse-Chronology="FALSE" B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Re:Richiesta pernottamento" B-Email-Subject-From-Field="TRUE" S-Email-Subject="Richiesta pernottamento" S-Date-Format="%d/%m/%Y" S-Time-Format="%H:%M:%S" --> <b> </b><br> <table border="1" height="39" width="477"> <tbody><tr> <td align="center" height="33" width="211"> <p align="left"><b><font color="#808080" face="Verdana" size="2">Nome/Name</font><font style="color: red;" face="Verdana" size="2"> *</font></b></p></td> <td align="center" height="33" width="252"> <p><font color="#808080" face="Verdana" size="3"> <!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-value-required="TRUE" i-maximum-length="256" --><input size="34" maxlength="256" name="Username7" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font face="Verdana"> <font color="#808080" size="2">Cognome/Lastname </font> <span class="required"><font size="2" color="#FF0000">*</font></span></font></b></p></td> <td height="33" width="254"> <p align="center"><font color="#808080" face="Verdana" size="3"> <!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-value-required="TRUE" i-maximum-length="256" --><input size="34" maxlength="256" name="Username8" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font color="#808080" face="Verdana" size="2">Indirizzo/Address </font></b></p></td> <td height="33" width="254"> <p align="center"><font color="#808080" face="Verdana" size="3"> <input size="34" maxlength="256" name="Username9" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font color="#808080" face="Verdana" size="2">Città/City </font></b></p></td> <td height="33" width="254"> <p align="center"><font color="#808080" face="Verdana" size="3"> <input size="34" maxlength="256" name="Username10" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font face="Verdana"> <font color="#808080" size="2">Paese/Country </font> <span class="required"><font size="2" color="#FF0000">*</font></span></font></b></p></td> <td height="33" width="254"> <p align="center"><font color="#808080" face="Verdana" size="3"> <input size="34" maxlength="256" name="Username11" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font face="Verdana"> <font color="#808080" size="2">Telefono/Telephone </font> <span class="required"><font size="2" color="#FF0000">*</font></span></font></b></p></td> <td height="33" width="254"> <p align="center"><font color="#808080" face="Verdana" size="3"> <!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-value-required="TRUE" i-maximum-length="256" --><input size="34" maxlength="256" name="Username12" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font face="Verdana"> <font color="#808080" size="2">Email </font> <span class="required"> <font size="2" color="#FF0000">*</font></span></font></b></p></td> <td height="33" width="254"> <p align="center"><font color="#808080" face="Verdana" size="3"> <!--webbot bot="Validation" s-data-type="String" b-allow-letters="TRUE" b-value-required="TRUE" i-maximum-length="256" --><input size="34" maxlength="256" name="Username13" style="font-weight: 700;"></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="273"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><span class="required"> <font color="#808080" face="Verdana" size="2">camere</font></span></b></p></td> <td height="33" width="47"> <p align="center"><font color="#808080" face="Verdana" size="3"> <select name="Argomento7" size="1" style="font-weight: 700;"><option selected="selected" value="1"> 1</option><option value="2">2</option></select></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="273"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font face="Verdana"><span class="required"> <font color="#808080" size="2">Adulti </font> </span></font></b></p></td> <td height="33" width="47"> <p align="center"><font color="#808080" face="Verdana" size="3"> <select name="Argomento10" size="1" style="font-weight: 700;"><option selected="selected" value="1"> 1</option><option value="2">2</option><option>3</option><option>4</option><option> 5</option><option>6</option><option>7</option></select></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="273"> <tbody><tr> <td style="color: rgb(9, 7, 36);" height="33" width="211"> <p align="left"><b><font face="Verdana"><span class="required"> <font color="#808080" size="2">Bambini (minori di 12 anni)</font></span></font></b></p></td> <td height="33" width="47"> <p align="center"><font color="#808080" face="Verdana" size="3"> <select name="Argomento11" size="1" style="font-weight: 700;"><option selected="selected">0</option><option selected="selected" value="1"> 1</option><option value="2">2</option><option>3</option><option>4</option><option> 5</option><option>6</option><option>7</option></select></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="437"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font color="#808080" face="Verdana" size="2">Arrivo</font></b></p></td> <td align="center" height="33" width="53"> <p><font color="#808080" face="Verdana" size="3"> <select name="Argomento12" size="1" style="font-weight: 700;"><option selected="selected" value="1"> 1</option><option value="2">2</option><option value="3">3</option><option value="4"> 4</option><option value="2">5</option><option value="6">6</option><option value="7"> 7</option><option value="8">8</option><option value="9">9</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></font></p></td> <td align="center" height="33" width="94"> <p><font color="#808080" face="Verdana" size="3"> <select name="Argomento13" size="1" tabindex="1" style="font-weight: 700;"><option selected="selected"> Gennaio</option><option>Febbraio</option><option>Marzo</option><option> Aprile</option><option>Maggio</option><option>Giugno</option><option> Luglio</option><option>Agosto</option><option>Settembre</option><option> Ottobre</option><option>Novembre</option><option>Dicembre</option></select></font></p></td> <td align="center" height="33" width="54"> <p><font color="#808080" face="Verdana" size="3"> <select name="Argomento14" size="1" style="font-weight: 700;"><option selected="selected" value="1"> 2010</option><option>2011</option><option>2012</option><option>2013</option><option> 2014</option><option>2015</option><option>2016</option><option>2017</option><option> 2018</option><option>2019</option><option>2020</option></select></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="437"> <tbody><tr> <td height="33" width="211"> <p align="left"><b><font color="#808080" face="Verdana" size="2">Partenza</font></b></p></td> <td align="center" height="33" width="53"> <p><font color="#808080" face="Verdana" size="3"> <select name="Argomento15" size="1" style="font-weight: 700;"><option selected="selected" value="1"> 1</option><option value="2">2</option><option value="3">3</option><option value="4"> 4</option><option value="2">5</option><option value="6">6</option><option value="7"> 7</option><option value="8">8</option><option value="9">9</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></font></p></td> <td align="center" height="33" width="94"> <p><font color="#808080" face="Verdana" size="3"> <select name="Argomento16" size="1" tabindex="1" style="font-weight: 700;"><option selected="selected"> Gennaio</option><option>Febbraio</option><option>Marzo</option><option> Aprile</option><option>Maggio</option><option>Giugno</option><option> Luglio</option><option>Agosto</option><option>Settembre</option><option> Ottobre</option><option>Novembre</option><option>Dicembre</option></select></font></p></td> <td align="center" height="33" width="54"> <p><font color="#808080" face="Verdana" size="3"> <select name="Argomento17" size="1" style="font-weight: 700;"><option selected="selected" value="1"> 2010</option><option>2011</option><option>2012</option><option>2013</option><option> 2014</option><option>2015</option><option>2016</option><option>2017</option><option> 2018</option><option>2019</option><option>2020</option></select></font></p></td> </tr> </tbody></table> <table border="1" height="39" width="479"> <tbody><tr> <td height="33" width="106"> <p align="left"><b><font color="#808080" face="Verdana" size="2">Note </font> </b> </p><p align="left"><b> <font color="#808080" face="Verdana" size="2">(Max 42 caratteri)</font></b></p></td> <td height="33" width="357"> <p align="left"><font color="#808080" face="Verdana" size="3"> <textarea name="Commenti1" rows="5" cols="42" style="font-weight: 700;"></textarea></font></p></td> </tr> </tbody></table> <p style="text-align: left;"><b><font color="#808080" face="Verdana" size="2"> </font> </b></p><p style="text-align: left;"><b> <font color="#808080" face="Verdana" size="3"> <textarea readonly="readonly" rows="5" cols="66" style="font-weight: 700;" name="Consenso">CONSENSO AI SENSI DEL D.Lgs. n. 196/03 I dati personali inviati saranno utilizzati da parte di Bed and Breakfast Valmarecchia nel pieno rispetto del Decreto legislativo n. 196 del 30 giugno 2003 (Nuovo codice della Privacy). La raccolta dei dati avviene secondo la modalit? e nei limiti indicati dall a suddetta legge, per finalità di marketing e promozionali. I dati raccolti non verranno comunicati o diffusi a terzi. In base all'articolo 7 del D.Lgs. n. 196/03 (Diritti dell'interessato), in ogni momento Lei potr?avere accesso ai suoi dati chiedendone la modifica o la cancellazione oppure opporsi al loro utilizzo scrivendo all'indirizzo sopra riportato. Autorizzo a mantenere nella propria banca dati e ad inviarmi materiale informativo, pubblicitario o promozionale, inerente la propria attivit?e i prodotti commercializzati, nel rispetto della legge N? 675/96 del 31.12.1996 "Tutela della Privacy". </textarea></font></b></p> <p style="text-align: left;"> <b> <font face="Verdana"> <label> <span class="required"><font size="2"><font color="#FF0000">*</font> </font></span> <font color="#808080" size="2">Accettazione Privacy</font></label><font color="#808080" size="2"> </font> </font> </b></p><p style="text-align: left;"> <b> <font face="Verdana"><font color="#808080" face="Verdana" size="3"> <input name="form_element9" value="yes" style="font-weight: 700;" type="checkbox"></font><font color="#808080" size="2"> </font> <label class="left"><font color="#808080" size="2">Accetto</font></label><font color="#808080" size="2"> <br> </font> </font> </b></p><p style="text-align: left;"> </p><p style="text-align: left;"> <b><font face="Verdana"><font color="#808080" face="Verdana" size="3"> <input class="form-input-button" name="resetButton" value="Azzera" style="font-weight: 700;" type="reset"></font><font color="#808080" size="2"> </font><font color="#808080" face="Verdana" size="3"> <input class="form-input-button" name="submitButton" value="Invia" style="font-weight: 700;" type="submit"></font><font color="#808080" size="2"> <?php session_destroy(); ?> </font> </font> </b></p> </form>
-
Servirebbe sapere qual'è l'errore...
Così almeno ci si può concentrare su quello, visto che di per se, dal punto di vista semantico ( quindi dell'HTML ) questo codice è completamente sbagliato. Ha talmente tanti errori che mi stupisco persino che possa funzionare ( non dovuti a te, ma al "caro" frontpage )...
Che linguaggio usi server side per l'elaborazione dei dati?
La pagina --WEBBOT-SELF-- esiste??
Perchè è la pagina che riceve i dati inviati dal form...
[html]<form ... action="--WEBBOT-SELF--" .. >[/html]