[jQuery] Re: Validation Plugin

2010-01-10 Thread Adrian Lynch
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

[jQuery] Re: Validation plugin rules() ???

2009-11-16 Thread Jules
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

[jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Samuurai
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

[jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread 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:

[jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Samuurai
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

Re: [jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Jörn Zaefferer
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

[jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Samuurai
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,

Re: [jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Jörn Zaefferer
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

[jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Samuurai
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

[jQuery] Re: validation plugin addMethod does not work for me.

2009-10-22 Thread JMan
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

[jQuery] Re: validation plugin addMethod does not work for me.

2009-10-22 Thread Leonardo K
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:

[jQuery] Re: validation plugin addMethod does not work for me.

2009-10-22 Thread JMan
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

[jQuery] Re: validation plugin addMethod does not work for me.

2009-10-21 Thread Leonardo K
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)); },

[jQuery] Re: Validation plugin: textarea to allow only digits, but allowing linebreaks?

2009-10-15 Thread Leonardo K
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:

[jQuery] Re: Validation plugin 1.5.5 error in IE6

2009-07-23 Thread Rio
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

[jQuery] Re: Validation plugin 1.5.5 error in IE6

2009-07-23 Thread Rio
It would be great if you could post your repacked version for us. Thanks! -Mario

[jQuery] Re: Validation plugin - submit form without validation

2009-07-20 Thread Jules
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

[jQuery] Re: Validation plugin (bassistance.de) problem

2009-04-22 Thread Jonas
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.

[jQuery] Re: Validation plugin - Using with 'button' buttons?

2009-04-22 Thread Brad
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

[jQuery] Re: Validation plugin - Using with 'button' buttons?

2009-04-22 Thread Brad
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

[jQuery] Re: Validation plugin (bassistance.de) problem

2009-04-17 Thread Jörn Zaefferer
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)

[jQuery] Re: Validation plugin (bassistance.de) problem

2009-04-17 Thread Tom Worster
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:

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Jörn Zaefferer
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

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Victorr
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

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Jörn Zaefferer
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

[jQuery] Re: Validation plugin remote problem

2009-04-12 Thread Jörn Zaefferer
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

[jQuery] Re: Validation plugin remote problem

2009-04-12 Thread Victorr
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

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Andy Matthews
Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0}) as messages. The function is expected to return the formated message, so you can just return the string value you want to display

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Andy Matthews
...@googlegroups.com] On Behalf Of Jörn Zaefferer Sent: Monday, March 23, 2009 5:34 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Jörn Zaefferer
: Monday, March 23, 2009 5:34 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0}) as messages. The function is expected to return the formated

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Andy Matthews
Man, you thought of everything. Thank you. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jörn Zaefferer Sent: Tuesday, March 24, 2009 10:42 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation plugin: combine functions

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-23 Thread Jörn Zaefferer
Passing a function as a message happens all the time when using $.format(... {0}) as messages. The function is expected to return the formated message, so you can just return the string value you want to display at the end of your function. Jörn On Mon, Mar 23, 2009 at 10:39 PM, Andy Matthews

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-25 Thread kevinm
Jörn , New issue, that is related. When I use form.submit() inside the modal window it does not submit correctly. When we did this (before applying validate) function submitForm() { document.myform.submit(); parent.$.nyroModalRemove(); // this closes the modal window

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-25 Thread kevinm
Ah ignore. Team member left of method attribute. On Feb 25, 9:07 am, kevinm sonicd...@gmail.com wrote: Jörn , New issue, that is related. When I use form.submit() inside the modal window it does not submit correctly. When we did this (before applying validate) function submitForm() {  

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread kevinm
James, We just ran into the same issue. In my case we are opening a modal window with nyroModal. Here is the validate function. var myValidate = $(#myform).validate({ ignoreTitle: true, focusCleanup: false, ignoreTitle:

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread Jörn Zaefferer
$(form).submit() triggers another round of validation, resulting in another call to submitHandler, and voila, recursion. Replace that with form.submit(), which triggers the native submit event instead and not the validation. Jörn On Tue, Feb 24, 2009 at 4:58 PM, kevinm sonicd...@gmail.com wrote:

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread kevinm
Ah, makes total sense. Thanks On Feb 24, 1:01 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: $(form).submit() triggers another round of validation, resulting in another call to submitHandler, and voila,recursion. Replace that with form.submit(), which triggers the native submit

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-24 Thread Jörn Zaefferer
Here's hoping the next one finds this: http://docs.jquery.com/Plugins/Validation#Too_much_recursion Jörn On Tue, Feb 24, 2009 at 7:01 PM, kevinm sonicd...@gmail.com wrote: Ah, makes total sense. Thanks On Feb 24, 1:01 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote:

[jQuery] Re: Validation Plugin: How to submit invalid form via JavaScript

2009-02-18 Thread Michael Lawson
If you're trying to submit the form even if it doesn't validate...then why validate in the first place? i'm confused cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline: 255-1568 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically,

[jQuery] Re: Validation Plugin: Too Much Recursion

2009-02-08 Thread James
Since you can't show any code, with only what I see there should not be any issues... That is, there is no issue with using two validate functions on two different forms, each with it's own set of rules. You're going to have to show more code for us to get to down to the issue. On Feb 8, 5:54 

[jQuery] Re: validation plugin: validate checkboxes that don't have same name?

2009-02-06 Thread jQuery Lover
You can add custom rule with your custom validator. Read documentation here: http://docs.jquery.com/Plugins/Validation Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 7:22 AM, claudes claudina.sar...@gmail.com wrote: using validation plugin, is

[jQuery] Re: Validation Plugin

2009-02-05 Thread tres
You can with my form validation plugin. http://shugartweb.com/jquery/form There is an option that you can pass called 'ignore'. It is a selector for all fields that should be ignored in validation. By default it is ':hidden', but you can put anything in there such as ':hidden, [value=default

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread Caldur
Well, you can have as many form elements as you want on a page, but you can only have one form runat=server element per page. Not sure if that will help you any. On Feb 3, 6:12 pm, varun khatri.vk1...@gmail.com wrote: Hi Everybody I am trying to use validation plugin with ui tbas. suppose I

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread tres
Varun, I've actually solved a problem like this for the company that I work for. I have 5 tabs, all located within 1 form. I also had to label the tabs that had errors and focus the first one that had errors. This is simply unachievable without a bit of hacking with the .validate() plugin. Don't

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread tres
It is being used and is stable in an enterprise environment so I shouldn't say alpha. The only reason I said that was because I do want to do a lot more work to it and the api might change. Trey On Feb 5, 9:42 am, tres treshug...@gmail.com wrote: Varun, I've actually solved a problem like

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread Varun Khatri
I was checking it on the link that you sent me , so do you think I need it to have form tag seperately in each tab ... and then use it or I can just use aspnetForm... The problem is how in each tab i will have different validation ... Like tab1 will have textbox1 and submitbutton1...tab2 will

[jQuery] Re: validation plugin: how to add custom messages for groups

2009-01-30 Thread Mihai Danila
I think you can put three validators on the fields, with jQuery.validator.addMethod. I don't know if you can add multiple validators for the same CSS class, so I'm putting extra CSS classes on the inputs: input id=firstName class=first-name-input name-input/ input id=lastName class=last-name

[jQuery] Re: validation plugin: how to add custom messages for groups

2009-01-30 Thread Mihai Danila
There was a small typo in validateLastNameInput. Here's the corrected code. input id=firstName class=first-name-input name-input/ input id=lastName class=last-name input name-input/ jQuery.validator.addMethod('first-name-input', validateFirstNameInput, 'First name is missing.');

[jQuery] Re: validation plugin: how to add custom messages for groups

2009-01-30 Thread Mihai Danila
Sorry, the third validator must only get activated if both are empty (in other words, it must return true if either is not empty): function validateNameInputs(value, element) { return firstNameInput.value || lastNameInput.value; } On Jan 30, 11:19 am, Mihai Danila virid...@gmail.com wrote:

[jQuery] Re: Validation Plugin: additional-methods.js

2009-01-23 Thread Jörn Zaefferer
Thanks Steve! Fixed and commited: http://code.google.com/p/jqueryjs/source/detail?r=6159 Jörn On Fri, Jan 23, 2009 at 4:44 AM, Steve Blades cutte...@gmail.com wrote: Thanks again to Jorn for a fantastic plugin. One thing I noticed, with the additional-methods.js file that is included with the

[jQuery] Re: validation plugin negative number rule?

2008-12-20 Thread Jörn Zaefferer
Use min: 0. Jörn On Fri, Dec 19, 2008 at 8:02 PM, Adam apcau...@gmail.com wrote: How can I create a rule in the validation plugin to disallow negative numbers. I have a text field that should accept any number 0 thanks, A.

[jQuery] Re: validation plugin: don't insert error element

2008-12-16 Thread Jörn Zaefferer
Try this: showErrors: function() {} Jörn On Tue, Dec 16, 2008 at 5:45 AM, Sean Allen s...@monkeysnatchbanana.com wrote: Is there a way to instruct the validation plugin to not insert any error element?

[jQuery] Re: validation plugin question

2008-12-13 Thread Sean Allen
I already have that in place. How do I get the autogenerated label to not do style=display:inline ? In that demo there is no such element styling on the label created for errors. On Dec 12, 2008, at 4:37 PM, Jörn Zaefferer wrote: In that demo this line hides the default messages for the

[jQuery] Re: validation plugin question

2008-12-13 Thread Jörn Zaefferer
No idea, I'd need to see some code, a testpage is prefered. Jörn On Sat, Dec 13, 2008 at 4:03 PM, Sean Allen s...@monkeysnatchbanana.com wrote: I already have that in place. How do I get the autogenerated label to not do style=display:inline ? In that demo there is no such element styling

[jQuery] Re: validation plugin question

2008-12-13 Thread Sean Allen
I copied it straight from the demo with just a couple minor changes... going to remove the code that I don't need once I work this out... $(document).ready(function(){ $.validator.messages.required = ; $(#lf).bind(invalid-form.validate, function(e, validator) {

[jQuery] Re: validation plugin question

2008-12-12 Thread Jörn Zaefferer
In that demo this line hides the default messages for the required method: $.validator.messages.required = ; Jörn On Fri, Dec 12, 2008 at 9:17 PM, Sean Allen s...@monkeysnatchbanana.com wrote: playing around with it. don't want to get error messages displayed. i'm just putting in a

[jQuery] Re: [Validation plugin] attaching onclick validation to checkboxes before submit button is clicked?

2008-10-13 Thread Jörn Zaefferer
Details about the default behaviour are here: http://docs.jquery.com/Plugins/Validation/Reference#Validation_event You can make the validation more aggresive with some custom event handling: $(input[name=q4]).click(function() { $(this).valid(); }); Jörn PS: You really shouldn't use a single

[jQuery] Re: Validation Plugin - How to Validate input=file

2008-09-25 Thread Jörn Zaefferer
Could you post a testpage? Usually file inputs work just fine, see this demo: http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html Jörn On Thu, Sep 25, 2008 at 4:03 PM, Adam [EMAIL PROTECTED] wrote: I'm trying to validate that someone has selected a file for upload before

[jQuery] Re: Validation Plugin Not Working in FF3 but okay in IE, Chrome and Opera 9.5?

2008-09-10 Thread Jörn Zaefferer
Your script tag seems to get ignored in Firefox: You've got type=text/jscript there, which should be text/javascript. That may be it. Jörn On Tue, Sep 9, 2008 at 7:24 PM, Bill [EMAIL PROTECTED] wrote: I am using the great Validation plugin by Jörn Zaefferer (http://

[jQuery] Re: Validation Plugin Not Working in FF3 but okay in IE, Chrome and Opera 9.5?

2008-09-10 Thread Bill
Jörn, Great catch that fixed it :) Thanks so much for taking a look. Bill On Sep 10, 8:09 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: Your script tag seems to get ignored in Firefox: You've got type=text/jscript there, which should be text/javascript. That may be it. Jörn On Tue, Sep 9,

[jQuery] Re: [Validation plugin] Checkbox array problem

2008-09-07 Thread faizal iqbaal
hi All , an interesting find...am not sure if its a bug or not..but am open to debate. Looking at the jquery.append()...which is considerably slow for methe same with jquery.html() basically the latter jquery.html() internally routes back to the query.append() method ..is this a bug

[jQuery] Re: [Validation plugin] Checkbox array problem

2008-09-05 Thread Jörn Zaefferer
See http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Fri, Sep 5, 2008 at 12:56 AM, nonsense [EMAIL PROTECTED] wrote: Hi, I'm using Validation plugin (http://docs.jquery.com/Plugins/ Validation) and I want to use it to check

[jQuery] Re: Validation Plugin Issue/Bug ??

2008-08-25 Thread Jörn Zaefferer
You can use the highlight-option to remove the success class. Jörn On Mon, Aug 25, 2008 at 4:16 AM, xxkylexx [EMAIL PROTECTED] wrote: Hey guys, I am using JQuery Validation Plugin and am getting a bug that I can't seem to figure out. When the user inputs a correct input, it shows my

[jQuery] Re: Validation Plugin Issue/Bug ??

2008-08-25 Thread xxkylexx
Got it. Thanks. On Aug 25, 10:33 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: You can use the highlight-option to remove the success class. Jörn On Mon, Aug 25, 2008 at 4:16 AM, xxkylexx [EMAIL PROTECTED] wrote: Hey guys, I am using JQuery Validation Plugin and am getting a bug that I

[jQuery] Re: Validation Plugin issue when using TinyMCE

2008-06-26 Thread shapper
Please, does anyone knows why do I need to push twice the submit button so the validation be updated? Thanks, Miguel On Jun 25, 2:01 pm, shapper [EMAIL PROTECTED] wrote: Hi, It worked but now I get a new problem which I also notice before! I though it was due to this but it seems it is not

[jQuery] Re: Validation plugin help please

2008-06-19 Thread Jörn Zaefferer
Please post a testpage. Jörn On Wed, Jun 18, 2008 at 1:53 AM, Lossed [EMAIL PROTECTED] wrote: Hi. I tried posting this to the plugin group days ago but it's not showing and I'm not sure if it's every going to show. My form disappears when the focus changes between form fields. Here's an

[jQuery] Re: Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
I'm 99.9% certain that I have correctly deduced that the reason for the continued addition of the error messages to the DOM is that the errorsFor: function() [see below] is not finding the ones that have been added already. errorsFor: function(element) { return

[jQuery] Re: Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
Okay, problem #2 from the original post has been solved. I finally found the .errors() function and was able to modify it to suit my purposes. Any ideas on how to solve problem #1 would be much appreciated. :-) Thanks, Matt

[jQuery] Re: Validation Plugin Mod

2008-06-01 Thread Matt Quackenbush
All fixed up. :-) Thanks to Jorn for an awesome plugin!

[jQuery] Re: Validation Plugin Doesn't work with jQuery 1.2.5

2008-05-25 Thread Jörn Zaefferer
Please update to jQuery 1.2.6, the issue causing the validation plugin to fail is fixed there. Jörn On Sun, May 25, 2008 at 1:56 PM, [EMAIL PROTECTED] wrote: My system it's working with jQuery 1.2.3 and has the validation Plugin with the latest version , but When I changed the jquery to

[jQuery] Re: Validation Plugin remote method

2008-05-13 Thread Jörn Zaefferer
You can use the php file provided in the download (within demo/marekto) as a reference to get the parameter and return the result. I can't help you with actually implementing the check, which most likely needs to select something from a database to check if the address already exists. There are

[jQuery] Re: Validation Plugin Add Row Example

2008-04-13 Thread Jörn Zaefferer
HatemJaber schrieb: I am using the Validation plugin from http://jquery.bassistance.de/validate/demo which is a great plugin. I just found out after browsing the docs some more that it has the capability of dynamically adding a row of data. I would like to know how I can remove a row of data.

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-02-04 Thread Jörn Zaefferer
Dave Stewart schrieb: Jorn, I've done some work on selectors for groups, and it's actually quite easy to select a group or sub group for validation, although I don't know the details of your implementation, so I wont suppose to imply anything. As usual I've uploaded some demo code for you to

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-02-02 Thread Dave Stewart
Jorn, I've done some work on selectors for groups, and it's actually quite easy to select a group or sub group for validation, although I don't know the details of your implementation, so I wont suppose to imply anything. As usual I've uploaded some demo code for you to take a look.

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-02-01 Thread Dave Stewart
Jorn, Here is a live example. http://www.janepatrick.co.uk/admin/test/associative.php Hopefully it's in your interest to examine this issue further! Many thanks, dave

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-02-01 Thread Jörn Zaefferer
Dave Stewart schrieb: Jorn, Here is a live example. http://www.janepatrick.co.uk/admin/test/associative.php Hopefully it's in your interest to examine this issue further! Thanks, I'll definitely take a look, though it won't make it into 1.2.1. Jörn

[jQuery] Re: Validation plugin - spinner while validating field?

2008-01-31 Thread Jörn Zaefferer
Rus Miller schrieb: Also, I noticed that even though the 'Check URL' field on my form (http://monovisiondesign.com/client/jquery/validate-url/form.php) is not required, it still performs a remote call and a label.checked is applied to the field when it's left empty. Am I doing something wrong

[jQuery] Re: Validation plugin - spinner while validating field?

2008-01-30 Thread Jörn Zaefferer
Rus Miller schrieb: There is a label.error and a label.checked but does anyone know how I would display a label.pending (perhaps with a spinner) while the validation (especially a remote request) is happening? Thanks. You can still use jQuery's ajax events to display a busy-indicator:

[jQuery] Re: Validation plugin - spinner while validating field?

2008-01-30 Thread Rus Miller
My issue is that remote requests, especially those involving an external server, can take a second or two. It's nice to give the user an indication that something is happening, which is why a spinner isn't 'useless'. It would be great if someone could give me a push in the right direction.

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-01-29 Thread Dave Stewart
I made a small discovery (in my sleep no less!) that works in HTML, but screws up the PHP: HTML: If I put the array properties in single quotes (the spaces are to make it clearer), the controls are validated as a group! This is good. input type=checkbox name=group[ ' property_1 ' ] / input

[jQuery] Re: Validation Plugin - using required inside of addMethod

2008-01-15 Thread Jörn Zaefferer
Tristan schrieb: Hi, I'm trying to create a new custom validation method similar to the other methods included in 'additional-methods.js'. I've created my method like this: jQuery.validator.addMethod('dateAfter', function(value, element, param) { var dVal = new Date(); var

[jQuery] Re: Validation plugin docs: links not working

2008-01-09 Thread Gonzo
Thanks for catching that. The docs for the validation plugin are currently being moved from the source code to the wiki and there has also been some re-organization for the upcoming release of v1.2, so the docs may be out of sync with the code for a few more days. We'll make sure to get these

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-14 Thread Jörn Zaefferer
Alexander Graef schrieb: Hi, thanks :) How would I reference the name for the rule and message preferences ? Using test[] would break the javascript, can I use 'test[]' as the key value? Sure, this is legal javascript: rules: { 'test[]': required } -- Jörn

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-12 Thread Alexander Graef
experience http://pro.portalzine.de -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Graef Sent: Thursday, October 11, 2007 7:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: validation plugin: validation of checkboxes fail Hi, thanks

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-11 Thread Jörn Zaefferer
Alexander Graef schrieb: Hi, For the multi select: select name=test[] multiple=multiple option value=oneone/option option value=twotwo/option option value=threethree/option option value=fourfour/option option value=fivefive/option /select This allows

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-11 Thread Alexander Graef
] On Behalf Of Jörn Zaefferer Sent: Thursday, October 11, 2007 6:26 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: validation plugin: validation of checkboxes fail Alexander Graef schrieb: Hi, For the multi select: select name=test[] multiple=multiple option value=oneone/option

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-10 Thread Jörn Zaefferer
Alexander Graef schrieb: [...] This is a wrong scenario, as normally each checkbox has its own unique name within a form. The validation fails if the names are different for each checkbox. How do I chain them for validation with each checkbox having its own name ? [...] I have no idea how

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-10 Thread Alexander Graef
PROTECTED] On Behalf Of Jörn Zaefferer Sent: Wednesday, October 10, 2007 8:30 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: validation plugin: validation of checkboxes fail Alexander Graef schrieb: [...] This is a wrong scenario, as normally each checkbox has its own unique name within

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread Jörn Zaefferer
wattaka schrieb: This is just plain infuriating, this piece code works perfectly well on FF 2, on IE6 , it just causes errors: [...] Does anyone have any ideas? Could you please give the latest revision a try? http://dev.jquery.com/view/trunk/plugins/validate/ I haven't managed to just

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread Josh Nathanson
- From: wattaka [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Saturday, October 06, 2007 6:11 AM Subject: [jQuery] Re: Validation plugin errors on IE6 Hi Jörn, The valide.js works, the validate pack does not, same error as before. Thanks. Just let me know, I´ll be glad

[jQuery] Re: Validation plugin noob

2007-09-28 Thread Rick Faircloth
Hi, Josh... In your HTML, did you specify a place for the error message to appear? This is from Jorn's example: label for=firstnameFirstname/label input id=firstname name=firstname / I handle my error messages a little different than the example above, preferring my error

[jQuery] Re: Validation plugin noob

2007-09-28 Thread Josh Nathanson
, and it's doing *something*, because when I set debug = true, the form doesn't submit. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, September 28, 2007 12:55 PM Subject: [jQuery] Re: Validation plugin noob Hi, Josh

[jQuery] Re: Validation plugin noob

2007-09-28 Thread Web Specialist
. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, September 28, 2007 12:55 PM Subject: [jQuery] Re: Validation plugin noob Hi, Josh... In your HTML, did you specify a place for the error message to appear

[jQuery] Re: Validation plugin noob

2007-09-28 Thread seedy
are your fields inside a table? I was seeing that in IE, if fields were in a table cell, the errors were being added but the cell wasn't getting larger and the errors could not be seen. Josh Nathanson-3 wrote: Hey all, Using Jorn's Validation plugin, it's not displaying the error

[jQuery] Re: Validation plugin noob

2007-09-28 Thread Josh Nathanson
Yes they are in a table - that may be the issue - although I'm testing in FF. I'll make some changes and report back. -- Josh - Original Message - From: seedy [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, September 28, 2007 1:38 PM Subject: [jQuery] Re: Validation

[jQuery] Re: Validation plugin noob SOLVED

2007-09-28 Thread Josh Nathanson
: [jQuery] Re: Validation plugin noob are your fields inside a table? I was seeing that in IE, if fields were in a table cell, the errors were being added but the cell wasn't getting larger and the errors could not be seen. Josh Nathanson-3 wrote: Hey all, Using Jorn's Validation plugin, it's

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-27 Thread Jörn Zaefferer
voltron schrieb: Hi Jörn, I think it works now. Do the errors which I define in the error_container override the default ones in the plugin? Maybe it would be cool to make this a default validator for your plugin? I think many others might want this functionality. Thanks for looking into this

[jQuery] Re: Validation Plugin 1.2 ETA

2007-09-26 Thread Jörn Zaefferer
Aaron Heimlich schrieb: Jorn, Is there an ETA on version 1.2 of your validation plugin? Nope, none yet. Though the latest revision is already very stable. I'll try to release a beta/rc soon, something you can start using while the final release has to wait for updates on demos and

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-26 Thread Jörn Zaefferer
voltron schrieb: Thanks Mike, did not see that :-) okay, the plugin works, but this is the error that I get from Firebug: Could you please give the latest revision a try? http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js -- Jörn

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-26 Thread voltron
Hi Jörn, I think it works now. Do the errors which I define in the error_container override the default ones in the plugin? Maybe it would be cool to make this a default validator for your plugin? I think many others might want this functionality. Thanks for looking into this problem. On Sep

  1   2   >