/    Sign up×
Community /Pin to ProfileBookmark

Lightform Help

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>
[/CODE]

You can see what it is like [URL=”http://weejohnweecookingworld.co.uk/suggestions.htm”]here[/URL]

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@wee2johnauthorApr 12.2009 — sorry to BUMP any help??
×

Success!

Help @wee2john spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.9,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...