Comment insérer un formulaire de "Demande d'informations"

formulaireDeContact.jpg
  1. créer un bloc dans la page
  2. aller à l'onglet "corps"
  3. cliquer sur
  4. insérer le code suivant:

Code HTML

<div class="eaKeep"><SCRIPT src="../../../third-parties/yav/js_compact/yav.js"></SCRIPT>  <SCRIPT src="../../../third-parties/yav/js_compact/yav-config-fr.js"></SCRIPT>  <SCRIPT>
    var rules=new Array();
    rules[0]='email|required|e-mail';
    rules[1]='email|email';
</SCRIPT>
<style type="text/css">
                <!--
                .inputError { border:#FF8000 1px solid; background-color: #FFFFD7; }
                .contactTable { margin-top:10px; border:#999999 1px solid;}
                .contactTable th { background-color:#DDDDDD; font-weight:bold; text-align:left }
                .contactTable ol { padding-left:15px }
                -->
                </style>
<form class="fckForm" style="margin: 0pt;" onsubmit="return performCheck('contactForm', rules, 'classic');" action="../../../iw/core/main/sendForm.jsp" name="contactForm">
    <table style="width: 100%;" class="contactTable">
        <tbody>
            <tr>
                <th colspan="2">Formulaire de contact</th>
            </tr>
            <tr>
                <td>E-mail</td>
                <td>&#160;<input type="text" style="width: 320px;" name="email" /></td>
            </tr>
            <tr>
                <td>Nom</td>
                <td>&#160;<input type="text" style="width: 320px;" name="nom" /></td>
            </tr>
            <tr>
                <td>Téléphone</td>
                <td>&#160;<input type="text" style="width: 320px;" name="telephone" /></td>
            </tr>
            <tr>
                <td>Message</td>
                <td>&#160;<textarea style="width: 420px;" name="message">&#160;</textarea><input type="hidden" value="Formulaire de contact" name="formTitle" /></td>
            </tr>
            <tr>
                <td colspan="2">
                <input type="submit" style="float: right;" value="envoi" /></td>
            </tr>
        </tbody>
    </table>
</form>
</div>