Hi Guys
I am quite new to mootools and after days of searching for a decent 
validation script for my registration form, I came across formcheck by 
mootools.
Now, I have downloaded it, as well as core.js and more.js and done the 
following:
Put these in my <head> tags
<link rel="stylesheet" 
href="http://www.mysiteurl.net/wp-content/themes/pcc/js/formcheck.css"; 
type="text/css" media="screen" />
<script type="text/javascript" 
src="http://www.mysiteurl.net/wp-content/themes/pcc/js/core.js";></script> 
<script type="text/javascript" 
src="http://www.mysiteurl.net/wp-content/themes/pcc/js/more.js";></script>
<script type="text/javascript" 
src="http://www.mysiteurl.net/wp-content/themes/pcc/js/en.js";></script>
<script type="text/javascript" 
src="http://www.mysiteurl.net/wp-content/themes/pcc/js/formcheck.js";></script>

Have put this just above my form in the body (locumregister is the id of my 
form):
<script type="text/javascript">
    window.addEvent('domready', function(){
        new FormCheck('locumregister');
    });
</script>

And finally have added these in to all my required input tags:
class="validate['required']"

And guess what, nothing happens.
Any advice? thanks.
Adey

Reply via email to