It seems to be normal behaviour, but when using jquery's validate
plugin my client was not happy the a single domain suffix character
was enough to clear the valid email error. ie; tes...@googlemail.c
would validate.
To ensure that at least 2 characters had to be entered into the field
to validate
How can I validate this as one hidden field.I have 3 dropbdown list
month, day, year and I do not want to validate each separate on so I
would like to combine the strings together and validate the hidden
field. Pleas and thank you for your help.
Birth dat
Hi,
I'm using Jquery.validation to remotly test if an e-mail is already
in use, it works fine, but... if i do a remote check, it returns the
correct response e.g. "some...@abc.com already in use" but when i
click on the field, and then somewere else the message changes to
"filename.php already i
&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original message -
From: Antti
To: jQuery (English)
Date: Saturday, December 19, 2009, 12:09:32 PM
Subject: [jQuery] jQuery Validation Plugin messages by field
Hi!
Im quite newbie with jquery but so far i think it realy rocks. Anyways
im now trying to use Validation plugin but have one problem to solve
to get in job done.
My form has natrually many fields, each field can have many rules,
even custom rules. Trouble is that i cant find a way to overwrite
d
It's pretty hard to tell what could possibly be wrong from just that code
snippet. If you can post a link to a test page that demonstrates the
problem, it will be much easier for someone to help.
-Mike
On Tue, Dec 8, 2009 at 10:17 AM, NovoGeek wrote:
> Hi all,
> I'm using jQuery validation plug
Hi all,
I'm using jQuery validation plugin and everything works fine in
Firefox. But in IE (7&8), when I try to validate my form, I get the
error - ['settings' is null or not an object].
I'm using simple rules like this:
$("#FormID").validate({
rules: {
FirstNa
I have a set of combo boxes on a HTML form which act as a Date
control:
2009
2008
Jab
Feb
1
31
No I want to validate whether the user has left any value (year/month/
day) as blank, or if the values form a valid date (example
I have a set of combo boxes on a HTML form which act as a Date control:
2009
2008
Jab
Feb
1
31
No I want to validate whether the user has left any value (year/month/day)
as blank, or if the values form a valid date
I have a form with two input textboxes, and I have included JQuery validation
rules for both:
$(document).ready(function() {
$('#respondForm').validate({ onclick: false,
onkeyup: false,
onfoc
The following instructions are paraphrased from:
http://groups.google.com/support/bin/answer.py?hl=en&answer=46608
You can unsubscribe from a group through the web interface or via
email. To unsubscribe through the web interface, just click the "Edit
my membership" link on the right-hand sid
Hi, I have used jquery.validation before without any issues. I have included
the jquery validation javascript in the header and this test link does not
work for some reason - http://dev.ntroduction.com/?page=step3
The validation code is called before the form as I have done else where. But
this p
Hi all
Who can tell me how to unsubscribe this mailling list?
I'm gonna use another account for this mailing list.
thanks
> --
> View this message in context:
> http://old.nabble.com/jQuery-Validation-request-tp25995270s27240p26160052.html
> Sent from the jQuery General Discussion mailing list a
Hi Richard,
I also live in the Netherlands and ran into the same problem. I couldn't
find an answer online so i decided to write some addon methods myself.
I added the following two methods to the validator and that did the trick.
$.validator.addMethod("maxNL", function(value, element, param) {
Hi,
why jQuery validation plug-in 1.5.5 don't work with FireFox version
3.5.4?
Hi,
I was working with validation, but am having problems using the method
"max" for maximal numbers. I live in Holland and for us the decimal
character is a comma, and I can use comma's for validating the max
value of a field.
Could someone please make an addon like "numberDE" for max? So i can
Hi,
This is my first attempt at using addMethod and it's always returning
true, for some reason.
This is placed outside of document.ready
jQuery.validator.addMethod("checkemail", function(email) {
var email = $('#email').val();
$.post("user/checkemail", { "email" : email
I don't really know where to start on this, but I need to take a form
like:
input description
And put an icon [the error label] next to input on success or fail;
but also change the 's text on success or fail.
So a fail would change the message to whatever the message was, and on
success it wo
I have a problem with the validation plugin when I add a new
validation method in IE8, when I submit the form it just validate the
added method but the other fields are submitted anyway.
Also I have another problem with the valid() function, when I try to
see if the function is true to show a co
Hello.
I have template like this:
1.
2.Stary link:{0}
3.Nowy link:{1}
4.Nowy link:
5.Nowy link:{2}
6.Nowy link:
7.
after execution some patterns are replaced by arguments and some not.
Arguments:
{0} = http://wp.pl
{1} = http://2h.localhost
{2} = http://localhost/2h
it looks like this:
1.
2.St
Hi Guys,
I've put together a pretty simple competition script - it's commented
out below and you can find the demo at
http://www.jakeisonline.com/stackoverflow/jqueryvalidation/page/
(you'll find the code at the bottom of the page)
I am using a jquery plugin to achieve the validation:
http://ba
I'm trying to use the Jquery Validation plugin on aspnet mvc
fframework but it doesn't work, when I open the firebug console it
display an error:
jQuery is not defined
[Break on this error] jQuery.extend(jQuery.fn, {\n
I don´t know how to fix this issue an had already added the
jquery-1.3.2.js t
I am using jQuery validation plugin and I want that the error message
to be displayed in a specific span with id="test".
How do I do this?
I have this code:
$(document).ready(function() {
// validate signup form on keyup and submit
var validator = $("#signupform").validate({
rules: {
firstname: "required",
lastname: "required",
use
Hi there,
I had a form where I need user to input the their birthdate:
1
...
Jan
...
1980
...
How do I write custom validation rule to check if user had selected
appropriate input?
And which control should I assign the rule on?
Thanks.
Validation plug-in version: 1.5.5
Form plug-in version: 2.28
I was able to get the validation and submit to work together properly.
However, when using options in the validation plugin such as
errorClass and validClass I was ran into some trouble. Upon
submission, these classes would stick/stay.
Hello all
I have added a method on jQuery validator like this
$.validator.addMethod('myEqual', function (value, element) {
return value == element.value; // this one here didn't work :(
}, 'Please enter a greater year!');
$.metadata.setType("attr", "validate");
$("
Hi,
I have a form that includes four text fields for phone numbers:
Business, Home, Cell and Fax
A user must fill in at least one phone number.
How would I set up the validation for this?
Cheers
Hi,
How can I do validation on a group of input fields, as long as one of
the 3 fields have a value then it's valid,
I've managed to group them, but it's showing up with 3 error messages
instead of one. How can I get it to display just the one error msg for
all 3 input fields?
Here's my validati
I'm having some troubles with passing variables to jQuery.format
I have a script (php) that's checks if the domain part exists. If not
it will show an message
The following code works #1
It split an email address and assigns the domain name to the var
hostName
$(document).ready(function() {
va
Can anyone tell me how i can change which attribute on my form field
triggers the validation?
currently it appears the be the name attribute. So in my Rails app
using Rails helpers, it sets the name to somthing like formname
['fieldname'] and the whole name.
in my script if i do something like
JQuery newbie question re using validation plugin with Django newform.
I have a simple email feedback contact django form that I wanted to
enhance with some JQuery validation. I created a standalone (Non
Django) version of the form and it works correctly.
However when I create a Django version o
I am validating form fields on blur event in jquery. How do I validate
more than 1 field in the controller action called from ajax with
$params['form']. Code I m trying is:
//ajax action in controller
function ajax_validate() {
Configure::write('debug', 0);
if($this->Request
Are the options, usage and limitations for the jQuery Validation rules
using metadata in markup, e.g., class="required date", documented
anywhere?
There is
http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods,
but that is for setting up rules in the JS.
Hi,
Have anyone been able to use the jQuery validation script and been
able to make the buttonclick cause a post back? The form validates
fine but the post is never made. If I add the option submitHandler on
the plugin it goes in there, but that does not really help as i dont
want to do a ajax s
Hello,
Thanks for building this validation plugin, I like it. I have a
question:
The error class automatically gets added to the label with the same
for="" name, but for a certain error I need to change the element that
gains the "error" class.
For instance, I added this line to the error place
Has anyone managed to get Validation working with Autobox2 by
BigRedSwitch.
I am fairly new to Javascript coding but I do have a basic
understanding and have managed to get the Validation working on the
form (which was really easy) as well as Autobox2 but they just won't
be friends.
Has anyone e
dear all,
i'm trying to implement the captcha in a form where i'm using jquery
validation and also custom validation methods.
this is the code i have so far:
jQuery.validator.addMethod("Captcha", Function(value, element) {
jQuery.get("/functions/app/CaptchaAjax/captcha.asp?
validateCap
dear all,
i'm working with jQuery validation to validate the fields in a form.
in this form i have also the captcha (the check is verified through
ajax).
check the code below:
jQuery.validator.addMethod("Captcha",
function(value, element) {
jQuery.get("/captcha.asp?validateCaptchaCode=" + jQuer
I've tried to get this to work for the past 4 hours and I'm stuck.
I've got a master page with the following scripts added.
this is the form tag on my master page
in the HTML output of the page, it actually renders to "aspnetForm".
in the content page, this is what I have
Hi,
I have a form with multiple fields, including one for a telephone
number and one for an email address, i need the contact to enter in at
least one of the above in the form to make it valid, how do i do an
either/or check within a jquery validation form?
Hi --
I've got a contact form here
http://www.dianlofton.com/contact.shtml
...using the jquery.validate.js plugin. The form has an optional input
for a phone number, which I'd like to have validated -- but only if
there is info in the input. If you look at the source code for that
page, you'll
i've added this to the top of my page
jQuery.validator.addMethod("pCode", function(value) { // Addon method
for validating postal codes. Valid formats are (X1X 1X1) or (X1X1X1)
or (X1X-1X1).
return value.match(/^[a-zA-Z][0-9][a-zA-Z](-|
)?[0-9][a-zA-Z]
[0-9]$/);
I'm using the validate plugin, and am having a problem with simple one
element forms. I have a single select list and a submit button. If the
select list is empty, the validation prompts that it is required. When you
choose an option, and click Submit, it validates and removes the required
messa
I'm having a problem with validating first then submitting a form with
jQuery after success. It works however it seems like my submit()
function keeps sending multiple submits and keeps growing each time i
reuse the form (i made sure the values are reset after each submit).
I'm not sure if its my
Since I started messing around with jquery, I'm astonished on how
simple a java web form validation is.. the problem is when a person
has a non java brower or disable it, then basically the java
validation is useless!
Now, since I use php I also have the standard server side validation
but I was
I'm wondering if it's possible to call the validate method multiple
times to append more options to the validator.
I haven't tried it, but it seems like it will overwrite previous
options.
Example psuedo code:
var formValidator = $("#myForm").validate(options1);
formValidator += $("#myForm)".val
Hi
Why Jquery validation not working in thick box ?
pls advise me
thanks for advance
Hi,
I have been using a prototype form validation
http://tetlaw.id.au/view/javascript/really-easy-field-validation
but I now wish to go to jquery.
I can get it working but there is something i can't get to work and it
was the best feature of the prototype script mentione above.
I would like the
I am using the validate plugin with a form that has one select element
and no other elements. I am using the required and remote rules to
validate this element. When I click submit the first time, it
performs the remote validation, but doesn't submit the form. A second
click on the submit button
How can i add ID="error" instead of a class using jquery.
Also is there a way to say that "you must uncheck the box before
submitting the form.
Im using http://jquery.bassistance.de/validate/demo/milk/ as an
example.
Also is there a way to use jquery to show/hide passwords, i done it
using js b
My Jquery validator refuses to show the correct error message but
rather the default error message every time the validation fails.
I am doing 3 things.
First
$.validator.addMethod("regexValidator0", function(value) {
return /^\(?\b([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]
{4})\b$/
I am using jquery validation from bassistance.de
I have problem with dynamic forms which have same input name.
(i know the demo has one dynamic form, but they have unique name)
this is the example
how to validate each fields ? it seems it only validate the first one
and ignore the re
I have javascript code that alters the values inside the validate
attribute set on a ui element. An example of what I change is
validate="required:true, messages{required:'Please give a value}" to
validate="required:true,messages{required:'Give a different value'}".
This is changed via javascrip
How can I tell the bassistence validator to ignore disabled inputs?
I have ui.tabs, and only the selected tab's controls are enabled.
I want validation to fire only at them.
--
Jan
Hey guys,
i read about that trailing comma error in several other posts, but i
just can't fix that problem. IE7 still submits the form even if the
required fields are empty.
Here's my jquery code:
Hope you can help me. thanks in advance.
var validator = $("#adventsform").validate({
Hi,
I'm trying to add new rule to the validation plug in, so far with a
little success.
I want to use the validation against 2 text boxes, and compare them to
each other.
The values must be numbers only and the first textbox value number
should by smaller than the other one.
How can I accomplish i
Hi
JQuery validations is very good work.
i need how to display the error messages using effects(like fadein and
fadeout)
it is very urgent kindly help me
thanks for advance
I have a form that is split into 3 different tabs. You can only move
to the next tab if the part of the form on the current tab is valid. I
have 3 separate validator code sections each with their own rules and
messages. I attach an onclick handler to the custom button to return
('#myForm').validat
my js is as follows:
var validator = $('#myForm').validate({
onfocusout: false,
onkeyup: false,
rules: {
prefix: { required: true },
name: { required: true }
Hi,
Sorry to bother you but I am not able to solve this problem so posting
in forum
I am using two jquery plugin
1 Thickbox
2 Jquery validation
Without thickbox validation is working fine but validation is not
working in thickbox.
There is two files ajaxLogin.htm and second is index.html
ajax
Hi, I am using Jquery plugin for client side validation. But due to a
filedname I am facing a problem.
Example
var validator = $("#UserSignupForm").validate({
rules: {
data[User][username]: {
required: true,
filename: messages_it.js
/*
* Traduzione dei messaggi di default per il pugin jQuery validation.
* Language: IT
* Traduzione a cura di Davide Falchetto
* E-mail: [EMAIL PROTECTED]
* Web: www.d4solutions.it
*/
jQuery.extend(jQuery.validator.messages, {
required: "Campo obbligatorio."
I like to incorporate the Validation scripting into a Step Wizard
http://worcesterwideweb.com/jquery/wizard/; I got it pretty much
licked except the section where it only validates the available step
and ignores the others.
I pretty much followed the same layout as in this demo >
http://jquery.ba
When i press the submit button of a form, it is showing the
corresponding error message by the side of the text field. But when i
press the submit button again, the error message is getting
concatenated with the older one and getting displayed (means it is
displaying that many times the submit bu
Hi all,
Some question on the validation plugin.
Say there are 3 fields, and the first one is user name.I want to check the
availability of the user name on focusout using 'remote'.
But for the rest of the fields, only validate when user clicking submit
button.
Can I do that?
--
Best Regards,
Ja
I use jquery validation plugin from bassistance.de, but everytime i
use it on textarea, it doesnt work (doesnt pass the value properly).
Any suggestions?
Hi All,
I just have few questions about the use of jQuery Validation remote
rule.
How remote rule treat data being passed through querystring? What is
the form of data being passed through querystring? Is it case
sensitive?
I hope you can give me answers to those questions.
Thanks,
Nimrod
I used a text area as one of the field inside my form. I didnt put any
validation rule on it but why i am receiving a validation message
"Please enter no more than 0 characters." ? This only appears on
Opera.
Any idea?
Hello all,
I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error
message in my firebug console when I click (for the first time) any
field in my form.
Error:
validator is undefined
/js/jq/jquery.validate.js
Line 291
My jQuery code is as follows:
$(document).ready(function(){
/
HI,
We are trying to use Jquery validation plugin for client side
validation. It is working okay. The error message displays if the form
validation fails. But we need the error display to highlight the
entire row including the label and the input element. Is there a way
to do this in JQuery
Hi,
I'm trying to use the latest version of jQuery and the validation
plugin. However, when I try to use jQuery.noConflict() I show 1 error
speficying that $ is not a function.
Any help regarding this issue will be fully appreciated!
Ale
Hi,
In the documentation of the jQuery Validation Plugin, by default the
form is not sent if invalid.
"By default, the form submission is prevented when the form is
invalid, and submitted as normal when it is valid."
In my case this is not true. How can I debug this?
Hello,
Has anybody use the jQuery Validation plugin with Ruby on Rails.
I am having trouble with it.
It seems only function when the form use the get action, but not with
post.
Thanks
Juanma Cervera
Jörn, (or anyone that knows of some alternate links)
In Firefox 2.x this page throws a js error when it loads, and doesn't
seem to work:
http://jquery.bassistance.de/validate/demo-test/radio-checkbox-select-demo.html
error (from Firebug console):
$.meta has no properties
$.meta.setType(
HI Jörn?
is version 1.2 ready?
Thanks
Hi... Anybody can tell me about how can I use jQuery Plugin Validation
and Tabs plugin, because they can't work... this is my javascript
source code:
$().ready(function() {
$("#aggiungi_utente").validate({
rules: {
rag_soc: required,
piva: required,
mail: {
r
Hi;
I implement the jQuery Validation plugin(http://bassistance.de/jquery-
plugins/jquery-plugin-validation/) to my order form which you can see
in
http://nexus.di-tasarim.com/index.php?option=com_nexus&act=gallery&task=order&id=32
it works great in Firefox but I cannot succeed to work in in Int
What's the rationale behind the validate plugin only handling one
jQuery object? This doesn't seem consistent with how jQuery works at
all.
The website states:
Validating multiple forms on one page: The plugin can handle only one
form per call. In case you have multiple forms on a single page wh
Dear All,
First of all the links to sample pages. First working sample:
http://www.torli.pl/valid/index-val.php
and (if someone want use this mix):
http://www.torli.pl/valid/valid.zip
Description (how i want it to work):
1. there are two tabs: tab #1 is enabled, tab #2 id disabled.
2. there are
hey. is there a way to manipulate only error div of specipic field? like if i
got:
uaboutme222
the error div that its generates its :
Please enter a value of at least 2 characters.
so i want to do somthing like
label #'MyForm1uaboutmeInputfield { postion : left 1px... color:red }
go
81 matches
Mail list logo