<div style="background-color:#CCDFED">
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="registrationForm" />
<table>
<tr>
<td><label for="reasons" style="margin:0.5em">Reason for contacting us:</label></td>
<td><textarea cols="60" rows="3" name="reasons" eform="Reasons::1"></textarea></td>
</tr>
<tr>
<td><label for="products" style="margin:0.5em">Which sweets </label>
<label style="margin:0.5em">do you like:</label>
<td>
<input type="checkbox" name="products[]" value="icecream" eform="Sweets::1"/> Ice Cream <br/>
<input type="checkbox" name="products[]" value="bananasplit" /> bananasplit<br/>
</td>
</tr>
<tr>
<td><label for="how" style="margin:0.5em">How did you hear about us:</label></td>
<td>
<select name="how" style="width:200px" eform="How::1" >
<option value="web_search">Web search</option>
<option value="links">Links</option>
<option value="friends">Friends</option>
<option value="word_of_mouth">Word of Mouth</option>
</select>
</td>
</tr>
</table>
</form>
</div><div style="background-color:#CCDFED">
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="registrationForm" />
<table>
<tr>
<td><label for="reasons" style="margin:0.5em">Reason for contacting us:</label></td>
<td><textarea cols="60" rows="3" name="reasons" eform="Reasons::1"></textarea></td>
</tr>
<tr>
<td><label for="products" style="margin:0.5em">Which sweets </label>
<label style="margin:0.5em">do you like:</label>
<td>
<input type="checkbox" name="products[]" value="icecream" eform="Sweets::1"/> Ice Cream <br/>
<input type="checkbox" name="products[]" value="bananasplit" /> bananasplit<br/>
</td>
</tr>
<tr>
<td><label for="how" style="margin:0.5em">How did you hear about us:</label></td>
<td>
<select name="how" style="width:200px" eform="How::1" >
<option value="web_search">Web search</option>
<option value="links">Links</option>
<option value="friends">Friends</option>
<option value="word_of_mouth">Word of Mouth</option>
</select>
</td>
</tr>
</table>
</form>
</div>[!eForm? &formid=`registrationForm` &to=`[email protected]` &tpl=`"ask-yourself-form" ` &report=`"ask-yourself-mail"` &thankyou=`"ask-yourself-thanks"` &subject=`About Yourself Form` &vericode=`1` &automessage=`ask-yourself-mail` !]
$(document).ready(function(){
$("#contactArea").css('height', '0px');
$("#cancel").click(
function() {
$("#contactArea").animate({height: "0px"}, {queue:false, duration: 1700, easing: 'easeOutBounce'})
}
);
$("a.contact").toggle(
function () {
$("#contactArea").animate({height: "280px"}, {queue:false, duration: 1700, easing: 'easeOutBounce'})
},
function () {
$("#contactArea").animate({height: "0px"}, {queue:false, duration: 1700, easing: 'easeOutBounce'})
}
);
if($("div.errors").text() != '') { $("#contactArea").animate({height: "330px"}, {queue:false, duration: 1700, easing: 'easeOutBounce'});
}
if($("div.errors").text() == '') { $("#contactArea").animate({height: "0px"}, {queue:false, duration: 1700, easing: 'easeOutBounce'});
}
});