Visualizzazione dei risultati da 1 a 3 su 3

Discussione: campi obbligatori

Hybrid View

  1. #1

    campi obbligatori

    Ciao a tutti! Premetto che di html ne so poco o nulla e copiando questo link che funziona vorrei che tutti i campi fossero obbligatori. Datemi, se potete il codice completo perchè non so aggiungere nulla, grazie.

    <form name="parere" action="mailto:esempio@esempio.it" method="post" enctype="text/plain">
    <table border="0" cellspacing="5" cellpadding="5">
    <tr>
    <td>
    Nome:
    </td>
    <td>
    <input type="text" name="nome" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    E-mail:
    </td>
    <td>
    <input type="text" name="email" size="35" maxlength="40" value="">
    </td>
    </tr>
    <td>
    Ragione Sociale:
    </td>
    <td>
    <input type="text" name="ragione sociale" size="35" maxlength="40" value="">
    </td>
    </tr>
    <td>
    Referente:
    </td>
    <td>
    <input type="text" name="referente" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    Partita Iva:
    </td>
    <td>
    <input type="text" name="partita iva" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    Codice Fiscale:
    </td>
    <td>
    <input type="text" name="codice fiscale" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    Contatti:
    </td>
    <td>
    <input type="text" name="contatti" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <tr>
    <tr>
    <td valign="middle">
    Note
    </td>
    <td>
    <textarea name="note" rows="4" cols="30">
    </textarea>
    </td>
    </tr>
    <br>
    <hr width="50%" align="left">
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <input type=submit value="Invia i Dati">
    <input type=reset value="Annulla">
    </td>
    </tr>
    </table>
    </form>

  2. #2
    codice:
    <form name="parere" action="mailto:esempio@esempio.it" method="post" enctype="text/plain">
    <table border="0" cellspacing="5" cellpadding="5">
    <tr>
    <td>
    Nome:
    </td>
    <td>
    <input type="text"  required name="nome" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    E-mail:
    </td>
    <td>
    <input type="text"  required name="email" size="35" maxlength="40" value="">
    </td>
    </tr>
    <td>
    Ragione Sociale:
    </td>
    <td>
    <input type="text"  required name="ragione sociale" size="35" maxlength="40" value="">
    </td>
    </tr>
    <td>
    Referente:
    </td>
    <td>
    <input type="text"  required name="referente" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    Partita Iva:
    </td>
    <td>
    <input type="text"  required name="partita iva" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    Codice Fiscale:
    </td>
    <td>
    <input type="text"  required name="codice fiscale" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <td>
    Contatti:
    </td>
    <td>
    <input type="text"  required name="contatti" size="35" maxlength="40" value="">
    </td>
    </tr>
    <tr>
    <tr>
    <tr>
    <td valign="middle">
    Note
    </td>
    <td>
    <textarea name="note" required rows="4" cols="30">
    </textarea>
    </td>
    </tr>
    <br>
    <hr width="50%" align="left">
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <input type=submit value="Invia i Dati">
    <input type=reset value="Annulla">
    </td>
    </tr>
    </table>
    </form>
    “Che le cose siano cosi, non vuol dire che debbano andare così. Solo che quando si tratta di rimboccarsi le maniche e incominciare a cambiare, vi è un prezzo da pagare. Ed è allora che la stragrande maggioranza preferisce lamentarsi più che fare”.

    Giovanni Falcone

  3. #3
    Guarda era per aiutare chi non ha potuto permettersi di fare un sito e pur essendomi messo e sforzato ho provato in mille modi per rendere i campi obbligatori. Comunque ti ringrazio lo stesso.

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.