i got the basic sample there:
http://stackoverflow.com/questions/1458605/how-to-display-messages-in-invalidhandler-in-jquery-validator
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 elan...@gmail.com wrote:
I have amodalform that I want to validate.
Themodalis based on the
On Jan 7, 10:39 am, Elan Noy elan...@gmail.com 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?
script type=text/javascript
Try this:
script type=text/javascript
$(document).ready(function() {
$(#autoSumForm).validate({
rules: {
p1001: {number: true},
p1002: {number: true}
},
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 r_beacr...@hotmail.com wrote:
People enter an address to lookup on a google map, this
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 joern.zaeffe...@googlemail.com
wrote:
The plugin will submit the form after the async request finishes. The
remaining problem is that any submit-button won't be
Has anyone any clue for this?
On Nov 27, 5:09 pm, hcvitto hcvi...@gmail.com 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
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 turnstylecreat...@gmail.com wrote:
Hmm, i'm
It depends on your method of validation. Here is the form/validation
system I use for my contact form. Hope this helps!
script type=text/javascript src=js/jquery-1.3.2.min.js/script
script type=text/javascript src=js/jquery.validate.js/script
script type=text/javascript
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
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,
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 sarah.atkin...@cookmedical.com
wrote:
Is there a list somewhere of what the options are for the rules (required,
email)
I can't seem
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 joern.zaeffe...@googlemail.com
wrote:
Do you have a testpage?
Jörn
On Fri, Nov 13, 2009 at 4:40 PM, Samuurai
Oh - Log in as jorn/jorn
On Nov 13, 3:58 pm, Samuurai djbe...@gmail.com 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 joern.zaeffe...@googlemail.com
wrote:
Sorry - I have a goldfish memory today. - Repeating myself :p
On Nov 13, 4:01 pm, Samuurai djbe...@gmail.com wrote:
Oh - Log in as jorn/jorn
On Nov 13, 3:58 pm, Samuurai djbe...@gmail.com wrote:
Yeah..
www.racedaystaff.com-log in as jorn/jorn then click proceed to
site then click
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 djbe...@gmail.com 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
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 joern.zaeffe...@googlemail.com
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,
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
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 joern.zaeffe...@googlemail.com
wrote:
Then this:
,success: function(element){
157 var
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 joern.zaeffe...@googlemail.com
wrote:
Use a different name for the
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 joern.zaeffe...@googlemail.com
wrote:
Use a different name for the submit-button. Using
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 cowdo...@gmail.com wrote:
I have seriously been fighting this issue for hours. I would
appreciate some advice when someone gets a chance.
I am
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
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 jbeck...@gmail.com wrote:
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
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));
},
apparenty not :-)
just for the record - i'm doing things like this:
code
jQuery.validator.addMethod(
lowercase, function(value, element) {
jQuery(element).val(value.toLowerCase());
return true;
},
)
/code
which i can then apply in validation
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:
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
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() {
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()
LABEL class=error for=orders[4].elements[2].Value
Try this:
$(label[for='orders[4].elements[2].Value']).length
On Wed, Sep 23, 2009 at 3:17 PM, chief7 chi...@gmail.com 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
This is an issue in IE7, IE8, FF3 and Chrome 3.
On Sep 23, 8:17 am, chief7 chi...@gmail.com 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:
Still 0.
On Sep 23, 8:20 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Try this:
$(label[for='orders[4].elements[2].Value']).length
On Wed, Sep 23, 2009 at 3:17 PM, chief7 chi...@gmail.com wrote:
i can't reproduce on a test page. I updated to 1.5.5, but no change.
the
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
Cleaned up the test page:
http://pastie.org/627561
On Sep 23, 10:35 am, chief7 chi...@gmail.com 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
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
fyi - using jquery.validate.js version 1.5.2
On Sep 22, 3:39 pm, chief7 chi...@gmail.com 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
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 chi...@gmail.com wrote:
fyi - using jquery.validate.js version 1.5.2
On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote:
looks like this issue is caused by the
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:
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
On Sep 3, 6:17 am, Matt Wilson m...@tplus1.com 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
only perform the post if the error message div isnt there, or has no
text in it
if( !($('#divSteps3')==undefined) $('div.error-message').text
().length0) )
something like that
On Aug 31, 1:53 pm, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I have this script
whoops! instead of '#divSteps3' i meant 'div.error-message' next
time i should proofread
On Aug 31, 3:34 pm, #micah micah.a.sm...@gmail.com wrote:
only perform the post if the error message div isnt there, or has no
text in it
if( !($('#divSteps3')==undefined)
Can anyone help with this, Please?
Thanks.
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, Psyclom...@datamodel.org wrote:
I have a form with a multi-select field that needs to be validated, so
at least one option is selected. Is
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:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://
www.w3.org/TR/html4/loose.dtd
html
head
script
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('div class=error-messageid='+ fieldName +'-
exists' + error + '/div');
On Aug 12, 2:17 am, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I have this
Please show the rest of your code.
Jörn
On Mon, Aug 10, 2009 at 11:49 PM, Miket3miketro...@gmail.com wrote:
Here is my handler:
submitHandler: function(form) {
alert('I CANT GET THIS TO TRIGGER');
},
Here is my button:
input class=submit type=submit id=register value=Register
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,
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
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 Ritterswift...@swiftone.org wrote:
I
On Mon, Jul 27, 2009 at 5:20 PM, Jörn
Zaeffererjoern.zaeffe...@googlemail.com 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
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
On Mon, Jul 27, 2009 at 6:06 PM, Jörn
Zaeffererjoern.zaeffe...@googlemail.com 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
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 teastb...@gmail.com wrote:
The jquery.validate.pack.js file found
It would be great if you could post your repacked version for us.
Thanks!
-Mario
Try $(#frm)[0].submit()
On Jul 20, 1:56 pm, Adam P aploc...@gmail.com 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
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, mnaveedmnaveed...@gmail.com 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
Thanks Jörn , this is exactly what I need.
On Jul 16, 12:57 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
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, mnaveedmnaveed...@gmail.com wrote:
Hi,
I am
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 Wilsonm...@tplus1.com wrote:
I'm using this validation plugin
is it difficult?$(#State).val()
2009/7/13 mnaveed mnaveed...@gmail.com
Hi,
I have a select box with and onchange event to get the data from
serever,
SELECT name=States id=Stateonchange=getData(this.value)
Now i want to validate that if no value is selected from the above
list,
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, 刘永杰 liuyongjie...@gmail.com wrote:
is it difficult?$(#State).val()
2009/7/13 mnaveed mnaveed...@gmail.com
Hi,
I have a select box with and onchange event to get the data from
sorry!i didn't use JQuery Validation plug in.
2009/7/13 mnaveed mnaveed...@gmail.com
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, 刘永杰 liuyongjie...@gmail.com wrote:
is it difficult?$(#State).val()
2009/7/13 mnaveed
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() != ){
how i can use variables to build the url?
On Sat, Jul 4, 2009 at 12:08 PM, Jörn
Zaeffererjoern.zaeffe...@googlemail.com 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 Gmailmano...@gmail.com wrote:
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, pimoussedelphine.ma...@gmail.com wrote:
Hi,
I am using a remote rule an external file to
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 Gmailmano...@gmail.com wrote:
Hi, im adding a method. i want to display a message like:
THECONTENTOFMYINPUT is already user. this is what im doing.
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
Zaeffererjoern.zaeffe...@googlemail.com wrote:
Use the remote method:
http://docs.jquery.com/Plugins/Validation/Methods/remote#url
Jörn
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
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 joern.zaeffe...@googlemail.com
wrote:
You can write
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 wjstarrs...@gmail.com wrote:
I have a form consisting mainly of text inputs
Sure, thats just as valid as em...@example.co.uk is.
Jörn
On Fri, May 8, 2009 at 8:57 PM, Brett bbeard...@gmail.com 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?
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 nrmlcrpt...@gmail.com wrote:
I'm using the validation plugin to perform client side
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
Could you provide a testpage? Haven't seen that yet...
Jörn
On Fri, Apr 24, 2009 at 4:45 AM, Rabbott abbot...@gmail.com 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
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.
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
In the button's click handler:
if ($(#myform).validate().form()) {
// submit form
}
On Apr 22, 9:48 am, Brad nrmlcrpt...@gmail.com wrote:
To be more specific, validation is working prior to clicking the
button. For example I have a date
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 jonassa...@gmail.com wrote:
Example form: http://jquery.bassistance.de/validate/demo/milk/
(this is the demo for the script on bassistance.de)
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 joern.zaeffe...@googlemail.com wrote:
The behaviour is described here:
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 gexma...@gmail.com wrote:
In case anyone else stumbles upon this, I will give my solution to the
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 victor.ry...@gmail.com wrote:
Ok. But what do i need too echo to get a false value and an error
message?
thanks!
On
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 joern.zaeffe...@googlemail.com
wrote:
Could you post a testpage? Can't see anything wrong in the snippets
you provided - its probably something seemingly
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
You need to echo true for a valid value.
Jörn
On Sun, Apr 12, 2009 at 1:02 AM, Victorr victor.ry...@gmail.com 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
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 joern.zaeffe...@googlemail.com
wrote:
You need to echo true for a valid value.
Jörn
On Sun, Apr 12, 2009 at 1:02 AM, Victorr victor.ry...@gmail.com wrote:
I'm using
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:
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
david.garc...@barcelonamedia.org wrote:
Hello,
I am using jQuery validation plugin. I
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
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 anieshjos...@gmail.com wrote:
Hello,
I want to validate a field by using JQuery and it also need to
consider the value of another field during the
The single quotes around the window.location worked like a charm...
Thanks a lot for your help!
On Mar 31, 7:32 pm, James james.gp@gmail.com wrote:
Slight typo on the second option:
setTimeOut(doSomething, 5000);
function doSomething() {
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,
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;',
Slight typo on the second option:
setTimeOut(doSomething, 5000);
function doSomething() {
window.location = 'http://www.google.com';
}
On Mar 31, 2:31 pm, James james.gp@gmail.com wrote:
In some common ways, you'd have to either do it:
setTimeOut(function() {
window.location
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
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 james.gp@gmail.com wrote:
Javascript is case-sensitive:
'setTimeOut' should be 'setTimeout'
On Mar 26, 5:08 pm, MonkeyBall2010
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 hughes.timo...@gmail.com wrote:
Yeah, that was just a typo on my behalf... The
Javascript is case-sensitive:
'setTimeOut' should be 'setTimeout'
On Mar 26, 5:08 pm, MonkeyBall2010 hughes.timo...@gmail.com 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
1 - 100 of 369 matches
Mail list logo