This update take full advantage of jQuery 1.4. You can now validate using the live event (off by default), this really boost the loading speed of the engine.
-
$("#formID").validationEngine({liveEvent:true})
You can now specify if you want to scroll the page to the first error.
-
$("#formID").validationEngine({scroll:false})
There is one new rule, exemptString, this allow you to specify a string that will not be validated (I will add an example today in the demo).
-
<input class="validate[required,exemptString[Add your first name]]" name="firstname" type="text" />
Sorry for the lack of updates!
Very cool. Need to “reimplement” it now
Check out here: http://blog.computer-service-mallorca.com/2010/02/03/jquery-form-wizard-with-inline-validation/
Cheers
Hello,
I have a problem with Form Validation Engine. How to submit files with AjaxSubmit upload ? (e.g. PNG or JPG)
Sincerely,
Samet ARAS.
There is no option to upload file with this script sorry
Hello,
AJAXsubmit using Can I upload files with PHP ?
Sincerely,
Samet ARAS.
I suggest you use uploadify on the success function (no need of the ajaxsubmit method)
Oh Oh
very thanks.
Hello guys, this is a great plugin! Could you help me to add a different RegExp? I tried to implement a specific RegExp to the Validator but I don’t know where to put it. Is there an example? Thank you very much!
It’s me again. I’m testing my form on Google Chrome and the validation is not “activated”. On IE is working fine.. but on Chrome it doesn’t work. I tested the example form and it works well. I double checked everything on my form and it’s seems to be fine. Do you know guys what I should do? Thanks.
I’ve impleneted the updated version but doing a capthca check using a call to a file no longer works.
It’s sending the validateError as var name and then “underfined” – captchacheckundefined
the 1.6.2 is still available on the page, I will look into it
Hi Everybody ,
There is similar one like here
http://mootools.floor.ch/en/labs/formcheck/forum-registration/index.htm
TELL ME HOW TO VALIDATE FIELDS ONE AFTER ONE ON SUBMIT LIKE THE ABOVE LINK.
Thanks,
Shankar
IT IS NOT POSSIBLE, THE SCRIPT IS NOT WRITTEN THAT WAY
OK.
If I got Ten fields in my form and when i left empty the ERROR on EACH fields overlap each other.
I used the Position Setting for “Validation Engine” so that it will be better if i validate fields on submit one by one.
Can you tell me something like the same validation which is here.
There is no way to validate one by one on submit currently, personnaly I just design my form so that my balidation will not overlap
Thanks Cedric Dugas
I’m having a really hard time trying to check username availability against my mySQL database. I even created a “karnius” user in my database and used the validateUser.php file provided in your download, but it still wouldn’t work. Should it have? Basically I’m in way over my head here, and if you could provide any further instructions beyond what is already in your tutorial, I would really, really appreciate it.
What happen? it stop at loading, or always show that it has no user or always say it have?
Hello,
I have a problem with Form Validation Engine.I can send more than one form. How can I solve this ?
Sincerely;
Samet ARAS.
Hello,
I solved the problem. Example;
success : function() { callSuccessFunction() },
Function:
function callSuccessFunction(){
$(‘input[type=submit]‘).attr(‘disabled’, true);
}
Sincerely;
Samet ARAS.
Yes, it stops at “*Loading, please wait.”
This is because you need to be on a server or use xampp, it load a php script
Juste remove the validate user rule
I am using a server which runs PHP though. I am able to post all of the registration information to my database, but the same username can be used more than once.
Daniel
please send me your email, you must compare with mysql if the username is taken and return a error message in this form:
{“jsonValidateReturn”:["user","ajaxUser","false"]}
How can I pass the OnlyLetters check with a name for example “Nguyễn Hoàng”? I need a RegEx that support Unicode, please help, I’m not good at RegEx
Hello,
I report a bug. if the submit button is clicked several times, the form sends the informations also several times. how I can prevent this ?
Sincerely,
Samet ARAS.
Remove the exclamation mark on line 240 to get rid of the hanging ajax calls!
Great validation tool! I do have one question. Is there a way to reposition the error messages for the check boxes and radio buttons. I am using top-positioned labels and they are being covered by the error messages. Thanks in advance!
validation needs some correction, not sure if I am correct, but upon return, the true (boolean) and “true” (string) are 2 different things, any user might fall into this trap.. hope you guys be k-ful on the ajax response.
fyi, I am using 1.6.2, I not sure if 1.6.3 addresses the issue.
I mean the ajax validation on above comment..
Hi,
first of all, thanks for this great plugin !!
I’ve got a problem, I want to have choice to use validationEngine or not. I mean I’d like to unbind this plugin from my form at a certain moment. Is it possible ?
I finally found a way, after 6 hours of hard work, the anwser is really simple. I just replaced all my inputs className attribute from “validate…” to “dontvalide…” and it seems to work. Here is my function :
function setValidationForm(value) {
var needle;
var replacement;
if (value) {
needle = ‘dontvalide’;
replacement = ‘validate’;
} else {
needle = ‘validate’;
replacement = ‘dontvalide’;
}
$(‘[class*=' + needle + ']‘).each(function(){
var newClassName = $(this).attr(‘className’).replace(needle, replacement);
$(this).attr(‘className’, newClassName);
});
}
And now if you want to use the validationEngine, call the function like this “setValidationForm(true)”, and if you don’t want to use it, just call “setValidationForm(false)”. That was simple !!