How to insert an "Ask for more information" form

moreinfo.jpg
  1. create a block in the page
  2. go to the "body" entry
  3. click on
  4. enter the following code:

HTML Code

<div class="eaKeep">
<SCRIPT src="../../../third-parties/yav/js_compact/yav.js">&nbsp;</SCRIPT> 
<SCRIPT src="../../../third-parties/yav/js_compact/yav-config.js">&nbsp;</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">Ask for more information</th>
            </tr>
            <tr>
                <td>E-mail</td>
                <td>&#160;<input type="text" style="width: 320px;" name="email" /></td>
            </tr>
            <tr>
                <td>Name</td>
                <td>&#160;<input type="text" style="width: 320px;" name="name" /></td>
            </tr>
            <tr>
                <td>Telephone</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="More information" name="formTitle" /></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" style="float: right;" value="send" /></td>
            </tr>
        </tbody>
    </table>
</form>
</div>