Re: [jQuery] Validation and AJAX forms

2010-03-23 Thread Steffan A. Cline
I've still not gone anywhere with this. Any suggestions? Thanks Steffan From: Steffan Cline stef...@hldns.com Reply-To: jquery-en@googlegroups.com Date: Mon, 22 Mar 2010 22:54:32 -0700 To: jquery-en@googlegroups.com jquery-en@googlegroups.com Subject: [jQuery] Validation and AJAX forms

[jQuery] Validation and AJAX forms

2010-03-22 Thread Steffan A. Cline
I'm tinkering with the jquery forms plugin with the validation plugin. I'm able to do some simple validations but I have some BIG forms that are loaded dynamically. I want to use the addClassRules() with the ajax but am unsure how to do it. Currently I have a multi tab form. The first tab is

[jQuery] Jquery Validation Email issue (validate)

2010-02-26 Thread MrChambers
It seems to be normal behaviour, but when using jquery's validate plugin my client was not happy the a single domain suffix character was enough to clear the valid email error. ie; tes...@googlemail.c would validate. To ensure that at least 2 characters had to be entered into the field to

[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] How to set errorContainer in jQuery validation dynamically?

2010-01-12 Thread John
Can I dynamically set errorContainer in jQuery validation, which means showing different error container base on the button clicked. I have posted question on stackoverflow http://stackoverflow.com/questions/2052200/how-to-set-errorcontainer-in-jquery-validation-dynamically

[jQuery] Validation

2010-01-12 Thread Seth
Hello, I'm using jquery with the form and validation plugins. I have this: script type=text/javascript $(document).ready(function() { $(#autoSumForm).validate({ rules: { p1001: {number: true},

[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] Jquery validation remote problem

2010-01-08 Thread Jeffrey
Hi, I'm using Jquery.validation to remotly test if an e-mail is already in use, it works fine, but... if i do a remote check, it returns the correct response e.g. some...@abc.com already in use but when i click on the field, and then somewere else the message changes to filename.php already in

[jQuery] Jquery Validation on Dropdown list Question

2010-01-08 Thread newbie198
How can I validate this as one hidden field.I have 3 dropbdown list month, day, year and I do not want to validate each separate on so I would like to combine the strings together and validate the hidden field. Pleas and thank you for your help. !-- DOB -- fieldset

[jQuery] Re: Jquery validation remote problem

2010-01-08 Thread Jeffrey
I figured something out.. in de js file of the validator is the next section: formatAndAdd: function( element, rule ) { var message = this.defaultMessage( element, rule.method ), theregex = /\$?\{(\d+)\}/g; if (

[jQuery] Validation on a Modal form does not work

2010-01-07 Thread Elan Noy
I have a modal form that I want to validate. The modal is based on the simple modal plugin and the validation is based on validation plugin. The validation works well on a regular (non modal) form. ANy ideas? script type=text/javascript jQuery.validator.addMethod(zip, function(value,

[jQuery] Validation rules using alert() instead of message text

2010-01-07 Thread jasonk
I have done a lot of searching for this answer but I can't quite find what I am looking for. I have a form with multiple fields - name, address, email, etc. When you make a field required or email you can specify the message to appear in a text summary or as text next to the field. What I would

Re: [jQuery] (validation): remote rule causes submit to abort, fix included

2009-12-30 Thread amschroeder
it included in the jquery validation package. I love this plugin and I appreciate all of the hard work that went into it. Many thanks, Adam KenGreer wrote: With the validation plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-validation/) I included two remote rules to check

[jQuery] I am using jQuery Validation and facing Stopping Script in IE7

2009-12-21 Thread csplrj
Scripts --- JQuery 1.2.6 JQuery Validation 1.5.5 URL: http://docs.jquery.com/Plugins/Validation I have a form and have provided the validation to that form using validator=jQuery(#xava_form).validate({ // the errorPlacement has to take the table layout

[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] (validation): remote rule causes submit to abort, fix included

2009-12-21 Thread KenGreer
With the validation plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-validation/) I included two remote rules to check username and e-mail. If my form is loaded such that the username and e- mail are already filled in, and, therefore, have not yet been validated, and I click SUBMIT,

Re: [jQuery] (validation): remote rule causes submit to abort, fix included

2009-12-21 Thread Jörn Zaefferer
The plugin will submit the form after the async request finishes. The remaining problem is that any submit-button won't be submitted. Maybe thats the problem you had? Jörn On Mon, Dec 21, 2009 at 8:15 AM, KenGreer k...@dancesoft.com wrote: With the validation plugin

Re: [jQuery] (validation): remote rule causes submit to abort, fix included

2009-12-21 Thread Andre Polykanine
...@dancesoft.com To: jQuery (English) jquery-en@googlegroups.com Date: Monday, December 21, 2009, 9:15:37 AM Subject: [jQuery] (validation): remote rule causes submit to abort, fix included With the validation plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-validation/) I included two remote rules

[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

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-15 Thread Leonardo K
Every input element is wrapped in a div with class 'rowElem'? So your errorPlacement should be something like this: errorPlacement: function(error, element) { $(element).closest('.rowElem').after(error); //the method closest get the closest parent with class rowElem }, On Mon, Dec 14,

[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: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-15 Thread Gian-ava
Leonardo, today you're my man! It finally worked! THAT was what I was looking for. I can't tell you how long I've been trying to achieve just that result, so you can't imagine how much I appreciate your help. Really, thanks! I actaully had found a workaround to place the error mesage with

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-15 Thread Gian-ava
Oh, for posterity, in case anybody else find this useful, here is the complete code that worked fine for me. $(document).ready(function(){ $('#actionform').validate({ errorPlacement: function(error, 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:need help with errorPlacement

2009-12-14 Thread Leonardo K
Try to use the debug:true option to find what's going on. Check if the form has the id=actionform. $('#actionform').validate({ debug:true, submitHandler: function(form) { $(form).ajaxSubmit({ success: function() { $('#actionform').hide();

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

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Gian-ava
Leonardo, thanks for your interest in my case. I've tried out the code with the debug option. I just don't know what the debug function will generate and where I need to look to see the result. Otherwise, again, your code doesn't get validation to work. This one do work:

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Leonardo K
The debug:true only work with firebug (extension for firefox). The messages will appear in console On Mon, Dec 14, 2009 at 11:50, Gian-ava b...@stylozero.com wrote: Leonardo, thanks for your interest in my case. I've tried out the code with the debug option. I just don't know what the debug

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-14 Thread Gian-ava
Leonardo, I see. Firebug' error console says: Error: missing ) after argument list Line: 8, Column: 12 Source Code: } Strange, since I don't think this is correct. Also, it says: Error: syntax error Line: 7, Column: 30 Source Code: errorPlacement: function(error, element) {

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-13 Thread Gian-ava
Oh c'mon, nobody who can helo me out with this? Nobody who can figure out how to code the right errorPlacement to place the error label where I need it? -- View this message in context: http://old.nabble.com/Validation-Plugin%3Aneed-help-with-errorPlacement-tp26719238s27240p26769256.html Sent

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-13 Thread Leonardo K
This should work: $(document).ready(function(){ $('#actionform').validate({ submitHandler: function(form) { $(form).ajaxSubmit({ success: function() { $('#actionform').hide(); $('#content').append(p

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-13 Thread Gian-ava
Hi Leonardo, Thanks for answering. Unfortunately, the validation doesn't work at all with the code you provided: the form is sent even if the required fields are empty. Any hint? Leonardo K wrote: This should work: $(document).ready(function(){ $('#actionform').validate({

[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

Re: [jQuery] [Validation]

2009-12-10 Thread Jörn Zaefferer
. Jörn On Wed, Dec 9, 2009 at 3:16 AM, SEMMatt2 mattluk...@gmail.com wrote: I saw the Marketo implementation of the Jquery Validation module at http://docs.jquery.com/Plugins/Validation and I really like it;specifically how it highlights the form fields and displays one simple message

[jQuery] [Validation]

2009-12-09 Thread SEMMatt2
I saw the Marketo implementation of the Jquery Validation module at http://docs.jquery.com/Plugins/Validation and I really like it;specifically how it highlights the form fields and displays one simple message at the top. In fact I would like to implement it on a Salesforce.com Web To Lead form

[jQuery] Validation Plugin:need help with errorPlacement

2009-12-09 Thread Gian-ava
Hi, I am using the Validation Plugin from Bassistance (by Jörn Zaefferer) and I need to append the error message after the div class=rowElem not after the input field. This is the HTML I get: div class=rowElem label class=align for=country style=cursor: pointer;Country/label

[jQuery] jQuery validation error: 'settings' is null or not an object

2009-12-08 Thread NovoGeek
Hi all, I'm using jQuery validation plugin and everything works fine in Firefox. But in IE (78), when I try to validate my form, I get the error - ['settings' is null or not an object]. I'm using simple rules like this: $(#FormID).validate({ rules

Re: [jQuery] jQuery validation error: 'settings' is null or not an object

2009-12-08 Thread Michael Geary
jQuery validation plugin and everything works fine in Firefox. But in IE (78), when I try to validate my form, I get the error - ['settings' is null or not an object]. I'm using simple rules like this: $(#FormID).validate({ rules: { FirstNameText:required

[jQuery] Validation help

2009-12-02 Thread Hidd3n
Hello, I wanted to ask something if anyone can help me. I searched everywere but couldnt find an answer. It's a simple function but for me its dificult because i started learning jquery 2 days ago.. I would like to ask if there is a way to put a validation on one simple input. I have a page and 2

[jQuery] validation method not working in ie

2009-11-27 Thread hcvitto
Hi i'm using the validation plugin on a form. I added three methods to check that three select value are not equal but it doesn't work in ie. here's the page http://www.fepgroup.it/community/registrati__.php Any idea why? Thanks Vittorio

[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

[jQuery] Validation Question

2009-11-24 Thread Dave Maharaj :: WidePixels.com
I submit my form , check valid, valid then away it goes. I was wondering 1 thing. I have $(this).validate(validate_awards); var valid = $(this).valid(); if (valid) { do my stuff } Now I have validate_awards which contains my rules for validation var validate_awards = {

[jQuery] validation by ID?

2009-11-24 Thread pcoder
Hi, I have having problem on validating the dynamic form. Can I do the validation by element ID rather than element NAME? Can I generate the validation rules by taking the element ID? I need your help guys. Thanks

Re: [jQuery] Validation Question

2009-11-24 Thread Jörn Zaefferer
Only fields present in the form are validated. Rules not matching any element are ignored, so yes, you can just merge those. Jörn On Wed, Nov 25, 2009 at 12:24 AM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I submit my form , check valid, valid then away it goes. I was

[jQuery] (validation) Validation remote not working in ie

2009-11-22 Thread mitstock
I have a form with validation remote. The form is loaded through ajax call. The remote validation works in Firefox, Opera and Chrome except IE. When I run it on IE, I can not submit the form, it throws an error: Message: Object doesn't support this property or method Line: 718 Char: 4 Code: 0

[jQuery] Validation remote not working in ie

2009-11-22 Thread mitstock
I have a form with validation remote. The form is loaded through ajax call. The remote validation works in Firefox, Opera and Chrome except IE. When I run it on IE, I can not submit the form, it throws an error: Message: Object doesn't support this property or method Line: 718 Char: 4 Code: 0

[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 error placement

2009-11-18 Thread Atkinson, Sarah
I am trying to put all my errors in a div that is the 3rd column. I then want to set there position so it is level with the element. But when I run it I get no error messages Here is my code: errorPlacement: function(error, element) { errordiv=$('.insidePage_error div');

Re: [jQuery] Validation error placement

2009-11-18 Thread Jörn Zaefferer
Take a look at the milk-demo here: http://jquery.bassistance.de/validate/demo/milk The messages are placed in the column next to the input element, that should be close to what you are looking for. Jörn 2009/11/18 Atkinson, Sarah sarah.atkin...@cookmedical.com I am trying to put all my errors

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
That's actualy what I was looking at... But I'm not using a table layout. So instead I want them to go into a special error div with class insidePage_error And so I got these 2 lines errordiv=$('.insidePage_error div'); error.appendTo(errordiv); I also tried

Re: [jQuery] Validation error placement

2009-11-18 Thread Jörn Zaefferer
Do you have only a single element? Then use the errorLabelContainer option. Or one for each input? Then you need to make that selector relative to the current input; currently you select the same div for each input. Jörn On Wed, Nov 18, 2009 at 7:29 PM, Atkinson, Sarah

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
Yes I have only one container Ok so I will use the errorLabelContainer Now after I do that can I use the offset to alter the css on each of the error labels to be equal to the offset of the offending element? Or should a create custom method that runs after validation runs repositions

Re: [jQuery] Validation error placement

2009-11-18 Thread Atkinson, Sarah
Ok so I switched to errorLabelContainer: .insidePage_error, But that div still isn't getting any errors into it. On 11/18/09 1:55 PM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Do you have only a single element? Then use the errorLabelContainer option. Or one for each input?

[jQuery] validation: how do I call a function to perform after a validation is done?

2009-11-18 Thread Atkinson, Sarah
Do I have to create a custom method and stick a function in there?

[jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
I'm working with the validation plugin I have a first name and last name field and I want to have these grouped together with one message. This is what I have: But the message still isn't showing. groups: {fullName: firstname lastName,

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Jörn Zaefferer
You need to specify the rules for each individual field, here firstname and lastName. The group name doesn't have any meaning outside the groups-option itself. Jörn On Tue, Nov 17, 2009 at 4:23 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: I’m working with the validation plugin

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Atkinson, Sarah
So what exactly does the group option do? On 11/17/09 10:30 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You need to specify the rules for each individual field, here firstname and lastName. The group name doesn't have any meaning outside the groups-option itself. Jörn On Tue,

Re: [jQuery] Validation (groups, rules and messages)

2009-11-17 Thread Jörn Zaefferer
It affects the message display, producing only a single error label for a given group. Jörn On Tue, Nov 17, 2009 at 4:35 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: So what exactly does the group option do? On 11/17/09 10:30 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com

[jQuery] Validation and dropdowns

2009-11-17 Thread Atkinson, Sarah
I have several dropdowns in my form. They start on a please select one state. How do I make it so that if one of these is selected then it does not trigger validation but kicks back an error? Sarah

Re: [jQuery] Validation and dropdowns

2009-11-17 Thread Jörn Zaefferer
Set the field as required and provide value= on the default option: select class=requiredoption value=Please.../optionoption value=.../option/select Jörn On Tue, Nov 17, 2009 at 7:57 PM, Atkinson, Sarah sarah.atkin...@cookmedical.com wrote: I have several dropdowns in my form. They start

Re: [jQuery] Validation

2009-11-16 Thread Leonardo K
You dont need to submit again inside the submitHandler function. $(form#send_gb).validate({ submitHandler: function(form) { var gb_post = $(#gb_post).attr(value); var userid = $(#userid).attr(value); var ownerid = $(#ownerid).attr(value); $.ajax({

[jQuery] Validation Help A Noobie Out

2009-11-16 Thread iamjon
Hi everyone, I have a form that is being validated with the Jquery Validation Plugin. I have managed to get a central message Please Recheck the form, and to have the input focus on the first error. (Although, Im not too sure the input is working) To get this, I had to override the default message

[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

2009-11-15 Thread Jojje
Hi, i cant figure this one out!!! I´m using the validation plugin and want to validate a form to a guestbook. Im using ajax to post the message . the problem is that when i submit the form the first time it´s fine, but the second time it posts twice, and the third time it posts three times, and

[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

Re: [jQuery] (validation) Validation plugin submitHandler

2009-11-12 Thread Jörn Zaefferer
Use a different name for the submit-button. Using name=submit you override the actual submit-function of the form. Keep in mind that in the DOM API, you can access any form element as a property of the form, referenced by name. Jörn On Thu, Nov 12, 2009 at 8:48 PM, mcrawford mcrawf...@gmail.com

[jQuery] JQuery validation plugin - error highlight problem

2009-11-10 Thread narasimhagm
I have a form with two input textboxes, and I have included JQuery validation rules for both: script src=../../Scripts/jquery-validate/jquery.validate.js type=text/javascript/script script type=text/javascript $(document).ready(function

[jQuery] Validation Remote Question

2009-11-09 Thread Dave Maharaj :: WidePixels.com
Can you set required as remote? For example I have a year field where the server validates the rules, 4 numeric characters, required. But rather then having to put the rules for every field in the js required: true, number: true, maxlength 4, minlength:4 that are duplicates the the server

[jQuery] jquery validation is broken that was working before

2009-11-04 Thread taza
Hi, I have used jquery.validation before without any issues. I have included the jquery validation javascript in the header and this test link does not work for some reason - http://dev.ntroduction.com/?page=step3 The validation code is called before the form as I have done else where

Re: [jQuery] jQuery Validation request

2009-11-04 Thread Karl Swedberg
On Nov 4, 2009, at 12:07 AM, NathanHuang wrote: Hi all Who can tell me how to unsubscribe this mailling list? I'm gonna use another account for this mailing list. thanks -- View this message in context: http://old.nabble.com/jQuery-Validation-request-tp25995270s27240p26160052.html Sent from

Re: [jQuery] jQuery Validation request

2009-11-03 Thread Bart van Uden
is a comma, and I can use comma's for validating the max value of a field. Could someone please make an addon like numberDE for max? So i can check comma's. Thanks! Richard -- View this message in context: http://old.nabble.com/jQuery-Validation-request-tp25995270s27240p26160052.html Sent

Re: [jQuery] jQuery Validation request

2009-11-03 Thread NathanHuang
Hi all Who can tell me how to unsubscribe this mailling list? I'm gonna use another account for this mailing list. thanks -- View this message in context: http://old.nabble.com/jQuery-Validation-request-tp25995270s27240p26160052.html Sent from the jQuery General Discussion mailing list

[jQuery] jQuery validation plug-in 1.5.5

2009-10-28 Thread jquery Noob
Hi, why jQuery validation plug-in 1.5.5 don't work with FireFox version 3.5.4?

[jQuery] Validation

2009-10-27 Thread Ryan
I have seriously been fighting this issue for hours. I would appreciate some advice when someone gets a chance. I am wanting to check my database to determine if this user already exists. I thought I could just add the method to the validation. Evidently I'm doing something wrong. Here is the

[jQuery] Re: jQuery validation and error messages

2009-10-21 Thread jonem
This works for me. http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Vary simple if you take the time to read docs. /jon On Oct 21, 5:41 am, Bi Jing beco...@gmail.com wrote: You can set id attribute of p element, e.g. username_desc And then using following script, if(success){

[jQuery] jQuery Validation - ajax check for email

2009-10-21 Thread Samuurai
Hi, This is my first attempt at using addMethod and it's always returning true, for some reason. This is placed outside of document.ready jQuery.validator.addMethod(checkemail, function(email) { var email = $('#email').val(); $.post(user/checkemail, { email : email },

[jQuery] Re: jQuery Validation - ajax check for email

2009-10-21 Thread Jörn Zaefferer
The method has to return something else then undefined. You can use the remote-method instead, it allows you to do remote checks: http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn On Wed, Oct 21, 2009 at 2:12 PM, Samuurai djbe...@gmail.com wrote: Hi, This is my first attempt at

[jQuery] Re: jQuery Validation - ajax check for email

2009-10-21 Thread Samuurai
Fantastic!!! I got it working.. my first ever ajax request.. :P Thanks Jorn for this great plugin. For other readers, have your remote script return true or false - no need for JSON. Here's my working code. rules:{ email: { required: true, email: true,

[jQuery] jQuery Validation request

2009-10-21 Thread Richard
Hi, I was working with validation, but am having problems using the method max for maximal numbers. I live in Holland and for us the decimal character is a comma, and I can use comma's for validating the max value of a field. Could someone please make an addon like numberDE for max? So i can

[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] Re: jQuery validation and error messages

2009-10-21 Thread talasan.nichol...@gmail.com
Is this on submit or live? I don't see how I'd use that. On Oct 20, 10:41 pm, Bi Jing beco...@gmail.com wrote: You can set id attribute of p element, e.g. username_desc And then using following script, if(success){ $(#username_desc).html('default msg');}else{ $(#username_desc).html('error

[jQuery] Re: jQuery validation and error messages

2009-10-21 Thread talasan.nichol...@gmail.com
Err. This was directed towards the if and else JS. I'm already using the jQuery validator; and I've been through the docs and can't find anything that would really do what I want it to. The label will change, but I also need another element to change [the fields description] So the example

[jQuery] Re: jQuery validation and error messages

2009-10-21 Thread Bi Jing
Its depending on your requirement, normally it should on onblur event. On Thu, Oct 22, 2009 at 10:27 AM, talasan.nichol...@gmail.com talasan.nichol...@gmail.com wrote: Is this on submit or live? I don't see how I'd use that. On Oct 20, 10:41 pm, Bi Jing beco...@gmail.com wrote: You can

[jQuery] jQuery validation and error messages

2009-10-20 Thread talasan.nichol...@gmail.com
I don't really know where to start on this, but I need to take a form like: input name=username type=text id=username / pinput description/p And put an icon [the error label] next to input on success or fail; but also change the p's text on success or fail. So a fail would change the message

[jQuery] Re: jQuery validation and error messages

2009-10-20 Thread Bi Jing
You can set id attribute of p element, e.g. username_desc And then using following script, if(success){ $(#username_desc).html('default msg'); }else{ $(#username_desc).html('error msg'); } Or you can add a new p used to show error message, toggle it between default p on your validation result.

[jQuery] Re: jquery validation using thickbox

2009-10-19 Thread Phill Pafford
Try this link: http://stackoverflow.com/questions/786332/jquery-validation-not-working-in-thickbox-display-ajax-call Also you could just post the question on StackOverFlow.com There are lots of jQuery experts to help and the response time is awsome. --Phill Mattycrocks wrote: I've

[jQuery] Re: jquery validation using thickbox

2009-10-19 Thread Mattycrocks
to bother you but I am not able to solve this problem so posting in forum I am using two jquery plugin 1 Thickbox 2 Jquery validation Without thickbox validation is working fine but validation is not working in thickbox. There is two files ajaxLogin.htm and second is index.html

[jQuery] Validation: Server side generated errorLabelContainer

2009-10-16 Thread Bjorn
Hi, to double check the user input I also do a server side validation. The result of that validation is represented as an errorLabelContainer that is generated by the validation plugin: an ul-container with li- label children. My problem is that when the inputs are updated by the user the

[jQuery] validation on multiple text inputs on button click

2009-10-15 Thread jackkit...@gmail.com
Hi All Was wondering if anyone could help me on this problem i am having. I have a form which contains a foreach loop and this loop outputs as many generated input fields as there is data in the database. My jQuery validation on submit is only seeming to validate the first input box

[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] Validation on a button click, Validation to check many inputs with same class

2009-10-14 Thread jackkit...@gmail.com
Hi all I was wondering if someone could please help me with the jquery validation. I have a foreach loop that creates many input text rows and i would like jquery validation to check on button click if each of the input boxes meets the requirements. Right now on button click it is only checking

[jQuery] Validation: Form with multiple submit buttons having different validation rules

2009-10-02 Thread NovoGeek
Hi all, I tried searching for similar issues but couldn't find a satisfying answer. So posting it here. I have a form with multiple fieldsets which are visible conditionally. There are three submit buttons Abandon, Save and Save Continue. Each button should validate specific controls of the form

[jQuery] Validation help needed

2009-10-02 Thread coachz
when i run this.submit(); i submit my ajax request, so how can i get the validate to fire on invalidHandler and submitHandler so I will only run this.submit(); when it passes validation ? Currently the validator does not validate the form at all on submit, I need it to cancel the submit if

  1   2   3   4   5   6   >