Remove old validation system

This commit is contained in:
Nicolas Le Goff
2013-06-17 12:23:26 +02:00
parent c509a1bf47
commit e9569b2066
177 changed files with 0 additions and 35046 deletions

View File

@@ -1,27 +0,0 @@
$(function(){
$("#refreshimg").click(function(){
$.post('newsession.php');
$("#captchaimage").load('image_req.php');
return false;
});
$("#captchaform").validate({
rules: {
captcha: {
required: true,
remote: "process.php"
}
},
messages: {
captcha: "Correct captcha is required. Click the captcha to generate a new one"
},
submitHandler: function() {
alert("Correct captcha!");
},
success: function(label) {
label.addClass("valid").text("Valid captcha!")
},
onkeyup: false
});
});