[jQuery] Validation plugin

2010-01-18 Thread perkin5
I am testing this plugin (in conjunction with another called 'InFieldLabel.js' that merely fades back the label on focus) and am getting a strange effect where only some of the fields validate. The test page is: http://www.richardbarnfather.co.uk/esu/php/booking_mike.php All fields have a class

Re: [jQuery] Validation plugin

2010-01-18 Thread Nathan Klatt
On Mon, Jan 18, 2010 at 4:55 AM, perkin5 mshe...@btinternet.com wrote: http://www.richardbarnfather.co.uk/esu/php/booking_mike.php All fields have a class of 'required' and the email field has The fields that aren't validating have typos in the class setting - they're missing the equals sign:

[jQuery] Validation plugin: two fields on the same function?

2010-01-16 Thread Andre Polykanine
Hello everyone, I'm using the validation plugin. I have a function which handles a field: it's required if the function returns true, otherwise it is not: q[1]: { required: function () { ...

[jQuery] Validation Plugin

2010-01-10 Thread Richard Beacroft
People enter an address to lookup on a google map, this makes an asynchronous call and will either return a lat/longitude or not. if not, i want to display an error to the user that an address could not be found. How do I go about this? I've not managed to get it working using the remote

[jQuery] Re: jQuery Validation Plugin messages by field rule.

2009-12-21 Thread Antti
Didnt i try that... :P. Thanks a lot for soulution and quick response!! That did a exactly what i wanted. On 19 joulu, 22:25, Andre Polykanine an...@oire.org wrote: Hello Antti and all,           You just don't need to nestmessages, they should be           overwritten:                      

[jQuery] jQuery Validation Plugin messages by field rule.

2009-12-19 Thread Antti
Hi! Im quite newbie with jquery but so far i think it realy rocks. Anyways im now trying to use Validation plugin but have one problem to solve to get in job done. My form has natrually many fields, each field can have many rules, even custom rules. Trouble is that i cant find a way to overwrite

Re: [jQuery] jQuery Validation Plugin messages by field rule.

2009-12-19 Thread Andre Polykanine
@ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Antti antti.mak...@mindworks.fi To: jQuery (English) jquery-en@googlegroups.com Date: Saturday, December 19, 2009, 12:09:32 PM Subject: [jQuery] jQuery Validation Plugin messages

[jQuery] Validation plugin: required by condition

2009-12-15 Thread Andre Polykanine
Hello everyone, I have a text field (textarea) that is required only if a specific radio button in the group is checked. Here's the explanation: a blog entry may be a personal entry, a publication and a news post. If it's a news post or a publication, then the announce is required. How can I

Re: [jQuery] Validation plugin: required by condition

2009-12-15 Thread Leonardo K
Something like this: input type=radio name=blog-entry value=personal-entry/ input type=radio name=blog-entry value=publication/ input type=radio name=blog-entry value=post/ textarea name=announce/textarea $(form).validate({ rules:{ announce: { required: function(element)

Re[2]: [jQuery] Validation plugin: required by condition

2009-12-15 Thread Andre Polykanine
- From: Leonardo K leo...@gmail.com To: jquery-en@googlegroups.com jquery-en@googlegroups.com Date: Tuesday, December 15, 2009, 3:58:52 PM Subject: [jQuery] Validation plugin: required by condition Something like this: input type=radio name=blog-entry value=personal-entry/ input type=radio

Re: [jQuery] validation plugin. errorplacement and onblur

2009-12-14 Thread Leonardo K
You can use the errorLabelContainer to put all your label in a div, and the plugin will handle this. errorLabelContainer: #messageBox, On Sun, Dec 13, 2009 at 09:33, Droy droy...@gmail.com wrote: Greetings! I had a small problem: all errors received in plugin validation I take out in div the

[jQuery] validation plugin. errorplacement and onblur

2009-12-13 Thread Droy
Greetings! I had a small problem: all errors received in plugin validation I take out in div the block with id = error. errorPlacement: function (error) { $ (' #error ').html (error); } All works well. But when the user has corrected the data on correct in case of an error errors from

[jQuery] validation plugin: how to use EqualTo

2009-11-26 Thread kkuilla
Dear all, I'm trying to use the jquery validation plug in to verify that two fields (email addresses) are the same. If read through the tutorials etc but it does not work. I wondering whether I am using it in the right way. I want to validate each field individually so I use onblur to execute the

[jQuery] JQuery validation plugin - custom validation for group of html elements

2009-11-21 Thread Ngm
datecheck. Is there any other approach that we can follow? -- View this message in context: http://old.nabble.com/JQuery-validation-plugin---custom-validation-for-group-of-html-elements-tp26421224s27240p26421224.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] JQuery validation plugin - custom validation for group of html elements

2009-11-21 Thread Narasimha
I have a set of combo boxes on a HTML form which act as a Date control: div id=datecheck select id=datecheck_y name=datecheck_y option value=20092009/option option value=20082008/option option value=/option /select select id=datecheck_m name=datecheck_m option

[jQuery] Validation plugin rules() ???

2009-11-16 Thread Atkinson, Sarah
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 in the jquery site.

[jQuery] Validation Plugin + jNice

2009-11-13 Thread Samuurai
I'm having a strange problem with jNice and the validation plugin. Probably the easiest way to describe the error is by giving an example. I load the page with my form on it, then without typing anything, I click submit. The jQuery validation plugin puts errors around my fields saying This field

Re: [jQuery] Validation Plugin + jNice

2009-11-13 Thread Jörn Zaefferer
typing anything, I click submit. The jQuery validation plugin puts errors around my fields saying This field is required. However, when I try to type something into the input fields to satisfy the validation, I can type a couple of letters, three or four if i'm really fast, but as the validation

[jQuery] (validation) jQuery validation plugin and FormWizard

2009-11-12 Thread Jesse
will automagically display one section at a time, with a Next hyperlink to take you to the next section with codea id=step0Next class=next href=#Next /a/code My question is this: Using the jQuery Validation plugin, how can I validate each fieldset when a user clicks Next, and so forth, instead

[jQuery] JQuery validation plugin - error highlight problem

2009-11-10 Thread narasimhagm
not be red How do i resolve this problem? -- View this message in context: http://old.nabble.com/JQuery-validation-plugin---error-highlight-problem-tp26282040s27240p26282040.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

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

2009-10-21 Thread JMan
what am I doing wrong here? I cannot figure out how to use the addMethod(). var frmSubmittal = $(#frmSubmittal); //validates the form frmSubmittal.validate({ debug: false,

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

2009-10-15 Thread Renie
I'm using the Jquery Validation Plugin on my site, and I have a textfield that validates to only allow numbers. However, that also doesn't allow linebreaks - which I need to have! Is there a way around this? Here's the working code: html head script src=http://code.jquery.com/jquery-latest.js

[jQuery] jquery validation plugin issue with IE 8

2009-09-17 Thread Edgar Méndez .
I have a problem with the validation plugin when I add a new validation method in IE8, when I submit the form it just validate the added method but the other fields are submitted anyway. Also I have another problem with the valid() function, when I try to see if the function is true to show a

[jQuery] validation plugin

2009-09-13 Thread runrunforest
Hi, I want to stop class error added to input element, how to do that please ?

[jQuery] Jquery Validation plugin doesn't working on ASP NET MVC

2009-08-27 Thread Edgar Méndez .
I'm trying to use the Jquery Validation plugin on aspnet mvc fframework but it doesn't work, when I open the firebug console it display an error: jQuery is not defined [Break on this error] jQuery.extend(jQuery.fn, {\n I don´t know how to fix this issue an had already added the jquery-1.3.2.js

[jQuery] Re: Jquery Validation plugin doesn't working on ASP NET MVC

2009-08-27 Thread Anoop kumar V
You need to reverse the order of sourcing the javascript files. Put the jquery 1.3.2.js file before the validate.js. -Anoop On 8/27/09, Edgar Méndez. edgar9...@gmail.com wrote: I'm trying to use the Jquery Validation plugin on aspnet mvc fframework but it doesn't work, when I open

[jQuery] Basic questions about jQuery validation plugin.

2009-07-30 Thread Leon
Hello, I have a form with a set of input fields. I am going to validate the form with jQuery Validation. The field has the value of its ID different from the value of its name. I've looked around and tried several times with the form validate method. But, it seems like the validation got trigged

[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread Anoop kumar V
I think the validation plugin depends only on the name and not the id. On 7/29/09, Leon leon...@gmail.com wrote: Hello, I have a form with a set of input fields. I am going to validate the form with jQuery Validation. The field has the value of its ID different from the value of its name.

[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread Tim
Also, you might have a missing curly-bracket after rules: { score_1 : {required: true} unless you just mis-typed it. Tim :o] On Jul 30, 7:57 am, Anoop kumar V anoopkum...@gmail.com wrote: I think the validation plugin depends only on the name and not the id. On 7/29/09, Leon

[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread PictureMan
I belive it should be like this: (added messages for you if you arean't using them) $('#myform').validate({ rules: { score_1 : {required: true}, score_2 : {required: true}, score_3 : {required: true} } messages: { score_1 : Required message

[jQuery] jQuery Validation Plugin jQuery Form Plugin

2009-07-23 Thread Hayden Hancock
Validation plug-in version: 1.5.5 Form plug-in version: 2.28 I was able to get the validation and submit to work together properly. However, when using options in the validation plugin such as errorClass and validClass I was ran into some trouble. Upon submission, these classes would stick/stay.

[jQuery] Validation plugin - submit form without validation

2009-07-20 Thread Adam P
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 states. The drop down list of states is used to filter the table

[jQuery] Validation Plugin

2009-07-19 Thread MrConfused
Recently I have just started using JQuery and JQuery Validation plugin. They are really great in terms of helping me in my project. I am having problem with one of the property in the validation plugin. I do not understand about the method called Remote. How do I write out a script in JSP

[jQuery] [validation plugin] Label disappears on validation

2009-06-18 Thread ypy
Hi, Let me describe the problem I have to solve : When a field is unvalid : its label gets the errorClass class. Allright ! When the field gets valid : the label, instead of only loosing the error class, completely disappears (style=display: none;). How can I keep my labels displayed when the

[jQuery] jquery validation plugin. Need help with passing variable to jQuery.format

2009-06-05 Thread talisien
I'm having some troubles with passing variables to jQuery.format I have a script (php) that's checks if the domain part exists. If not it will show an message The following code works #1 It split an email address and assigns the domain name to the var hostName $(document).ready(function() {

[jQuery] Re: jquery validation plugin. Need help with passing variable to jQuery.format

2009-06-05 Thread talisien
On 5 jun, 12:11, talisien globalnewsgrab...@gmail.com wrote: I'm having some troubles with passing variables to jQuery.format I have a script (php) that's checks if the domain part exists. If not it will show an message The following code works #1 It split an email address and assigns

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Bob O
Man i combed the docs for a day, and i missed that link everytime.. Thanks Jorn. On May 23, 3:02 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You need to quote the full key, eg name['name']: required. Seehttp://docs.jquery.com/Plugins/Validation#Fields_with_complex_names_

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Jörn Zaefferer
A testpage would help. Can't see anything wrong with that code. Jörn On Tue, May 26, 2009 at 4:13 PM, Bob O bhan...@hcinsight.com wrote: So it seems im still having some issues.. this is my html form id=new_blog_post class=new_blog_post method=post action=/ blog_posts p label

[jQuery] Re: jQuery Validation Plugin

2009-05-26 Thread Rams j
Hi Bob, Its working fine.. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleUntitled Page/title script type =text/javascript src=jquery-1.3.2-vsdoc2.js /script

[jQuery] Re: How to go to top of page after form validation fails (using jQuery validation plugin)

2009-05-25 Thread Kathryn
Hi folks, I found the answer: scroll(0,0); In my code, I put this line right after the code to generate the error message at the top of the page telling how many total errors there are. Hope this is helpful to someone. Kathryn On Mar 31, 6:05 pm, Kathryn kathry...@gmail.com wrote: I'm

[jQuery] Re: jQuery Validation Plugin

2009-05-23 Thread Jörn Zaefferer
You need to quote the full key, eg name['name']: required. See http://docs.jquery.com/Plugins/Validation#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Fri, May 22, 2009 at 10:15 PM, Bob O bhan...@hcinsight.com wrote: so as not to confuse.. the name attribute looks like this

[jQuery] jQuery Validation Plugin

2009-05-22 Thread bhan...@hcinsight.com
Can anyone tell me how i can change which attribute on my form field triggers the validation? currently it appears the be the name attribute. So in my Rails app using Rails helpers, it sets the name to somthing like formname ['fieldname'] and the whole name. in my script if i do something like

[jQuery] Re: jQuery Validation Plugin

2009-05-22 Thread Bob O
so as not to confuse.. the name attribute looks like this name=name['name'] for the input field and the js is rules: { name['name']: 'required' } i noticed typos in the above question. On May 22, 12:36 pm, bhan...@hcinsight.com bhan...@hcinsight.com wrote: Can anyone tell me how i can

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread BrendanC
Jon - Good catch - however that was just a cut/paste problem - below is a new example that does not work as expected - for some reason the validation errors are ignored and the form is posted - not what I was expecting. Is there something else I need to do to prevent form from posting on errors?

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread Jörn Zaefferer
You can set debug:true for debugging. It will always prevent the form submit, which is useful to look at errors that are thrown during validation. Jörn On Wed, May 6, 2009 at 8:37 PM, BrendanC bren...@gmail.com wrote: Jon - Good catch - however that was just a cut/paste problem - below is a

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-06 Thread BrendanC
Jorn - thanks for the responses - I resolved my problem - for the record I had a mismatch between the versions of JQuery (1.3.2) and an earlier (incompatible) version of the plugin. This was causing some errors that I managed to track down with Firebug. Downloaded the new version of the

[jQuery] JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-05 Thread BrendanC
JQuery newbie question re using validation plugin with Django newform. I have a simple email feedback contact django form that I wanted to enhance with some JQuery validation. I created a standalone (Non Django) version of the form and it works correctly. However when I create a Django version

[jQuery] Re: JQuery Validation plugin with Django (New) Forms (V1.0) - Are these compatible?

2009-05-05 Thread Jörn Zaefferer
You define rules for a field sender, but there is no input with name=sender. Jörn On Tue, May 5, 2009 at 7:28 PM, BrendanC bren...@gmail.com wrote: JQuery newbie question re using validation plugin with Django newform. I have a simple email feedback contact django form that I wanted to

[jQuery] jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Brad
Are the options, usage and limitations for the jQuery Validation rules using metadata in markup, e.g., class=required date, documented anywhere? There is http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods, but that is for setting up rules in the JS.

[jQuery] Re: jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Jörn Zaefferer
The list applies to metadata as well. You can specify any method as an attribute, and where there are no parameters needed, use a class instead. Jörn On Thu, Apr 23, 2009 at 9:49 PM, Brad nrmlcrpt...@gmail.com wrote: Are the options, usage and limitations for the jQuery Validation rules

[jQuery] Re: jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Brad
Thanks Jorn. Since I wrote I've been looking at the additional- methods.js to get ideas on how to write some custom filter and found this example: class={required:true,vinUS:true} Is that object syntax required when using custom filters as opposed to simply class=required vinUS? re: where no

[jQuery] Re: jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Jörn Zaefferer
This requires the metadata plugin: class={required:true,vinUS:true} This doesn't: class=required vinUS minlength=2 Jörn On Thu, Apr 23, 2009 at 10:09 PM, Brad nrmlcrpt...@gmail.com wrote: Thanks Jorn. Since I wrote I've been looking at the additional- methods.js to get ideas on how to write

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

2009-04-22 Thread Brad
I'm trying to integrate the Validation plugin into an existing project. The forms use AJAX and the buttons are not of type 'submit', but type 'button'. If I change the type to 'submit' I can see validation works, but doing so will require other code changes. Is there any way to get it to work

[jQuery] Validation plugin (bassistance.de) problem

2009-04-17 Thread Jonas
Example form: http://jquery.bassistance.de/validate/demo/milk/ (this is the demo for the script on bassistance.de) When it does 'live' validation (on blur) it tells the user if the field is correct or incorrect. When you fill in the first field, tab to the next field, go back to the previous

[jQuery] min file for jQuery Validation Plugin

2009-04-14 Thread expresso
Ok, obviously we know what a min file is. But can someone tell me for the jQuery plugin what does this min file restrict you from or strip out from the main? What is filtered out? I need to know what I'm getting or not getting compared to the main jQuery Validation .js library.

[jQuery] Re: min file for jQuery Validation Plugin

2009-04-14 Thread expresso
minified files are just whitespace and line breaks removed, and object names are shortened. Nevermind. On Apr 14, 4:49 pm, expresso dschin...@gmail.com wrote: Ok, obviously we know what a min file is.   But can someone tell me for the jQuery plugin what does this min file restrict you from or

[jQuery] Re: Custom error function in jQuery Validation plugin?

2009-04-13 Thread cohq82
Can someone help pls Thanks!! On Apr 12, 12:32 pm, cohq82 quang...@gmail.com wrote: I am new to jQuery validation plugin (http://docs.jquery.com/Plugins/ Validation). What I am trying to do is to have my own error message DIV with display:none initially. If there is error, I want to run

[jQuery] username validation using jQuery Validation plugin

2009-04-13 Thread cohq82
Hi all, Is there a way to validate username field (no space, only letters)? I don't want to modify the code. I know this can be done easily with if statement but I just want to see if the Validation plugin has this feature already:

[jQuery] Custom error function in jQuery Validation plugin?

2009-04-12 Thread cohq82
I am new to jQuery validation plugin (http://docs.jquery.com/Plugins/ Validation). What I am trying to do is to have my own error message DIV with display:none initially. If there is error, I want to run the fadein/fadeout to show that error. The structure of the input/error DIV like

[jQuery] Validation plugin remote problem

2009-04-11 Thread Victorr
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 a error message to see that it works but I can't seem to get it right. Javascript:

[jQuery] validation plugin question

2009-04-06 Thread epitka
Can this plugin be used when there is no actual submit, just redirect via a tag. However before doing redirect I need to make sure that value entered in the filed is valid?

[jQuery] Validation plugin (Remove the label messages)

2009-04-02 Thread Victorr
I've started to use the validation plugin for form validation. But I don't want it to show the label error messages. I just want to change the inputs background and border color. I don't know how to disable the label messages so if someone could help me with that, that would be super.

[jQuery] jQuery Validation plugin and ASP.NET postbacks

2009-03-31 Thread johanders...@gmail.com
Hi, Have anyone been able to use the jQuery validation script and been able to make the buttonclick cause a post back? The form validates fine but the post is never made. If I add the option submitHandler on the plugin it goes in there, but that does not really help as i dont want to do a ajax

[jQuery] How to go to top of page after form validation fails (using jQuery validation plugin)

2009-03-31 Thread Kathryn
I'm using the validation plugin at http://bassistance.de. When form validation fails, focus goes to the first invalid element. But I have a summary error message at the top of the page which I want the user to see. If the first invalid field is too far down, they don't see the message. How can I

[jQuery] Re: Jquery validation plugin question

2009-03-27 Thread markstegg...@googlemail.com
Thanks. It gives me an error saying element.attr is not a function What is wrong with this: highlight: function(element, errorClass) { if (element.attr(name) == aupairLanguageList) $(#multiSelect-aupairLanguageList-title).addClass(error); }, unhighlight: function(element,

[jQuery] Jquery validation plugin question

2009-03-26 Thread markstegg...@googlemail.com
Hello, Thanks for building this validation plugin, I like it. I have a question: The error class automatically gets added to the label with the same for= name, but for a certain error I need to change the element that gains the error class. For instance, I added this line to the error

[jQuery] Re: Jquery validation plugin question

2009-03-26 Thread Jörn Zaefferer
Use the highlight and unhighlight options for that. Jörn On Thu, Mar 26, 2009 at 3:21 PM, markstegg...@googlemail.com markstegg...@googlemail.com wrote: Hello, Thanks for building this validation plugin, I like it. I have a question: The error class automatically gets added to the label

[jQuery] Re: jQuery Validation Plugin ASP.NET

2009-03-24 Thread jdobs...@gmail.com
Zach, Try adding rules via the Validate method like so: $(document).ready(function() { $(#aspnetForm).validate({ rules: { TitleField: { minlength: 2 } } }); }); This worked

[jQuery] Re: jQuery Validation Plugin ASP.NET

2009-03-24 Thread Mac
Hi You are not placing the # in front of the form id as jquery requires. I do that all the time!!! On Mar 24, 12:26 pm, Zach zachary.hun...@gmail.com wrote: I've tried to get this to work for the past 4 hours and I'm stuck. I've got a master page with the following scripts added.    

[jQuery] jQuery Validation Plugin ASP.NET

2009-03-23 Thread Zach
I've tried to get this to work for the past 4 hours and I'm stuck. I've got a master page with the following scripts added. script type=text/javascript src=/RohmPortal/scripts/ jquery-1.3.2.js/script script type=text/javascript src=/RohmPortal/scripts/ jquery.validate.js/script this is

[jQuery] jQuery validation plugin -- how to validate an input only if it contains info

2009-03-11 Thread clorentzen
Hi -- I've got a contact form here http://www.dianlofton.com/contact.shtml ...using the jquery.validate.js plugin. The form has an optional input for a phone number, which I'd like to have validated -- but only if there is info in the input. If you look at the source code for that page, you'll

[jQuery] Re: jQuery validation plugin -- how to validate an input only if it contains info

2009-03-11 Thread clorentzen
Thank you! --Carl. On Mar 11, 7:54 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: add if (this.optional(element)) return true; to the top. See any existing validation method for an example, orhttp://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Wed, Mar 11,

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

2009-02-18 Thread shmolch
Hi, I want to validate form and submit it via JavaScript even if it isn't valid, and don't do it if the submit button is pressed $(document).ready(function() { validator = $(#editUserForm).validate( { focusInvalid: false,

[jQuery] Validation Plugin: Too Much Recursion

2009-02-08 Thread Cutter
I have an odd thing happening with the Validation Plugin (latest build on JQuery 1.3). I have several forms setup on a page, with validation on two. My first works fine, but my second keeps giving me errors in Firebug about 'too much recursion'. The configs for these two form validations are

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

2009-02-05 Thread claudes
using validation plugin, is there a way to validate checkbox group that has different name attributes? i would like to make sure that at least one checkbox has been selected but i'm not sure how to do it because they all have different names. thanks -- View this message in context:

[jQuery] Re: [validate] Jquery validation plugin isn't working in IE

2009-02-04 Thread whtthehecker
This solved it! Thanks a lot for the help Jörn! On Jan 28, 12:34 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: I'm sorry, but you have trailing commas:http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/4... I hope its not too late :-) Jörn On Tue, Jan 27,

[jQuery] Validation Plugin

2009-02-04 Thread varun
Hi Can some one please tell me if I can use validate plugin if saomething is written in textbox by default ? I have a textbox which is using auto complete p[lugin , so when page loads an auto-suggest keyword always written in textbox and if some user clicks that keyword,it disappears ... I want

[jQuery] validation plugin and ui tabs

2009-02-03 Thread varun
Hi Everybody I am trying to use validation plugin with ui tbas. suppose I have 5 tabs on page and every tab have submit button in that case how can I use validation plugin... I know i can use validation as: ('#form-id').validate(); but since i have 5 tabs but i cant have 5 forms in

[jQuery] Re: [validate] Jquery validation plugin isn't working in IE

2009-01-28 Thread Jörn Zaefferer
I'm sorry, but you have trailing commas: http://www.pluralsight.com/community/blogs/fritz/archive/2007/06/19/47771.aspx I hope its not too late :-) Jörn On Tue, Jan 27, 2009 at 11:46 PM, whtthehecker hecker.r...@gmail.com wrote: Hi, This is my first time using the validation plugin for

[jQuery] [validate] Jquery validation plugin isn't working in IE

2009-01-27 Thread whtthehecker
Hi, This is my first time using the validation plugin for jquery and i've got it working in firefox but when i test in IE it's not working. Here is the page: http://rickhecker.com/test/login-sign-up/index.html I'm sure it's something stupid that I'm doing because I don't see anyone else having

[jQuery] Validation Plugin: additional-methods.js

2009-01-22 Thread Steve Blades
Thanks again to Jorn for a fantastic plugin. One thing I noticed, with the additional-methods.js file that is included with the download, is a small error with the messages for the maxWords, minWords, and rangeWords methods. They are missing $.format(): jQuery.validator.addMethod(maxWords,

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

2009-01-05 Thread claudes
i have a group that contains both first and last name. i'm wondering if it is possible to have custom messages for groups. i'm trying to achieve something to the following: a. if both first and last name are not filled in: First and Last name are Required b. if only first is filled in: last

[jQuery] jquery validation plugin and hidden elements

2008-12-30 Thread nal
Hi, I have been using a prototype form validation http://tetlaw.id.au/view/javascript/really-easy-field-validation but I now wish to go to jquery. I can get it working but there is something i can't get to work and it was the best feature of the prototype script mentione above. I would like

[jQuery] Re: jquery validation plugin and hidden elements

2008-12-30 Thread MorningZ
It appears that you are confusing display: none with type=hidden they are two totally different controls if you have input id=Name1 type=text class=reqired value= / and you set it to display: none when the checkbox is checked... for instance, saying $(#Name1).hide() then the selector

[jQuery] validation plugin negative number rule?

2008-12-19 Thread Adam
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] validation plugin: don't insert error element

2008-12-15 Thread Sean Allen
Is there a way to instruct the validation plugin to not insert any error element?

[jQuery] validation plugin question

2008-12-12 Thread Sean Allen
playing around with it. don't want to get error messages displayed. i'm just putting in a general error message at top and highlighting required fields. but the label for errors gets created with a display: inline set on the element which is thwarting me from not showing it. looking at the

[jQuery] help: Zend Framework and JQuery validation plugin

2008-10-16 Thread Namrasit
Hi! I try to use Zend Framework with JQuery validation plugin. Standard validation of forms works good but when I want to remote validate (f.e check a login in database) remote function dosen't work. Below I write a code with method from controller and views listing: Method from controller

[jQuery] Re: help: Zend Framework and JQuery validation plugin

2008-10-16 Thread Jörn Zaefferer
Can you post a testpage? Jörn 2008/10/16 Namrasit [EMAIL PROTECTED]: Hi! I try to use Zend Framework with JQuery validation plugin. Standard validation of forms works good but when I want to remote validate (f.e check a login in database) remote function dosen't work. Below I write a code

[jQuery] Re: help: Zend Framework and JQuery validation plugin

2008-10-16 Thread Namrasit
2008/10/16 Namrasit [EMAIL PROTECTED]: Hi! I try to use Zend Framework with JQuery validation plugin. Standard validation of forms works good but when I want to remote validate (f.e check a login in database) remote function dosen't work. Below I write a code with method from

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

2008-10-13 Thread w1ntermut3
Using the Validation plugin (http://docs.jquery.com/Plugins/ Validation/) I've got checkboxes like this: input type=checkbox name=q4 id=q4 value=1 / input type=checkbox name=q4 id=q4 value=2 / input type=checkbox name=q4 id=q4 value=3 / input type=checkbox name=q4 id=q4 value=4 / input

[jQuery] change filedname from ID in jquery validation plugin

2008-10-12 Thread bookme
Hi, I am using Jquery plugin for client side validation. But due to a filedname I am facing a problem. Example var validator = $(#UserSignupForm).validate({ rules: { data[User][username]: { required: true,

[jQuery] change filedname from ID in jquery validation plugin

2008-10-12 Thread bookme
same problem in many plugins becuase CakePHP return name like data[User][username] so How can I override a name from ID? Please Help me Thanks -- View this message in context: http://www.nabble.com/change-filedname-from-ID-in-jquery-validation-plugin-tp19940820s27240p19940820.html Sent from

[jQuery] Re: jQuery validation plugin - Italian Translation

2008-10-10 Thread Jörn Zaefferer
Done: http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/localization/messages_it.js Jörn 2008/10/5 Jörn Zaefferer [EMAIL PROTECTED]: Could you sent that as file js file to me? Thanks Jörn On Sun, Oct 5, 2008 at 1:58 PM, caruso_g [EMAIL PROTECTED] wrote: Thanks a lot for your

[jQuery] Re: jQuery validation plugin - Italian Translation

2008-10-05 Thread caruso_g
Thanks a lot for your translation, just some typos/errata: email: Inserisci un indirizzo mail valido., should be email: Inserisci un indirizzo email valido., number: Inserisci un numero valida., should be number: Inserisci un numero valido., equalTo: Il

[jQuery] Re: jQuery validation plugin - Italian Translation

2008-10-05 Thread Jörn Zaefferer
Could you sent that as file js file to me? Thanks Jörn On Sun, Oct 5, 2008 at 1:58 PM, caruso_g [EMAIL PROTECTED] wrote: Thanks a lot for your translation, just some typos/errata: email: Inserisci un indirizzo mail valido., should be email: Inserisci un indirizzo email

[jQuery] jQuery validation plugin - Italian Translation

2008-10-04 Thread D4.Solutions
filename: messages_it.js /* * Traduzione dei messaggi di default per il pugin jQuery validation. * Language: IT * Traduzione a cura di Davide Falchetto * E-mail: [EMAIL PROTECTED] * Web: www.d4solutions.it */ jQuery.extend(jQuery.validator.messages, { required: Campo obbligatorio.,

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-02 Thread Jeroen Coumans
Aah! *Slaps forehead* I found the problem! I was creating the validation rules and messages by referring to the id's of the form fields, while I should just reference their names! Everything's working now, thanks for your time. Jeroen On 2 okt, 03:24, Jörn Zaefferer [EMAIL PROTECTED] wrote:

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-01 Thread Jörn Zaefferer
Could you summarize the problem again? I looked at the testpage and couldn't see anything wrong with it. Jörn On Tue, Sep 30, 2008 at 6:16 PM, Jeroen Coumans [EMAIL PROTECTED] wrote: Could it have something to do with the fact that each id starts with edit-? When I try it with manually

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-01 Thread Jeroen Coumans
Drupal generates input fields with an id like edit-profile-name. The jQuery validator plugin seems to ignore those fields completely, at least on the form at http://lab.jeroencoumans.nl/register/ (which is the generated HTML from a custom Drupal registration form). Quoting the id when referencing

  1   2   >