PDA

View Full Version : [FORM] Registrazione Online


-=[ ']['[() ]=-
27-02-2003, 16:31
Qualcuno mi dice per cambiare bgcolor="#"
ai campi form e soprattutto perk non funfa? thx :awk:

Istruzioni (http://www.html.it/mailing/archivio/a150/index1.html)

<html><head>
<title>..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Avalon World Shard</title>
<META NAME="DESCRIPTION" CONTENT="..::{ GoS }::.. Gilda italiana per il videogioco Ultima Online @ Avalon World Shard">
<script>
<!--
var iscomplete=false

function checkform() {
iscomplete=true
for (i=0;i<=document.mioform.elements.length-1;i++) {
if (document.mioform.cognome.value=="") {iscomplete=false}
if (document.mioform.nome.value=="") {iscomplete=false}
if (document.mioform.indirizzo.value=="") {iscomplete=false}
if (document.mioform.email.value=="") {iscomplete=false}
}
if (!iscomplete) {
window.status="Per favore compila i campi!"
if (document.layers) {
document.mioform.submitbut.value="NO"
iscomplete=false
}
else if (document.all) {
submitbutton.style.visibility="HIDDEN"
iscomplete=false
}
else if (document.getElementById) {
document.mioform.submitbut.value="NO"
iscomplete=false
}
}
if (iscomplete) {
window.status="Adesso puoi inviare il modulo"
if (document.layers) {
document.mioform.submitbut.value="Invia"
iscomplete=true
}
else if (document.all) {
submitbutton.style.visibility="VISIBLE"
iscomplete=true
}
else if (document.getElementById) {
document.mioform.submitbut.value="Invia"
iscomplete=true
}

}

var timer= setTimeout("checkform()",200)
}

function oksubmit() {
return iscomplete
}
// -->
</script>
<LINK rel="stylesheet" href="style.css" type="text/css">
<script language="JavaScript" src="link.js"></script>
</head><body onLoad="checkform()">

<table bgcolor=#000000>
<form NAME="mioform" onSubmit="return oksubmit()" ACTION="mailto:stegco@liber.it" METHOD="POST">
<tr><td align="left">Nome: </td><td align="right"><input NAME="Nome PG" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">Et: </td><td align="right"><input NAME="Et" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">Sesso: </td><td align="right"><input NAME="Sesso" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">Razza: </td><td align="right"><input NAME="Razza" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">Classe: </td><td align="right"><input NAME="Classe" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">Allineamento: </td><td align="right"><input NAME="Allineamento" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">BackGround: </td><td align="right"><input NAME="BackGround" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">E-Mail: </td><td align="right"><input NAME="E-Mail" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td align="left">ICQ: </td><td align="right"><input NAME="ICQ" TYPE="Text" SIZE="30" MAXLENGTH="50"></td></tr>
<tr><td></td><td align="right"><input NAME="submitbut" TYPE="submit" VALUE=" Invia "></td></tr>
</form></tr>
<tr bgcolor=#454545><td align="right">
<SCRIPT language="JavaScript">
<!--
if (document.layers){
document.write('<DIV id="submitbutton" style="visibility:hidden">');
}
else if (document.all){
document.write('<DIV id="submitbutton" style="visibility:hidden">');
}
else if(document.getElementById && navigator.appName == "Netscape"){
document.write('<DIV id="submitbutton" style="visibility:hidden"></div>');
}
//-->
</SCRIPT>
</td></tr></table>

</body></html>

:hello:

-=[ ']['[() ]=-
27-02-2003, 20:33
a si, invia alla mail per mi arriva come allegato .tts (mi pare) e s el oapro kon blocco note tuttop unc asino :)

Ramastan
28-02-2003, 20:54
uppete :)

Ramastan
01-03-2003, 16:58
dai raga plz :(

Debian Hawk
03-03-2003, 09:20
se usi php .. io ti posso mandare un form semplice semplice e che lavora anche senza DB ... ^^

Ramastan
04-03-2003, 19:11
non uso php ma ho lo spazio ke lo supporta, manda pure ^^
trovi tutto in sign :)