i got the basic sample there:
http://stackoverflow.com/questions/1458605/how-to-display-messages-in-invalidhandler-in-jquery-validator
> On Jan 7, 10:39 am, Elan Noy wrote:
>> I have amodalform that I want to validate.
>> Themodalis based on the simplemodalplugin and thevalidationis
>> based onvalidationplugin.
>> Thevalidationworks well on a regular (nonmodal) form. ANy ideas?
>>
>>
We have a similar problem. When trying to validate the modal dialog
box decides its tired and goes away. Not sure how to do validation on
the form without it disappearing...
On Jan 7, 10:39 am, Elan Noy wrote:
> I have amodalform that I want to validate.
> Themodalis based on the simplemodalplugi
Try this:
$(document).ready(function() {
$("#autoSumForm").validate({
rules: {
p1001: {number: true},
p1002: {number: true}
},
me
Got any code to show us?
You need an event to fire off the remote call, either onBlur or
onClick of a button. You examine the returned data and act
accordingly.
Adrian
On Jan 10, 12:28 pm, Richard Beacroft wrote:
> People enter an address to lookup on a google map, this makes an
> asynchronous
No, it does not submit the form after the async request finishes. (I'm
using the latest 1.6)
Ken
On Dec 21, 6:30 am, Jörn Zaefferer
wrote:
> The plugin will submit the form after the async request finishes. The
> remaining problem is that any submit-button won't be submitted. Maybe thats
> the p
Has anyone any clue for this?
On Nov 27, 5:09 pm, hcvitto wrote:
> Hi
> i'm using the validation plugin on a form. I added three methods to
> check that three select value are not equal but it doesn't work in ie.
> here's the page
>
> http://www.fepgroup.it/community/registrati__.php
>
> Any idea
Ok I'm using this
invalidHandler: function(form, validator) {
PossitionStuff.possitionErrors(); },
And it works but it doesn't fire till the second validation I need it to fire
on the first go around too
On 11/18/09 4:06 PM, "StephenJacob" wrote:
Hmm, i'm not really sure how to pul
Hmm, i'm not really sure how to pull that off. I would look into the
showErrors option or possibly the Valid function.
http://docs.jquery.com/Plugins/Validation/validate
http://docs.jquery.com/Plugins/Validation/valid
Good luck and let us know how things turn out for ya!
On Nov 18, 3:47 pm, "
I want the function to trigger when there are errors it's to alter the
position of both the errors and other elements on the page.
So I got the function to fire but I can't seem to changes the css on the error
boxes.
$('label .error').css({'left' : basePossitionOffset.left});
Does not w
It depends on your method of validation. Here is the form/validation
system I use for my contact form. Hope this helps!
$(document).ready(function() {
$("#contactForm").validate({
rules: {
fullname: {
required: t
http://docs.jquery.com/Plugins/Validation/Methods
Also, I found it was worth while to look into jquery.validation.js
code.
On Nov 17, 8:55 am, "Atkinson, Sarah"
wrote:
> Is there a list somewhere of what the options are for the rules (required,
> email)
> I can't seem to find more info on this
Ahhh...
Ok, I might opt for just putting an error message after the element
instead then rather than creating a box like i'm doing now.
Many thanks Jorn for your help!
On Nov 13, 5:43 pm, Jörn Zaefferer
wrote:
> Then this:
>
> ,success: function(element){
> 157 var errorDiv = element.parents('.
Then this:
,success: function(element){
157 var errorDiv = element.parents('.error');
158 element.remove();
159 errorDiv.siblings().remove();
160 errorDiv.replaceWith(errorDiv.children());
161 }
You replace the div? That causing the DOM to rerender, including the input,
killing the focus.
Jörn
Strangely, It seems to be doing it even after removing jNice. - I've
updated the test site.
On Nov 13, 4:23 pm, Jörn Zaefferer
wrote:
> Looks like jNice is causing that issue. Did you try removing that to see
> what happens?
>
> Jörn
>
> On Fri, Nov 13, 2009 at 4:58 PM, Samuurai wrote:
> > Yeah.
Looks like jNice is causing that issue. Did you try removing that to see
what happens?
Jörn
On Fri, Nov 13, 2009 at 4:58 PM, Samuurai wrote:
> Yeah..
>
> www.racedaystaff.com - log in as jorn/jorn then click "proceed to
> site" then click "register" at the top.
>
> Thanks for looking at this !
Sorry - I have a goldfish memory today. - Repeating myself :p
On Nov 13, 4:01 pm, Samuurai wrote:
> Oh - Log in as jorn/jorn
>
> On Nov 13, 3:58 pm, Samuurai wrote:
>
> > Yeah..
>
> >www.racedaystaff.com-log in as jorn/jorn then click "proceed to
> > site" then click "register" at the top.
>
> >
Oh - Log in as jorn/jorn
On Nov 13, 3:58 pm, Samuurai wrote:
> Yeah..
>
> www.racedaystaff.com- log in as jorn/jorn then click "proceed to
> site" then click "register" at the top.
>
> Thanks for looking at this !
>
> On Nov 13, 3:51 pm, Jörn Zaefferer
> wrote:
>
> > Do you have a testpage?
>
>
Yeah..
www.racedaystaff.com - log in as jorn/jorn then click "proceed to
site" then click "register" at the top.
Thanks for looking at this !
On Nov 13, 3:51 pm, Jörn Zaefferer
wrote:
> Do you have a testpage?
>
> Jörn
>
> On Fri, Nov 13, 2009 at 4:40 PM, Samuurai wrote:
> > I'm having a stran
Also, that doesn't explain why the form still submits when I call
form.submit(). Since submit is no longer a function, the form should
never get submitted in that case.
On Nov 12, 2:05 pm, Jörn Zaefferer
wrote:
> Use a different name for the submit-button. Using name="submit" you override
> the a
Right, thanks. I mentioned that in my initial post.
But if I rename the submit-button, if you click the Cancel button,
that value of cancel=Cancel will not get sent in the post.
Any ideas why?
On Nov 12, 2:05 pm, Jörn Zaefferer
wrote:
> Use a different name for the submit-button. Using name="su
Read this documentation page on try to achieve what you want:
http://docs.jquery.com/Plugins/Validation/Methods/remote
On Oct 27, 1:08 pm, Ryan wrote:
> I have seriously been fighting this issue for hours. I would
> appreciate some advice when someone gets a chance.
>
> I am wanting to check my
Thanks Leonardo...
I figured it out after digging through several examples. The
documentation for this plugin has a huge gap in it. It shows an
example of how to define a custom validator but no where does it
explain how to use it. The trick being as you mentioned, defining it
in the Rules or you
One thing is your method name and other is your field name. If the name of
your field is company and your method is company so:
rules:{
company:{
company:true
}
}
Maybe is better rename your method to not confuse.
On Thu, Oct 22, 2009 at 13:24, JMan wrote:
>
> Still no go...
Still no go... below is my code. I just want to pop a dialog to ask
the user if they are sure they want to leave the company name blank.
The field is not required. I thought it would be easier than this? I
can't get teh addMethod to work or fire at all on validation.
//validates the form
U need set the rules for your validation:
frmSubmittal.validate({
debug: false,
focusCleanup: false,
focusInvalid: false,
onfocusout: false,
onkeyup: false,
errorPlacement: function(error, element) {
error.prependTo( element.parents("div.ctrlHolder"));
},
er
apparenty not :-)
just for the record - i'm doing things like this:
jQuery.validator.addMethod(
"lowercase", function(value, element) {
jQuery(element).val(value.toLowerCase());
return true;
},""
)
which i can then apply in validation like
va
You can create your own validate method:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage
jQuery.validator.addMethod("digitsAndLineBreak", function(value, element) {
return /^[\d|\n]+$/.test(value);
}, "Please enter only digits");
then:
$("#quicksend_form").val
I have seen the login form example (http://jquery.bassistance.de/
validate/demo/login/), but I cannot use it as I have to manually
change css classes for all required elements.
Can someone help me out in this issue? Should I write custom methods
for this?
On Oct 2, 10:14 pm, NovoGeek wrote:
> H
You should not be calling submit() first. You only call it after
everything is validated. This can be as easy as a if-statement. Here's
a simple example. Modify it to work with your scenrio.
$(function() {
$('#testForm').bind('submit', function() {
$(this).validate(validation_options)
Cleaned up the test page:
http://pastie.org/627561
On Sep 23, 10:35 am, chief7 wrote:
> I created a test page -http://pastie.org/627543
>
> steps to reproduce:
>
> -open the page in a browser
> -add a letter to one of the amount inputs
> -click on another input
> -the validation should show
> -
I created a test page - http://pastie.org/627543
steps to reproduce:
-open the page in a browser
-add a letter to one of the amount inputs
-click on another input
-the validation should show
-go back to the same input and remove the letter you added
-the error should be hidden but its not
On S
Still 0.
On Sep 23, 8:20 am, Jörn Zaefferer
wrote:
> Try this:
>
> $("label[for='orders[4].elements[2].Value']").length
>
>
>
> On Wed, Sep 23, 2009 at 3:17 PM, chief7 wrote:
>
> > i can't reproduce on a test page. I updated to 1.5.5, but no change.
>
> > the page in question is dynamically ge
This is an issue in IE7, IE8, FF3 and Chrome 3.
On Sep 23, 8:17 am, chief7 wrote:
> i can't reproduce on a test page. I updated to 1.5.5, but no change.
>
> the page in question is dynamically generated using AJAX data calls.
>
> i can see the error label in the js console:
>
> >>$("label.error
Try this:
$("label[for='orders[4].elements[2].Value']").length
On Wed, Sep 23, 2009 at 3:17 PM, chief7 wrote:
>
> i can't reproduce on a test page. I updated to 1.5.5, but no change.
>
> the page in question is dynamically generated using AJAX data calls.
>
> i can see the error label in the j
i can't reproduce on a test page. I updated to 1.5.5, but no change.
the page in question is dynamically generated using AJAX data calls.
i can see the error label in the js console:
>>$("label.error").length
1
>>$("label.error").toHtml()
"Only numeric values are permitted."
but the 'for' att
Please update to 1.5.5 - also, please provide a testpage, otherwise I
can't help.
Jörn
On Tue, Sep 22, 2009 at 11:08 PM, chief7 wrote:
>
> fyi - using jquery.validate.js version 1.5.2
>
> On Sep 22, 3:39 pm, chief7 wrote:
>> looks like this issue is caused by the name of the input. the name i
fyi - using jquery.validate.js version 1.5.2
On Sep 22, 3:39 pm, chief7 wrote:
> looks like this issue is caused by the name of the input. the name is
> "orders[5].elements[2].Value" which an attribute selector won't find
> (ie. $("input[for=orders[5].elements[2].Value]")), but if the name is
>
looks like this issue is caused by the name of the input. the name is
"orders[5].elements[2].Value" which an attribute selector won't find
(ie. $("input[for=orders[5].elements[2].Value]")), but if the name is
"elements[2].Value" it works fine.
the 'for' attribute selector is used on line 630 of
You can avoid that issue by using a solution that doesn't modify the
inputs value. The (planned) jQuery UI watermark widget does that, you
can get the code from labs here:
http://jquery-ui.googlecode.com/svn/branches/labs/watermark/ui/ui.watermark.js
A sort-of demo is here: http://www.commadot.co
On Sep 3, 6:17 am, Matt Wilson wrote:
> I have a list of radio buttons, all with the same name, and each has a
> different value.
>
> I want a validator that tests if one is picked. How do I do this?
Set one as checked by default (as suggested by the W3C HTML
specification), no script or vali
Perhaps I am misunderstanding something in your requirements, but with the
validation plugin (link below), it is as simple as adding class="required"
to the input tag.
http://docs.jquery.com/Plugins/Validation
HTH
whoops! instead of '#divSteps3' i meant 'div.error-message' next
time i should proofread
On Aug 31, 3:34 pm, "#micah" wrote:
> only perform the post if the error message div isnt there, or has no
> text in it
>
> if( !($('#divSteps3')==undefined) && $('div.error-message').text
> ().length>0
only perform the post if the error message div isnt there, or has no
text in it
if( !($('#divSteps3')==undefined) && $('div.error-message').text
().length>0) )
something like that
On Aug 31, 1:53 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I have this script
>
> $(document).ready( function(
Thanks for responding so quickly.
Unfortunately, my form just isn't working like yours. I don't see
what I've done wrong. Maybe you can see something?
Here is the code:
Select a person
First Person
Second Person
Third Person
$.validator.addClassRules({
multi
Here are examples with multi-selects:
http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html
Jörn
On Thu, Aug 27, 2009 at 3:04 PM, Psyclo wrote:
>
> I have a form with a multi-select field that needs to be validated, so
> at least one option is selected. Is there a setting I
Can anyone help with this, Please?
Thanks.
I did not understand this
Jörn Zaefferer wrote:
>
>
> seedy schrieb:
>> Is it possible to use errorPlacement with the validation plugin to have a
>> different placement for each field validated?
>>
>> ie.
>> $('#testForm').validate({
>> rules:{
>> firstname:{required:true},
>
Check the error message existence before adding a new error msg
if ($('#'+fieldName+'-exists').length = 0)
$('#username').after('' + error + '');
On Aug 12, 2:17 am, "Dave Maharaj :: WidePixels.com"
wrote:
> I have this script:
>
> $(document).ready( function() {
>
> $('#username').blur(
DO NOT include hidden fields in the plugin data. I had 3 hidden
fields that weren't required but they were phoneUS.
That must be a no no. I havent thought about the logic behind...
but I am moving on to the next problem.
and it may have been that i had no messages setup for them. only
rules.
Here it is minus the submit handler
var v = $("#myform").validate({
rules: {
username: {required: true,
minlength: 4,
remote: {url:"lookup.php",
type : "post",
data: {table:"members",
Please show the rest of your code.
Jörn
On Mon, Aug 10, 2009 at 11:49 PM, Miket3 wrote:
>
> Here is my handler:
>
> submitHandler: function(form) {
> alert('I CANT GET THIS TO TRIGGER');
> },
>
>
> Here is my button:
>
>
>
> How do i trigger a validate when the submit button is clicked?
On Mon, Jul 27, 2009 at 6:06 PM, Jörn
Zaefferer wrote:
>
> Having JS sanitize for the backend is somewhat dubious, I'd not go
> there, but you probably don't want to discuss that.
I think we're in agreement there, actually. JS provides no security
and shouldn't be relied on. Rather I'm looking
Having JS sanitize for the backend is somewhat dubious, I'd not go
there, but you probably don't want to discuss that.
Anyway, a validation method has access to the validate element, so you
could as well write a method that just sanitizes, nothing else.
Combine that with a strict validation metho
On Mon, Jul 27, 2009 at 5:20 PM, Jörn
Zaefferer wrote:
> You could start by writing custom methods for each of these input
> types, and where possible, delegate to the existing methods:
> http://docs.jquery.com/Plugins/Validation/Validator/addMethod
If I'm following you, you're saying to have val
You could start by writing custom methods for each of these input
types, and where possible, delegate to the existing methods:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
What do you think?
Jörn
On Mon, Jul 27, 2009 at 8:42 PM, Brett Ritter wrote:
>
> I considering input rewri
It would be great if you could post your repacked version for us.
Thanks!
-Mario
I found this link:
http://return-true.com/2008/12/fixing-jquery-validator-plugin-in-internet-explorer-6/
Looks like it's a character set issue.
-Mario
On Jun 29, 4:21 pm, Tristan wrote:
> The jquery.validate.pack.js file found
> onhttp://bassistance.de/jquery-plugins/jquery-plugin-validati
Try $("#frm")[0].submit()
On Jul 20, 1:56 pm, Adam P wrote:
> I'm using the Validation plugin for JQuery and was wondering if there
> was a function to submit the form without causing it to validate the
> form. I have a table with a list of radio-buttons and above that is a
> drop down list of
Thanks Jörn , this is exactly what I need.
On Jul 16, 12:57 pm, Jörn Zaefferer
wrote:
> You can add a class="cancel" to that button B. The plugin will then
> skip the validation.
>
> Jörn
>
> On Thu, Jul 16, 2009 at 9:05 AM, mnaveed wrote:
>
> > Hi,
> > I am using the Jquery validationss plugin
You can add a class="cancel" to that button B. The plugin will then
skip the validation.
Jörn
On Thu, Jul 16, 2009 at 9:05 AM, mnaveed wrote:
>
> Hi,
> I am using the Jquery validationss plugin for my form validations. Now
> I have a situation where I have two submit buttons in a single form
> (
The default date validation is quite weak, indeed. You can add your
own method, maybe using datejs.com, easily:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
Jörn
On Tue, Jul 14, 2009 at 10:47 PM, Matt Wilson wrote:
>
> I'm using this validation plugin
> http://bassistance.de/jq
what you should do is take the onchange event out of the html and put
it into a document ready
like this
$(document).ready(function(){
$("#State").change(function() {
//check to see if the feild has a value
if ($(this).val() != ""){
sorry!i didn't use JQuery Validation plug in.
2009/7/13 mnaveed
>
> I am using the JQuery Validation plug in to validate my form. How can
> i do this with that?
>
>
> On Jul 13, 1:34 pm, 刘永杰 wrote:
> > is it difficult?$("#State").val()
> >
> > 2009/7/13 mnaveed
> >
> >
> >
> > > Hi,
> > > I ha
I am using the JQuery Validation plug in to validate my form. How can
i do this with that?
On Jul 13, 1:34 pm, 刘永杰 wrote:
> is it difficult?$("#State").val()
>
> 2009/7/13 mnaveed
>
>
>
> > Hi,
> > I have a select box with and onchange event to get the data from
> > serever,
>
> >
>
> > Now i
is it difficult?$("#State").val()
2009/7/13 mnaveed
>
> Hi,
> I have a select box with and onchange event to get the data from
> serever,
>
>
>
>
> Now i want to validate that if no value is selected from the above
> list, then it should not send the ajax request. How can i apply the
> Jquery v
how i can use variables to build the url?
On Sat, Jul 4, 2009 at 12:08 PM, Jörn
Zaefferer wrote:
>
> Use the remote method:
> http://docs.jquery.com/Plugins/Validation/Methods/remote#url
>
> Jörn
>
> On Sat, Jul 4, 2009 at 6:30 PM, Manolet Gmail wrote:
>>
>> Hi, im adding a method. i want to disp
You can use various ajax events to handle that, see:
http://docs.jquery.com/Ajax_Events
Eg. display the loading indicator on ajaxStart and hide it on ajaxStop.
Jörn
On Mon, Jul 6, 2009 at 8:02 PM, pimousse wrote:
>
> Hi,
> I am using a remote rule & an external file to check in a form that a
>
How i can use the remote method to build the url like:
"/promotions/checkName/"+name+'/'+promotion_id, type:'post',
?
On Sat, Jul 4, 2009 at 12:08 PM, Jörn
Zaefferer wrote:
>
> Use the remote method:
> http://docs.jquery.com/Plugins/Validation/Methods/remote#url
>
> Jörn
>
> On Sat, Jul 4, 2009
Use the remote method:
http://docs.jquery.com/Plugins/Validation/Methods/remote#url
Jörn
On Sat, Jul 4, 2009 at 6:30 PM, Manolet Gmail wrote:
>
> Hi, im adding a method. i want to display a message like:
> THECONTENTOFMYINPUT is already user. this is what im doing.
>
> jQuery.validator.
But all the range, min, max don't work because they use the "standard"
javascript string to number conversions that are USA only. I "patched"
the validation plugin to work in italy (but now it works only in
italy)
On 18 Mag, 22:22, Jörn Zaefferer
wrote:
> You can write custom methods to extend t
You can write custom methods to extend the plugin with whatever
methods you need:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
You should be able to use numberDE for that number format. Look at
dateDE or any of the other date methods to see how they are
implemented.
Jörn
On Mon
You can use the errorPlacement-option to customize the placement. Take
a look at the source of this demo for a good example:
http://jquery.bassistance.de/validate/demo/milk/
Jörn
On Wed, May 13, 2009 at 2:30 AM, wjs3 wrote:
>
> I have a form consisting mainly of text inputs and selects. The
>
Sure, thats just as valid as em...@example.co.uk is.
Jörn
On Fri, May 8, 2009 at 8:57 PM, Brett wrote:
>
> I noticed that if you do the email: true in the validation and then
> try and type an email such as:
>
> em...@example.com.com
>
> it will mark it as valid. Is this intended?
>
>
> Even sa
Oops, hit send accidentally. The problem was that I didn't need to
iterate over each error. A single call to showErrors handles them all.
if(data.status == false) {
// update form errors
$("#calib_entry").validate().showErrors(data.errors);
}
On May 7, 10:39 am, Brad wrote:
> The .each
The .each is the problem:
if(data.status == false) {
// update form errors
$("#calib_entry").validate().showErrors(data.errors);
}
On May 7, 10:35 am, Brad wrote:
> I'm using the validation plugin to perform client side validation on a
> form tha
Could you provide a testpage? Haven't seen that yet...
Jörn
On Fri, Apr 24, 2009 at 4:45 AM, Rabbott wrote:
>
> I am using the jquery validation plugin, i am wanting to place all the
> errors in one div at the top of the form - which works. The problem is
> that the first time I submit the form
In the button's click handler:
if ($("#myform").validate().form()) {
// submit form
}
On Apr 22, 9:48 am, Brad wrote:
> To be more specific, validation is working prior to clicking the
> button. For example I have a date field in the form
To be more specific, validation is working prior to clicking the
button. For example I have a date field in the form and entering
garbage will present an "enter a valid date" message, but I also have
some fields that are simply required. Clicking the button doesn't
appear to run any pre-submit val
Yeah, I know about the regular behaviour, but the problem is that the
live validation behaves incorrect.
When it validates an input as valid, it sometimes doesn't revalidate
it when you clear the field (so it should state as invalid, but it
still says it's valid).
The behaviours is random. Somet
i also detected some difference between the demo's behavior and the docs.
i'm not sure what sequence of ui actions led to the result in the attached
png but i've seen it twice now.
On 4/17/09 8:17 AM, "Jörn Zaefferer" wrote:
>
> The behaviour is described here:
> http://docs.jquery.com/Plugins/
The behaviour is described here:
http://docs.jquery.com/Plugins/Validation/Reference#Validation_event
Jörn
On Fri, Apr 17, 2009 at 10:46 AM, Jonas wrote:
>
> Example form: http://jquery.bassistance.de/validate/demo/milk/
> (this is the demo for the script on bassistance.de)
>
> When it does 'li
Thanks for your advice Byron!
I was experiencing the same problem Bob described and your solution
worked perfectly.
BTW, using clone(true) didn't work in my case neither.
On Mar 18, 10:36 am, byron wrote:
> In case anyone else stumbles upon this, I will give my solution to the
> problem (hours l
The response for the remote request is wrong:
http://betan.midoo.se/?data%5BUser%5D%5Bemail%5D=bla%40bla.com
That should be just "true", nothing else.
And, completely unrelated: The error message isn't hidden for a valid
field. You can check the state of the field in Firebug. Once its
valid, the e
Sure. I translated the error messages to english so that you would
understand :)
http://betan.midoo.se
On 13 Apr, 16:28, Jörn Zaefferer
wrote:
> Could you post a testpage? Can't see anything wrong in the snippets
> you provided - its probably something seemingly unrelated.
>
> Jörn
>
> On Sun, A
Could you post a testpage? Can't see anything wrong in the snippets
you provided - its probably something seemingly unrelated.
Jörn
On Sun, Apr 12, 2009 at 4:18 PM, Victorr wrote:
>
> Ok. But what do i need too echo to get a false value and an error
> message?
>
> thanks!
>
> On 12 Apr, 10:37, J
Ok. But what do i need too echo to get a false value and an error
message?
thanks!
On 12 Apr, 10:37, Jörn Zaefferer
wrote:
> You need to echo "true" for a valid value.
>
> Jörn
>
> On Sun, Apr 12, 2009 at 1:02 AM, Victorr wrote:
>
> > I'm using CakePHP, jQuery and the validation plugin. I'm ha
You need to echo "true" for a valid value.
Jörn
On Sun, Apr 12, 2009 at 1:02 AM, Victorr wrote:
>
> I'm using CakePHP, jQuery and the validation plugin. I'm having some
> problems. I'm trying to check if a email is already in use but I can't
> seem to get it too work.
>
> I'm just trying to get
Luigi,
This should work for you:
var isChecked = false;
$('.campi[name="license"]').each(function(){
if ( $(this).attr('checked') )
isChecked = true;
});
SEAN O
http://www.sean-o.com
Ciupaz wrote:
>
> Hi all,
> in my .aspx page I have a series of checkboxes for the driver license:
>
The infamous jQuery Validate Plug-in gets the job done:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
On Apr 2, 3:03 am, dremay wrote:
> Hello,
>
> I want to validate a field by using JQuery and it also need to
> consider the value of another field during the checking.
>
> I hav
Hi Jörn,
yes I have had a look at the lozalization files. I have even create
one. What I would like to know is how the plugin manages these files,
as I don't know how to access them.
Does the plugin itself retrieve the proper localization file? I have
retrieve it by means of a localization plugi
See any of the localization files for reference:
http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/localization/messages_nl.js
Jörn
On Thu, Apr 2, 2009 at 8:01 AM, david.garc...@barcelonamedia.org
wrote:
>
> Hello,
>
> I am using jQuery validation plugin. I have read about the plugin in
The single quotes around the window.location worked like a charm...
Thanks a lot for your help!
On Mar 31, 7:32 pm, James wrote:
> Slight typo on the second option:
>
> setTimeOut(doSomething, 5000);
>
> function doSomething() {
> window.location = 'http://www.google.com';
>
> }
>
> On Mar
Slight typo on the second option:
setTimeOut(doSomething, 5000);
function doSomething() {
window.location = 'http://www.google.com';
}
On Mar 31, 2:31 pm, James wrote:
> In some common ways, you'd have to either do it:
>
> setTimeOut(function() {
> window.location = 'http://www.goog
In some common ways, you'd have to either do it:
setTimeOut(function() {
window.location = 'http://www.google.com';
}, 5000);
or:
setTimeOut(doSomething, 5000);
doSomething() {
window.location = 'http://www.google.com';
}
or:
setTimeout('window.location = "http://www.google.com";',
setTimeout(window.location = "http://www.google.com";, 5000);
It seems that the script just completely ignores the timeout but
executes the code anyways... What is really weird is that if I put
some other code on a timer then it works correctly so maybe I am doing
the redirect wrong??
On Mar 30,
Can you show us how the "//redirect" part of the code looks like?
It should be on the lines of something like:
setTimeOut(function() {
location.href = '/somepage';
}, 2000);
On Mar 30, 4:05 pm, MonkeyBall2010 wrote:
> Yeah, that was just a typo on my behalf... The actual code does list
> t
Yeah, that was just a typo on my behalf... The actual code does list
the correct code... Any idea what I am doing wrong?
On Mar 27, 1:17 pm, James wrote:
> Javascript is case-sensitive:
> 'setTimeOut' should be 'setTimeout'
>
> On Mar 26, 5:08 pm, MonkeyBall2010 wrote:
>
>
>
> > I am using the
As the author, I recommend this plugin:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
You always have to write serverside validation. Clientside validation
must be entirely optional. Thats pretty much all there is.
Jörn
On Sun, Mar 29, 2009 at 4:05 PM, iceangel89 wrote:
>
> wh
Javascript is case-sensitive:
'setTimeOut' should be 'setTimeout'
On Mar 26, 5:08 pm, MonkeyBall2010 wrote:
> I am using the validation plugin and the form plugin to validate my
> form and then submit the information via ajaxSubmit. I have everything
> working with the exception of my success ca
1 - 100 of 394 matches
Mail list logo