Downloaded an ajax lightform (contact form), but do not know how install it into frontpage any help.
Update!!!:
The code i am using is:
[CODE]<head>
<title>Contact Me!</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<meta name=”description” content=”Ajax Contact form using CheckForm2 and NiceForms.” />
<meta name=”keywords” content=”php, contact form, Ajax, mootools, checkform2, niceforms, Moo Floor, class, javascript, spamcheck, badboy.ro” />
<meta name=”author” content=”Jeremie Tisseau” />
<link rel=”stylesheet” href=”LightForm/css/main.css” type=”text/css” media=”screen” />
<script type=”text/javascript” src=”LightForm/js/mootools.js”></script>
<!– Formcheck2 / Moo.Floor.ch –>
<!– http://moo.floor.ch/?p=18 –>
<script type=”text/javascript” src=”LightForm/js/formcheck.js”></script>
<script type=”text/javascript”>
window.addEvent(‘domready’, function(){check = new FormCheck(‘third’, {
display : {
fadeDuration : 500,
errorsLocation : 1,
indicateErrors : 1,
showErrors : 1
}
})});
</script>
<!– NiceForms / BadBoy.ro –>
<!– http://www.badboy.ro/articles/2005-07-23/niceforms_preview/ –>
<script type=”text/javascript” src=”LightForm/jsniceforms.js”></script>
</style>
</head>
<body>
<!– The contact form starts here–>
<?php
if ($_SERVER[‘REQUEST_METHOD’] != ‘POST’){
$self = $_SERVER[‘PHP_SELF’];
?>
<!– Start HTML form –>
<form name=”form” method=”post” id=”third” action=”<?php echo $self;?>” class=”niceform”>
<h1>Contact Me!</h1>
<!– Name –>
<label for=”name”><strong><span class=”blue”>*</span> Name : </strong></label>
<input id=”name” name=”name” type=”text” class=”validate[‘required’,’length[3,-1]’,’nodigit’]” size=”20″ />
<!– Email –>
<label for=”email”><strong><span class=”blue”>*</span> Email : </strong></label>
<input id=”email” name=”email” type=”text” class=”validate[‘required’,’length[5,-1]’,’email’]” size=”20″ />
<!– Website –>
<label for=”site”>Website : </label>
<input id=”website” name=”website” type=”text” class=”validate[‘url’]” size=”20″ />
<!– Subject –>
<label for=”subject”><strong><span class=”blue”>*</span> Subject : </strong></label>
<input id=”subject” name=”subject” type=”text” class=”validate[‘required’]” size=”20″ />
<!– Message –>
<label for=”msg”><strong><span class=”blue”>*</span> Your message : </strong></label><br />
<textarea id=”message” name=”message” type=”text” class=”validate[‘required’]” rows=”10″ cols=”30″></textarea>
<!– Spam Check –>
<label for=”spamcheck”><span class=”blue”>*</span> <acronym title=”[ Spam prevention ]”><strong>Are you human?</acronym> : <span class=”blue”>2 + 3 = ???</span></strong></label>
<input id=”spamcheck” name=”spamcheck” type=”text” size=”5″ class=”validate[‘required’,’number’,’spamcheck’]” />
<br /><br />
<input type=”submit” class=”buttonSubmit” value=”Send it!” />
<!– Niceforms: mouse over effect –>
<!– Do not remove the line below –>
<div id=”stylesheetTest”></div>
</form>
</body>
You can see what it is like [URL=”http://weejohnweecookingworld.co.uk/suggestions.htm”]here