ciao a tutti, ho creato questo semplice codice per far si che un utente possa compilare i campi e spedire ad un certo estinatario il valore dei campi:
<form action="MAILTO:xxx@xx.com?subject=RISPOSTA" method="post" enctype="text/plain" form="yes">
<table border="0" width="524" height="85">
<tr>
<td width="341" height="6" align="right"><font face="Verdana" size="1">Numero</font></td>
<td width="169" height="6"><input type="text" name="Numero" size="23" value=""></td>
</tr>
<tr>
<td width="341" height="21" align="right"><font face="Verdana" size="1">Codice</font></td>
<td width="169" height="21"><input type="text" name="Codice" size="23" value=""></td>
</tr>
<tr>
<td width="341" height="21" align="right"><font face="Verdana" size="1">Data</font></td>
<td width="169" height="21"><input type="text" name="Data" size="23" value=""></td>
</tr>
<tr>
<td width="341" height="21" align="right"><font face="Verdana" size="1">Ore</font></td>
<td width="169" height="21"><input type="text" name="Ore" size="23" value=""></td>
</tr>
<td width="341" height="21" align="right"></td>
<td width="169" height="21">
<input style="FONT-SIZE: 8pt; BORDER-LEFT-COLOR: #000080; BORDER-BOTTOM-COLOR: #000080; COLOR: #ffffff; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: #000080; FONT-FAMILY: Verdana; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; BACKGROUND-COLOR: #000080; BORDER-RIGHT-COLOR: #000080; BORDER-BOTTOM-STYLE: solid" type="submit" value="INVIA CON E-MAIL" />
</td>
</table>
</form>
una volta compilati i campi e premuto il bottone il destinatario (xxx@xx.com) ricevera il messaggio di posta col seguente testo:
Numero= VALORE
codice= VALORE
data= VALORE
ore= VALORE
non mi piace molto che riceva questo... so che in teoria dovrei riuscire a fare in modo che quando premo il bottone mi si crea del codice HTML con dei form e ad esempio al loro interno il valore che e' stato inserito nei campi prima di premere il bottone... ma come spedire poi questo codice al destinatario (xxx@xx.com)?
e' un po' intorcolato.... ciao!