Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 13

Discussione: nn funziona il form!?!

  1. #1
    Utente bannato
    Registrato dal
    Aug 2003
    Messaggi
    46

    nn funziona il form!?!

    ho creato un from...qnd cerco di inviarlo nn funziona come dovrebbe

    metto qui il codice del form

    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <META HTTP-EQUIV="Content-Language" CONTENT="it">
    <TITLE>ROSSANA DOLCIARIA - Info</TITLE>
    <base target="_self">
    </HEAD>
    <BODY text="#666666" link="#666666" vlink="#990000" alink="#666666">
    <table width="100%" border="0">
    <tr>
    <td><H1 align="left"><font face="Verdana" size="2">[img]../images/intestazione.gif[/img]<font size="1">[img]../images/info.gif[/img]</font></font>

    <script Language="JavaScript"><!--
    function FrontPage_Form1_Validator(theForm)
    {

    if (theForm.Cognome.value == "")
    {
    alert("Inserire un valore per il campo \"Cognome\".");
    theForm.Cognome.focus();
    return (false);
    }

    if (theForm.Nome.value == "")
    {
    alert("Inserire un valore per il campo \"Nome\".");
    theForm.Nome.focus();
    return (false);
    }

    if (theForm.Telefono.value == "")
    {
    alert("Inserire un valore per il campo \"Telefono\".");
    theForm.Telefono.focus();
    return (false);
    }

    if (theForm.mbox.value == "")
    {
    alert("Inserire un valore per il campo \"mbox\".");
    theForm.mbox.focus();
    return (false);
    }

    if (theForm.InfoType.selectedIndex < 0)
    {
    alert("Selezionare una delle opzioni di \"InfoType\".");
    theForm.InfoType.focus();
    return (false);
    }

    if (theForm.InfoType.selectedIndex == 0)
    {
    alert("La prima opzione di \"InfoType\" non è una selezione valida. Scegliere un'altra opzione.");
    theForm.InfoType.focus();
    return (false);
    }

    if (theForm.Problema.value == "")
    {
    alert("Inserire un valore per il campo \"Problema\".");
    theForm.Problema.focus();
    return (false);
    }
    return (true);
    }
    //--></script>

    </H1>
    <FORM METHOD="POST" action="_derived/nortbots.htm" onsubmit="location.href='_derived/nortbots.htm';return false;" name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--" WEBBOT-onSubmit="return FrontPage_Form1_Validator(this)">
    <!--webbot bot="SaveResults" startspan U-File="richiesta.txt"
    S-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
    S-Email-Format="TEXT/PRE" S-Email-Address="info@rossanadolciaria.it"
    B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE"
    S-Email-ReplyTo="mbox" B-Email-Subject-From-Field="FALSE"
    S-Email-Subject="Richiesta da modulo Web"
    S-Builtin-Fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT"
    S-Form-Fields="Cognome Nome Organizzazione Cellulare Telefono Fax mbox InfoType Problema "
    U-Confirmation-Url="ok_form.htm" -->
    <!--webbot
    bot="SaveResults" endspan i-checksum="38658" -->
    <blockquote>
    <P style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font size="1" face="Verdana"><u>Informazioni anagrafiche
    per la risposta
    /Information for the answer</u></font></P>
    <TABLE width="450">
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="1">Cognome/Last name</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">

    <INPUT NAME="Cognome" SIZE=35 tabindex="1">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font face="Verdana" size="2" color="#FF0000">*</font></p></TD>
    </TR>
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font size="1" face="Verdana">Nome/Name</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">
    <!--webbot bot="Validation"
    B-Value-Required="TRUE" -->
    <INPUT NAME="Nome" SIZE=35 tabindex="2">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font face="Verdana" size="2" color="#FF0000">*</font></p></TD>
    </TR>
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="1">Organizzazione/Organizzation</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">
    <INPUT NAME="Organizzazione" SIZE=35 tabindex="3">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"></p></TD>
    </TR>
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font size="1" face="Verdana">Cellulare/Cellular</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">
    <INPUT NAME="Cellulare" SIZE=25 tabindex="4">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"></p></TD>
    </TR>
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="1">Telefono/Telephone</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">

    <INPUT NAME="Telefono" SIZE=25 tabindex="5">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font face="Verdana" size="2" color="#FF0000">*</font></p></TD>
    </TR>
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="1">Fax</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">
    <INPUT NAME="Fax" SIZE=25 tabindex="6">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"></p></TD>
    </TR>
    <TR>
    <TD ALIGN="left" width="214"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="1">E-mail</font></p></TD>
    <TD width="210"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">

    <INPUT NAME="mbox" SIZE=35 tabindex="7">
    </font> </TD>
    <TD width="10" align="center"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font face="Verdana" size="2" color="#FF0000">*</font></p></TD>
    </TR>
    </TABLE>
    <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font face="Verdana" color="#FF0000" size="1">(*)
    Campo ad inserimento obbligatorio/Obbligatory field</font></p>
    <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"></p>
    <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font size="2" face="Verdana"><u><font size="1">Segnalare
    analiticamente la richiesta/
    </font><font size="2" face="Verdana"><u><font size="1">To
    report request analytically
    </font></u></font></u></font></p>
    <TABLE>
    <TR>
    <TD ALIGN="right"> <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Verdana" size="2">
    <!--webbot bot="Validation" B-Value-Required="TRUE" B-Disallow-First-Item="TRUE"
    -->
    <SELECT NAME="InfoType" size="1" tabindex="8">
    <option selected>Tipologia Richiesta/Request Tipology</option>
    <option>Info Amministrative/Administrative Info</option>
    <option>Info Commerciali/Commercial Info </option>
    <option>Info Prodotti/Product Info </option>
    <option>Info Spedizioni/Forwarding Info </option>
    <option>Altro/Other</option>
    </SELECT>
    </font> </p></TD>
    </TR>
    </TABLE>
    <P style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    </P>
    <P style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <font face="Andale Mono" size="2">

    <TEXTAREA NAME="Problema" ROWS=5 COLS=77 tabindex="11"></TEXTAREA>


    </font> </P>
    <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0">
    <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"><font face="Verdana" size="2">
    <INPUT TYPE=SUBMIT VALUE="Send" name="Il suo messaggio &egrave; stato inoltrato!">
    <INPUT name="RESET" TYPE=RESET VALUE="Cancel">
    </font>
    <p style="text-indent: 0; word-spacing: 0; line-height: 100%; margin: 0"></p>
    </blockquote>
    </FORM>
    <p align="center">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
    <param name="BGCOLOR" value="">
    <param name="BASE" value=".">
    <param name="movie" value="chiudi.swf">
    <param name="quality" value="high">
    <embed src="chiudi.swf" width="100" height="20" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" base="." ></embed>
    </object>
    codice x kiudere<font face="Verdana"></font></p>
    </td>
    </tr>
    </table>
    <H1 align="center"></H1>
    </BODY>
    </HTML>

  2. #2
    Sei sicuro che questa azione del form, action="_derived/nortbots.htm", sia esatta???
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  3. #3
    Utente bannato
    Registrato dal
    Aug 2003
    Messaggi
    46
    no...nn l'ho scritto io il codice...

  4. #4
    A bhe, allora bisogna sapere da chi l'ha scritto cosa intendeva fare con questo form, mandare una mail, registrare un messaggio, memorizzare dei dati.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  5. #5
    Utente bannato
    Registrato dal
    Aug 2003
    Messaggi
    46
    il form dovrebbe spedire i dati via e-mail senza usare il programma di posta...nn sò se mi sono spiegata!!!

  6. #6
    Allora non puoi farlo in quanto questo form non presenta le caratteristiche da te richieste. L'action del form si indirizza su una pagina statica HTML, mentre a te serve una pagina con script lato server (ASP o PHP) per poter mandare una mail senza passare dal client di posta. Hai la possibilità di usare linguaggi dinamici???
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  7. #7
    Utente bannato
    Registrato dal
    Aug 2003
    Messaggi
    46
    allora...posso usare l'ASP...cmq dopo quella pagina ce n'è un'altra ke dovrebbe confermare l'invio o un eventuale errore

    ecco il codice

    <html>

    <head>
    <meta http-equiv="Content-Language" content="it">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>ROSSANA DOLCIARIA - Richiesta inoltrata</title>
    </head>

    <body>
    <table width="100%" border="0">
    <tr>
    <td>[img]../images/intestazione.gif[/img]</td>
    </tr>
    <tr>
    <td><p align="center"></p>
    <p align="center"></p>
    <p align="center"></p>
    <p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">La
    richiesta è stata inoltrata!</font>


    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Your request
    has be sent!</font>
    </p>
    <p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Sarete
    contattati al più presto
    .

    You will be contact you soon.</font></p>
    <p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">F.lli
    Ruggeri
    </font></p>
    <p align="center"></p>
    <p align="center">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
    <param name="BGCOLOR" value="">
    <param name="BASE" value=".">
    <param name="movie" value="chiudi.swf">
    <param name="quality" value="high">
    <embed src="chiudi.swf" width="100" height="20" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" base="." ></embed>
    </object>
    <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> </font></p>
    </td>
    </tr>
    </table>
    <p align="center"></p>


    </p>


    </p>

    </body>

    </html>

  8. #8
    Questa è una semplice pagina di conferma di modulo inviato, se il form ha successo. Mi sembra di aver capito che la pagina dove c'è il form è stata sviluppata con FrontPage e i moduli sono stati elaborati con FP. Se così fosse, hai bisogno delle estensioni nel server di FP.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  9. #9
    Utente bannato
    Registrato dal
    Aug 2003
    Messaggi
    46
    ..........???FP??..cosa significa?

  10. #10
    FP = Microsoft FrontPage dalla versione 2000 in poi.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.