No error bat if i insert a valid captcha, show label error with '1'.
If i insert a fake captcha, show label error correctly.
The part of code is:
antispam_captcha: {
required: true,
remote: /metwit/comuni/action.php
Works now :) Had to create a special class that combined all three
classes.
On Dec 17, 5:36 pm, Mark Livingstone namematters...@msn.com wrote:
OK, thanks. I will try and report back.
On Dec 16, 12:22 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
You have three classes specified
Here how it looks now:
validator : $('#new_place').validate({
errorElement: 'p',
errorPlacement: function(error, elem) {
error.addClass('error-message left');
if (elem.attr('id') != 'select_id') {
elem.parent('span').after(error);
} else {
OK, thanks. I will try and report back.
On Dec 16, 12:22 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
You have three classes specified for the errorClass. The plugin can't handle
that. If you actually need more then one class, use the highlight and
unhighlight options to add and
anyone? :)
On Dec 15, 12:37 pm, Mark Livingstone namematters...@msn.com wrote:
Hi,
Since I moved to a new design I cannot figure out how to stop the
validate plug-in to append error messages and instead have it remove
the previous error message before creating another one.
here is what my
Could you provide a full example, eg. via jsbin.com?
Jörn
On Wed, Dec 16, 2009 at 2:53 PM, Mark Livingstone namematters...@msn.comwrote:
anyone? :)
On Dec 15, 12:37 pm, Mark Livingstone namematters...@msn.com wrote:
Hi,
Since I moved to a new design I cannot figure out how to stop the
Jörn , it's hard to extract the code and make it functional just for
jsbin.com
Basically, the validation plug-in APPENDS span element that contains
the error message right after the input field. When another message
appears, it appends it again instead of first removing the initial
message.
My
At least post your full JS codes instead of just excerpts.
Jörn
On Wed, Dec 16, 2009 at 3:54 PM, Mark Livingstone namematters...@msn.comwrote:
Jörn , it's hard to extract the code and make it functional just for
jsbin.com
Basically, the validation plug-in APPENDS span element that contains
On Dec 16, 9:59 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
At least post your full JS codes instead of just excerpts.
Jörn
http://jsbin.com/isuco/edit
I can e-mail you the link to my working page if that will help.
Unfortunately I cannot change it here.
On Dec 16, 9:59 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
At least post your full JS codes instead of just excerpts.
Jörn
http://jsbin.com/isuco/edit
I can e-mail you the link to my working page if that will help.
Unfortunately I cannot share it here.
You have three classes specified for the errorClass. The plugin can't handle
that. If you actually need more then one class, use the highlight and
unhighlight options to add and remove those.
Jörn
On Wed, Dec 16, 2009 at 4:43 PM, Mark Livingstone namematters...@msn.comwrote:
On Dec 16, 9:59
Rob,
Thanks . I will try this and get back ..
Sucheta
On Dec 12, 1:39 pm, rpinna bpi...@demandfactory.com wrote:
I have a similar situation with a timepicker control. I have a text
input and an image that displays a popup when selected.
The popup fills the input field when a selection is
can't reply??!!
On Dec 14, 6:04 pm, sucheta suchet...@yahoo.com wrote:
Rob,
Thanks . I will try this and get back ..
Sucheta
On Dec 12, 1:39 pm, rpinna bpi...@demandfactory.com wrote:
I have a similar situation with a timepicker control. I have a text
input and an image that displays
Sucheta,
You need to trigger a change event when the popup sets the input
field. Something like...
mydateinput.change();
~Rob
On Dec 4, 3:41 am, sucheta suchet...@yahoo.com wrote:
Hello all,
I am using the
JQueryvalidator fromhttp://bassistance.de/jquery-plugins/jquery-plugin-validation/
I have a similar situation with a timepicker control. I have a text
input and an image that displays a popup when selected.
The popup fills the input field when a selection is made. The
timepicker control allows me to define a callback whenever this
occurs.
I use the callback to force
Bugger it Ill go back to doing it the old fashioned way.
Ive wasted 2 days on this pluggin.
I was wondering what the b stood for in bassisstance!
M.
On Dec 10, 10:44 am, Marcuus markbe...@gmail.com wrote:
Hi
I am using validation plugin with a submodal dialogue form.
It works really well
On Dec 7, 10:24 am, Carlos De Oliveira cdeolive...@grupozoom.com
wrote:
This is a JQuery Forum.
And the question is about Jörn Zaefferer's Validation plug-in,
certainly on-topic here.
Unfortunately, I haven't used either of the CAPTCHA's under question,
nor had much experience with the
Tx for the quick answer
I am using this plugin
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
I will try to put the js code on the bottom (after i have created the
dyn. fields)
Thnks for pointing me to the 'live' function but i don't think i can
use it in combo
with the
ok this one helped me out:
http://stackoverflow.com/questions/1020943/jquery-validate-with-a-dynamic-number-of-fields
I asked the question on stack overflow:
http://stackoverflow.com/questions/1827483/jquery-validate-plugin-how-to-trim-values-before-form-validation
On Dec 1, 1:50 pm, tom thomasfothe...@googlemail.com wrote:
I'm using the jquery.validation plugin by Jörn Zaefferer and I was
wondering whether
Thnk a lot.. Work...
Thkns
On 26 nov, 14:02, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
That script will get a single GET paremter with the name of the field as the
key and the value of the field as the value, here you'd get
verifica_user.php?cusuario=username
Jörn
On Thu,
Thanks for your aid.
On Nov 22, 1:40 am, Tsz Ming WONG tszm...@gmail.com wrote:
On Sun, Nov 22, 2009 at 11:21 AM, Enoch enochelli...@gmail.com wrote:
script type=text/javascript
$().ready(function() {
// validate signup form on keyup and submit
$(#regform).validate({
Hey Jörn,
Do you have a fix for this?
Thanks
Mike
On Nov 17, 9:59 am, dmikester1 dmikest...@gmail.com wrote:
I couldn't figure out how to include stuff like css and images at that
link.
http://www.michaelandregina.com/chris/form.html
Thanks
Mike
On Nov 17, 9:43 am, Jörn Zaefferer
I couldn't figure out how to include stuff like css and images at that
link.
http://www.michaelandregina.com/chris/form.html
Thanks
Mike
On Nov 17, 9:43 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Could you provide some code? A testpage? jsbin.com works great for that.
Jörn
On
bump
On Nov 3, 11:30 pm, Mike817 mike...@gmail.com wrote:
I'm trying to use a checkbox to turn a validation rule off or on. The
rules I'm using is:
MyField: {
required: #MyCheckbox:unchecked,
number: #MyCheckbox:unchecked
}
The required rule turns off fine, but the
On Nov 10, 11:29 am, Iwan Vosloo i...@reahl.org wrote:
(The following does work:)
input id=cname name=name maxlength=5 minlength=2
required=*
class={messages:{required:'Enter this!',minlength:'Too
short!'}}/
Oops, that should have read:
input id=cname name=name maxlength=5
Thanks Jules I'll give it a try now.
I was looking for something that would trigger the validation but I
thought it was automagically triggered onblur/keyup but perhaps thats
only after the initially validate via submit
* thanks for the typo spotting!.. totally missed that
ta
Brad
On Nov 6,
Thank you so much for the answer - and sorry for not picking up on it
sooner! (I expected to get anemail notifcation!)
I've had a go at implementing this new method but it's not working for
me. I've added your code into my validate call but it's not doing
anything there.
Hi Jörn,
On Nov 7, 3:28 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
The plugin by default picks up attributes, so if you're using attribute
names that match validation plugin methods, it should work like that. Though
you may need to also provide a value, ala required=true, not
Ah,
I got it working... The value of the required attribute should be a
dependency-expression (http://docs.jquery.com/Plugins/Validation/
Methods/required#dependency-expression )
So, required=true does not work. I'm still trying to figure out
what else can be in there / what exactly a
Of course, its a jquery expression, what else...
However, I do think the docs may be wrong: at
http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-expression
In the arguments section it reads:
An expression (String) is evaluated in the context of the element's
form, making the
Bump
Hi
I've tried every way I can think of to use dependency to enable
additional elements to be required and have had no luck at all. I
simply want to enable required on a number of fields when a specific
radio button is selected and for it to be disabled when its not.
(These fields are
Hi,
Validation only triggered if you call submit the page or call the $
(form).valid() function. I didn't see any submit() or $
(form).valid() call in your page.
Try adding this to your page
js script inside ready()
$(#validateMe).click(function(){
if($(form).valid())
alert(All data
Hi,
I don't know if it can help but i had a quite similar problem.
The function associated to my remote test was triggered whatever the
server response because of a bad json encoding for the true/false
response.
I used json_encode() and it works now.
Awesome! That worked! Thank you so much!
~~ Summer
On Oct 29, 4:38 pm, Jules jwira...@gmail.com wrote:
Sorry, didn't read the question thoroughly,
whyvisitother: {
required: function(element) {
var result = false;
Hi, multiple fields should not have the same 'name' in a form. If you need
first name for two parts of a form, then you should give a more explicit
name to the input : ex. first name for shipping could be 'firstNameShip' and
first name for billing could be 'firstNameBill' etc. The reason is
Hi there ,
thanks for your reply.
So, you mean we need to have a label tag? Can we skip that label tag.
Also, I wanted to apply css changes based on the id.
Let;s say If we have multiple checkboxes and use multiple selections, then
we want to show some different css on selected once.
Orafter
Thanks, but that only seems to work if they only pick other. Since
they can pick multiple checkboxes from that set, I need to see if they
picked it among possibly multiple others.
On Oct 28, 5:50 pm, Jules jwira...@gmail.com wrote:
Use this rule.
whyvisitother: {
If you change the name of your field, you'd have to change your rules
in the validation options from firstname to firstname1 also.
On Oct 29, 10:34 am, Monika monika.budhir...@gmail.com wrote:
Hi :
I am trying to use jquery validatro plugin and used tried demo on
the live site. Just looking
Sorry, didn't read the question thoroughly,
whyvisitother: {
required: function(element) {
var result = false;
var chk = $([name=whyvisit]);
yeah . that's what I think would be some confusion coz it might be that
multiple fields that have same name but Ids would be unique throughout
page.
So, I was really wondering, if there is any way to setup rules and
validations based on ids and ignore names completely.
On Thu, Oct 29, 2009 at
Thanks...I go beat my own head now...can't believe I missed that!
On Oct 27, 9:08 pm, Jules jwira...@gmail.com wrote:
Change
var validator = $(#surveyForm).validate({
to
var validator = $(form).validate({
or
form action=?event=submitSurvey method=post
fieldset
With the suggestion earlier, everything is working great, yay! All of
my validation rules are also working, as well, except I can't figure
out how to write the rule for my multi-option check box that has an
Other option so that if other is among those checked, it will
require the other input box
Use this rule.
whyvisitother: {
required: function(element) {
return $([name=whyvisit]).index($
([name=whyvisit]:checked)) == 4;
}
On Oct 29, 7:34 am, Collectonian collecton...@gmail.com wrote:
With the suggestion
Change
var validator = $(#surveyForm).validate({
to
var validator = $(form).validate({
or
form action=?event=submitSurvey method=post
fieldset id=surveyForm
to
form id=surveyForm action=?event=submitSurvey method=post
fieldset
Good luck.
On
[bump] Anybody out there with any clues or suggestions?
On Oct 15, 11:05 am, gdekadt gdek...@gmail.com wrote:
Hi all sorry - I can't figure this out and I'm a little thick.
I'm using the great validation plug-in from bassistance and would like
to use it to stop a form submitting contents of
You need to create a new plugin method:
$(function() {
$.validator.addMethod(no_urls,
function(value, element) {
var re = new RegExp(([a-z\d\\-]+\\.)+[a-z]+), i); // or
whatever RegExp you want
var url_found = re.test(value);
return this.optional(element)
oOps thinks that wrong:
$(input[name='emailAddress.emailRepeated']).rules(add, {
equalTo: #emailAddress.email
});
i think you get the idea though.
On Oct 15, 2:07 pm, Jaggi jaggi_2...@hotmail.com wrote:
I had this problem recently but the only way i managed to
I had this problem recently but the only way i managed to get around
it was to do it via the custom caller. So for you you'd do:
$(input[name='emailAddress.email']).rules(add, {
equalTo: #emailAddress.email
});
On Oct 15, 12:36 pm, ade ade.godd...@gmail.com
Thanks Jaggi
Yeah that put me on the right path the below works:
$(document).ready(function(){
$(#registrationDetails).validate({
rules: {
emailAddress.email: required email,
emailAddress.emailRepeated: {
equalTo: input[name='emailAddress.email']
}
}
});
});
thx again
Ade
On
this initial example probably didn't work because of the period.
there is a documented way to use periods in jquery... in the FAQ
section How do I select an element that has weird characters in its
ID?
http://docs.jquery.com/Frequently_Asked_Questions
eric
On Oct 15, 7:36 am, ade
Yeah i was aware of that but thought that the quoting within the rules
method would overide it:) Glad its fixed now
thx
On Thu, Oct 15, 2009 at 2:33 PM, elubin elu...@yahoo.com wrote:
this initial example probably didn't work because of the period.
there is a documented way to use periods in
I have now solved this issue so no need to post any replies - Thanks!
On 8 Oct, 17:35, TipTop poppetkit...@googlemail.com wrote:
I am new to jquery(my first application!) and I am using the
fantastic validate plugin. I am calling a dialog from a tab and
although the validation works
For my first question I ended up switching from the jalerts plugin to
just using the jquery ui dialog box. Seems to work well. The issue
is that the jalerts popup doesn't use a previously configured div on
the page to show things...it creates a new one...so the validation
plugin has no place to
I'm fully aware this is an old post, and you've probably fixed it by
now, but I needed to do the same thing and found this via Google. This
is what I came up with:
errorPlacement: function(error, element) {
var next = element.next().attr('class');
if ( next ==
Hi, it's hard to tell, could you explain in more detail what you mean by
'ignored completely'. Do you mean that you tried entering invalid data and
the javascript didn't produce errors? But, at the same time you seem to have
a problem in your php validation. Your if statement says 'if name exists
Alex,
I am having the same issue. I have been working on this for hours, and
I might have a solution. Hopefully, somebody more knowledge about how
the Validate plugin works can speak up and help us both.
What I found is that if a field (input, select, etc) has not been
validated yet, it calls
Does Jorn's plug-in still not work on blur?
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Josh
Sent: Tuesday, October 13, 2009 4:28 PM
To: jQuery (English)
Subject: [jQuery] Re: (validate) - How do I validate required fields
@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Josh
Sent: Tuesday, October 13, 2009 4:28 PM
To: jQuery (English)
Subject: [jQuery] Re: (validate) - How do I validaterequiredfields before
form submit
Alex,
I am having the same issue. I have been working on this for hours
Maybe something like this:
$(#myForm).bind(submit, function() {
$(this).validate(validation_options);
var valid = $(this).valid();
if (valid) {
// lock form, show loading animation, do submit
}
// you don't really need an 'else' here.
Ok, it was me. Well, it was the encoding issue as discussed in the
comments on http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Updating code to:
script type=text/javascript src=/js/jquery.validate-additional-
methods.js charset=ISO-8859-1/script
fixed it.
Is there any information about that function? I was looking at the code and
didn't find any reference to that function.
On Thu, Oct 8, 2009 at 01:58, Bjarki bjar...@gmail.com wrote:
Hello Miguel,
for part 3, you can use errorPlacement like this.
errorPlacement: function(error, element) {
if the data is on the form {result:true} you can use var returnObj
= JSON.parse(data) if you use http://www.json.org/json_parse.js and
return returnObj.result
you can also use
regards,
Bjarki Heiðar
On Oct 7, 9:13 am, zeussolo chris.neuhaeu...@gmail.com wrote:
Hi all,
I would like to use
you can read about it herer http://docs.jquery.com/Plugins/Validation/validate
select options, there is a code example there.
On Oct 8, 6:11 pm, Miguel Simões msim...@gmail.com wrote:
Is there any information about that function? I was looking at the code and
didn't find any reference to that
I believe I've found an acceptable solution that doesn't require
hacking the plugin itself.
I hope I haven't overlooked any unwanted side effects now.
I've instantiated validate like this now, essentially overwriting the
onfocusout handler:
$(myform)
.validate(
onfocusout:
Hello Miguel,
for part 3, you can use errorPlacement like this.
errorPlacement: function(error, element) {
if (element.attr('id') === yourItem.attr('id')) {
// insert the error after a given Item
error.insertAfter(givenItem);
I figured it out. I had to use the showCustomerErrors method and got
tid of focus cleanup.
On Oct 2, 10:45 am, Paul Speranza paulgspera...@gmail.com wrote:
I am having a problem getting the error container to clear out after I
have fixed invalid inputs. I am using the
invalidHandler option.
You can create different options in a variable an assign it to
$.validate().
var option1 = {
rules: { ... }
messages: { ... }
}
var option2 = {
rules: { ... }
messages: { ... }
}
Call the appropriate one depending on which step you're in:
$(#saverForm).validate(option1);
Not at the moment, sorry
Dave Buchholz
On Sep 25, 12:51 am, Loony2nz loony...@gmail.com wrote:
do you have an example of this somehwere? I think I could use this
for upcoming forms I have in my pipeline.
Thanks!
On Sep 1, 10:33 am, Dave Buchholz - I-CRE8 off...@i-cre8.com wrote:
Got
are you using the validate plugin? i'm not familiar with it at all,
but for a simple validation like this you could do:
// DOM-ready handler
$(function() {
// Listen for onsubmit events for the form
$(#signupForm).submit(function() {
// Get the checkbox
do you have an example of this somehwere? I think I could use this
for upcoming forms I have in my pipeline.
Thanks!
On Sep 1, 10:33 am, Dave Buchholz - I-CRE8 off...@i-cre8.com wrote:
Got it, this code onfocusout: function(element) { this.element
(element); }, gives me what I am looking for
i looked throw the docu, but couldnt find anything.
the only thread i found was this one:
http://stackoverflow.com/questions/363268/how-do-remove-jquery-validation-from-a-form
but i dont want to remove it, i just want to deactivate the validating
for a period of time, when data is set
greets
On
You need to go up one more level:
errorPlacement: function(error, element){
error.appendTo( element.parent().parent().next().find(.errorMsg) );
}
Jörn
On Wed, Sep 16, 2009 at 8:18 PM, Loony2nz loony...@gmail.com wrote:
Hello,
I need help with targeting a class on a TD to hold error
o...duh :)
i have to keep in mind that I have to traverse the DOM tree
Thanks :)
On Sep 16, 12:19 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
You need to go up one more level:
errorPlacement: function(error, element){
error.appendTo(
You could also just bind focus and blur events to each element for the
same effect, without requiring a change to the plugin code.
Jörn
On Wed, Sep 16, 2009 at 11:32 PM, Philipp philipp.ma...@googlemail.com wrote:
Hi!
I added a nice little tweak which allows me to define custom functions
Any Idea?
thanks
On Sep 15, 12:17 pm, bgumbiker bogumil.bial...@gmail.com wrote:
Indeed the message is sent with $.post(...) however it looks like the
following code is not called:
jQuery.ajaxSetup({
'beforeSend': function(xhr) {xhr.setRequestHeader(Accept, text/
javascript)}
});
and
Refer to documentation.
2009/9/17 Sandler smike...@gmail.com
Hi, im loading data via json dynamical from the server. Now i try to
optimate the speed of my application and so i want to disable the
validate of the fields during the data loading from the server.
Is there a simple solution to
Whats wrong with keeping the focus on the active field, if its invalid?
If you enter something into the, say, third field, hit enter to
submit, then it turns out both that field and another before that are
invalid, why move the focus to a different field?
Jörn
On Tue, Sep 8, 2009 at 4:47 AM,
Thanks for your help. You always seem to be very quick to respond and
I, along with everyone else I'm sure, am very appreciative.
Great plugin!
On Sep 15, 12:35 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
You shouldn't use visible-required as the method name. Stick with a
valid
Sorry for the spam, fixing the subject
On Sep 15, 12:39 pm, Dr Stevens daverstev...@gmail.com wrote:
Thanks for your help. You always seem to be very quick to respond and
I, along with everyone else I'm sure, am very appreciative.
Great plugin!
On Sep 15, 12:35 pm, Jörn Zaefferer
You shouldn't use visible-required as the method name. Stick with a
valid JavaScript identifier (probably should have mentioned that).
As long as you do that, you can use addMethod to alias existing
methods with other default messages. On the other hand, addClassRules
doesn't help at all with
I actually changed the plugin page to ask for (validate). When you
use Google Groups in an email client, the subject is displayed just
fined, while the Web interface removes the prefix.
Jörn
On Tue, Sep 15, 2009 at 6:40 PM, Dr Stevens daverstev...@gmail.com wrote:
Sorry for the spam, fixing
gotcha, figured that out after my last post.
I actually got here from your last comment on http://bassistance.de/
jquery-plugins/jquery-plugin-validation/. I will make note to use
(validate) instead.
On Sep 15, 12:47 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
I actually changed
Ah, thanks for the hint, forgot to update that comment. Fixed it now!
Jörn
On Tue, Sep 15, 2009 at 6:52 PM, Dr Stevens daverstev...@gmail.com wrote:
gotcha, figured that out after my last post.
I actually got here from your last comment on http://bassistance.de/
And what if you enter an invalid character in an input at the bottom
of the field? For example entering a letter in the Conference Dinner
input of my sample form.
A user is going to miss the error message at the top of the form along
with other input errors if there's an error in the last inputs
Well, you can set focusInvalid: false and implement invalidHandler to
focus the first field. That should do the trick.
Jörn
On Tue, Sep 15, 2009 at 10:01 PM, Geoffrey geoffreydhug...@gmail.com wrote:
And what if you enter an invalid character in an input at the bottom
of the field? For
I guess I'm going to have too. I just need to work out how to return
the first invalid field so I can set the focus.
On Sep 16, 8:16 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Well, you can set focusInvalid: false and implement invalidHandler to
focus the first field. That
Something like this?
$(form).validate({
focusInvalid: false,
invalidHandler: function() {
$(this).find(:input.error:first).focus();
}
});
Jörn
On Tue, Sep 15, 2009 at 10:24 PM, Geoffrey geoffreydhug...@gmail.com wrote:
I guess I'm going to have too. I just need to work out how to
Damn. I always forget about :first.
Thanks.
On Sep 16, 8:34 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Something like this?
$(form).validate({
focusInvalid: false,
invalidHandler: function() {
$(this).find(:input.error:first).focus();
}
});
Jörn
On Tue,
Right, this is sort of a long debate, which I see pop up on mailing
lists for email servers. In the end, I think you need to go by the
standards.
Just because hotmail breaks the rules, does not mean you want to
punish some other user who does not use hotmail, just because they use
a
Yep. The goal here is to indicate to the user that he mistyped his
address. For that to work reliably, the validation must accept all
valid addresses, not just those that feel more valid then others.
Jörn
On Tue, Sep 15, 2009 at 10:39 PM, Scott Haneda talkli...@newgeo.com wrote:
Right, this
Hmmm...I tried this but I discovered on the first submit that it
doesn't focus the first invalid field but it will if I hit return to
submit again.
Also, when hitting submit on a field that's not checked for validity,
the form will submit successfully this second time as well despite
still
I can't reproduce that. Seems to work fine for me.
Jörn
On Tue, Sep 15, 2009 at 11:40 PM, Geoffrey geoffreydhug...@gmail.com wrote:
Hmmm...I tried this but I discovered on the first submit that it
doesn't focus the first invalid field but it will if I hit return to
submit again.
Also,
Not for me.
In Safari 4 and Firefox 3.5.3 under Snow Leopard and Firefox 3.5.3
under XP:
Click in a required field (not the first one) and hit return. Focus
stays in the focused field. Hit return again and the focus jumps to
the first invalid field.
If you focus a non-required field and hit
Ok, the problem with the non-validated fields submitting on hitting
return twice is resolved by removing the following...
onfocusout: function(element) {
$(element).valid();
},
The problem is, I want this as I want an error to show if they tab
through required fields and leave them
I've tried using the quotes on names that don't have a dash in it and
this works, but it won't work with the ones that do contain a dash (-)
(they are radio buttons)
Is this really supposed to work ?
Any clue would be appreciated
On 11 sep, 16:03, mattso matthieu.larc...@gmail.com wrote:
I tried building a testcase and it appeared that the problem was not
id-with-dash related, it's the radio buttons validation that simply
wasn't working at all !
There's a demo of radio buttons validating at
http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html
but it is
The one letter for tld is probably a bug. The characters you list are
legal to the left if the last @ sign.
--
Scott
Iphone says hello.
On Sep 14, 2009, at 10:59 AM, mattso matthieu.larc...@gmail.com wrote:
How come the validator for emails only needs one letter for the tld
and allows
While technically this is correct, a more restrictive approach might
be preferable because some email services (hotmail for one) will not
send to an email address using anything other than alphanumerics,
dots, hyphens, and underscores.
On Sep 14, 11:02 am, Scott Haneda talkli...@newgeo.com
Indeed the message is sent with $.post(...) however it looks like the
following code is not called:
jQuery.ajaxSetup({
'beforeSend': function(xhr) {xhr.setRequestHeader(Accept, text/
javascript)}
});
and the server side code does not handle the request properly.
Thanks!
Bogumil
On Sep
1 - 100 of 1040 matches
Mail list logo