[jQuery] jquery validation

2008-12-19 Thread Baki
How can i add ID="error" instead of a class using jquery. Also is there a way to say that "you must uncheck the box before submitting the form. Im using http://jquery.bassistance.de/validate/demo/milk/ as an example. Also is there a way to use jquery to show/hide passwords, i done it using js b

[jQuery] Re: Jquery Validation always not showing correct error message

2008-12-17 Thread Jörn Zaefferer
Are you using the latest release? Adding messages via rules() has been added only recently. Otherwise I'd need a testpage to look at. Jörn On Wed, Dec 17, 2008 at 9:09 PM, kayode81un...@gmail.com wrote: > > My Jquery validator refuses to show the correct error message but > rather the default e

[jQuery] Jquery Validation always not showing correct error message

2008-12-17 Thread kayode81un...@gmail.com
My Jquery validator refuses to show the correct error message but rather the default error message every time the validation fails. I am doing 3 things. First $.validator.addMethod("regexValidator0", function(value) { return /^\(?\b([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9] {4})\b$/

[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] Re: jquery validation

2008-12-15 Thread Caleb Morse
The validator plugin needs a unique name attribute for every field. Otherwise it will only validate the first occurrence of the name. So you would need something like: And so on. -- Caleb On Sun, Dec 14, 2008 at 21:02, Adwin Wijaya wrote: > > I am using jquery validatio

[jQuery] jquery validation

2008-12-14 Thread Adwin Wijaya
I am using jquery validation from bassistance.de I have problem with dynamic forms which have same input name. (i know the demo has one dynamic form, but they have unique name) this is the example how to validate each fields ? it seems it only validate the first one and ignore the

[jQuery] validation remote

2008-12-14 Thread kemalemin
Hi, my validation summary worked quite fine before I made a remote username check available to it. The problem is when for the first time an already existing username is entered into the username box, the error div pops alright saying that the username already exists in the db. however when I go b

[jQuery] [VALIDATION] Fields not updating numberOfInvalids count

2008-12-13 Thread Jet
Hi, It's kind of difficult for me to explain for English is not my native language. I'll explain it briefly and refer you to the actual page. If the 'Rule' for a field has a "Required" attribute and with or without any other attributes, then it works fine. But when a field has any other 'Rules

[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] [validate] - form submission in IE even after jquery validation failure

2008-12-10 Thread Santo
Hello Jörn This is regarding an erroneous behavior of the form in IE. My form used widgets in it. With FF when I submit the form after inputting an invalida value for say a url class. The form does not submit due to the validation failure as the case should be. But the s

[jQuery] Re: JQuery Validation Dynamic updates

2008-12-10 Thread Jörn Zaefferer
Metadata is read only once, then cached. In this case, you should use the rules method to update: http://docs.jquery.com/Plugins/Validation/rules Jörn On Tue, Dec 9, 2008 at 11:04 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have javascript code that alters the values inside the valida

[jQuery] JQuery Validation Dynamic updates

2008-12-09 Thread [EMAIL PROTECTED]
I have javascript code that alters the values inside the validate attribute set on a ui element. An example of what I change is validate="required:true, messages{required:'Please give a value}" to validate="required:true,messages{required:'Give a different value'}". This is changed via javascrip

[jQuery] Re: ask : jquery validation plugins not working

2008-12-04 Thread Adwin Wijaya
and all of it I set as > > > > required. Actually I generated the form using database, not by hand :) > > > > > each input has unique id (generated by server). > > > > > at the moment, the validation wont work on all field, it just detect > > > > the

[jQuery] Re: jquery validation and disabled elements

2008-12-03 Thread Jörn Zaefferer
Usually via ignore: ":disabled". Jörn On Wed, Dec 3, 2008 at 5:29 PM, Jan Limpens <[EMAIL PROTECTED]> wrote: > > How can I tell the bassistence validator to ignore disabled inputs? > > I have ui.tabs, and only the selected tab's controls are enabled. > I want validation to fire only at them. > >

[jQuery] jquery validation and disabled elements

2008-12-03 Thread Jan Limpens
How can I tell the bassistence validator to ignore disabled inputs? I have ui.tabs, and only the selected tab's controls are enabled. I want validation to fire only at them. -- Jan

[jQuery] Re: ask : jquery validation plugins not working

2008-12-03 Thread ksun
t I set as > > > required. Actually I generated the form using database, not by hand :) > > > > each input has unique id (generated by server). > > > > at the moment, the validation wont work on all field, it just detect > > > the first fields ... (eg:

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread Adwin Wijaya
ed. Actually I generated the form using database, not by hand :) > > > each input has unique id (generated by server). > > > at the moment, the validation wont work on all field, it just detect > > the first fields ... (eg: houseHoldExpfood, expPerson1food, > > expPerson2food

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread ksun
all of it I set as > > required. Actually I generated the form using database, not by hand :) > > > each input has unique id (generated by server). > > > at the moment, the validation wont work on all field, it just detect > > the first fields ... (eg: houseHoldExpfood, expP

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread Jörn Zaefferer
:) > > each input has unique id (generated by server). > > at the moment, the validation wont work on all field, it just detect > the first fields ... (eg: houseHoldExpfood, expPerson1food, > expPerson2food) .. but ignored another fields. > > is this jquery validation bug ? &

[jQuery] ask : jquery validation plugins not working

2008-12-01 Thread Adwin Wijaya
... (eg: houseHoldExpfood, expPerson1food, expPerson2food) .. but ignored another fields. is this jquery validation bug ? here is My javascript code: $(document).ready(function(){ $('#householdBudgetForm').validate({ errorLabelContainer: $('#househol

[jQuery] Re: jquery validation trailing comma error

2008-12-01 Thread Jörn Zaefferer
Can you provide a testpage? Jörn On Mon, Dec 1, 2008 at 2:47 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hey guys, > i read about that trailing comma error in several other posts, but i > just can't fix that problem. IE7 still submits the form even if the > required fields are empty. > >

[jQuery] validation: show only certain errors messages

2008-12-01 Thread dmikester1
I am using the validation plugin. Very cool! I want it to only display the specific error the my email input and for nothing else. I just have a summary of "X errors" at the top and each field is highlighted yellow and bordered red. How can I have it only show the specific error for the email

[jQuery] jquery validation trailing comma error

2008-12-01 Thread [EMAIL PROTECTED]
Hey guys, i read about that trailing comma error in several other posts, but i just can't fix that problem. IE7 still submits the form even if the required fields are empty. Here's my jquery code: Hope you can help me. thanks in advance. var validator = $("#adventsform").validate({

[jQuery] Validation

2008-11-27 Thread Fledder
hi, I'm using the jQuery Validation plugin for a big project and I'm loving it. I am however getting desperate trying to solve a particular issue. I've hunted for a solution for days now and tried everything I could think of, but it seems I coded myself into a deadlock. I'm h

[jQuery] jQuery Validation

2008-11-20 Thread Gal
Hi, I'm trying to add new rule to the validation plug in, so far with a little success. I want to use the validation against 2 text boxes, and compare them to each other. The values must be numbers only and the first textbox value number should by smaller than the other one. How can I accomplish i

[jQuery] Re: jquery validation

2008-11-19 Thread Leandro Medeiros
Hi, my name is Leandro. Take a look on my site, i used a plugin, jquery validate a form and I belive it's possible to combinate with effects. However, visit the site of the plugin's developer, he can help you more. my site: http://leandromedeiros.com plugin: http://bassistance.de/jquery-plugins/

[jQuery] Re: jquery validation

2008-11-19 Thread Jörn Zaefferer
Animations currently aren't supported, and while on the roadmap, nothing that will land in the near future. Jörn On Wed, Nov 19, 2008 at 2:33 PM, raj <[EMAIL PROTECTED]> wrote: > > Hi > > JQuery validations is very good work. > > i need how to display the error messages using effects(like fadein

[jQuery] jquery validation

2008-11-19 Thread raj
Hi JQuery validations is very good work. i need how to display the error messages using effects(like fadein and fadeout) it is very urgent kindly help me thanks for advance

[jQuery] [ANNOUNCE] jQuery Validation credit card validation extension

2008-11-17 Thread Jack Killpatrick
Hi All, We've (my company) released a new credit card validation extension for the jQuery Validation plugin. It allows you to pass in the type of credit card being used, which therefore allows the validation routine to provide a more thorough validation. The prefix and length of the

[jQuery] Re: jquery validation: manually set the form validity state?

2008-11-07 Thread kedr
Would using resetForm() help me in any way? On Nov 6, 3:11 pm, kedr <[EMAIL PROTECTED]> wrote: > I have a form that is split into 3 different tabs. You can only move > to the next tab if the part of the form on the current tab is valid. I > have 3 separate validator code sections each with their

[jQuery] jquery validation: manually set the form validity state?

2008-11-06 Thread kedr
I have a form that is split into 3 different tabs. You can only move to the next tab if the part of the form on the current tab is valid. I have 3 separate validator code sections each with their own rules and messages. I attach an onclick handler to the custom button to return ('#myForm').validat

[jQuery] Re: jquery validation unhighlight issue

2008-11-06 Thread Jörn Zaefferer
unhighlight: function(element, errorClass) { >$(element.form).find('label[for=' + element.id > + > ']').removeClass(errorClass); >} >}); > > and my html: > > > *Pr

[jQuery] jquery validation unhighlight issue

2008-11-05 Thread kedr
unhighlight: function(element, errorClass) { $(element.form).find('label[for=' + element.id + ']').removeClass(errorClass); } }); and my html: *Prefix: *Name: and I am using jquery 1.2.6 with jquery v

[jQuery] problems with unhighlight of error labels with jquery validation 1.4

2008-11-05 Thread kedr
unhighlight: function(element, errorClass) { $(element.form).find('label[for=' + element.id + ']').removeClass(errorClass); } }); and my html: *Prefix: *Name: and I am using jquery 1.2.6 with jquery v

[jQuery] Validation Problem with Opera 9.5+

2008-10-31 Thread Nimrod
Hi All, I have created a contact form here: http://test.fibranet-services.com/bunnymelody/dev/contact.asp It is working well in IE6 , IE7 and FF3 but I am having problem with Opera 9.5+. It's seems that Opera didn't recognize the validation rules that I put in the form. Can somebody help me wi

[jQuery] Validation: AJAX-based without "remote"?

2008-10-30 Thread w1ntermut3
Hi, I need to do some AJAX-based validation to check that the email address entered isn't in the database already, but only if the "I am a new user" radio button has been checked. I know that the Validation plugin has a "remote" rule, and rules that can validate one element based on the value of

[jQuery] validation - how do I validate a hidden value against a radio box selection?

2008-10-27 Thread spellingcity
Hey All, Looking for some help... I have a form with 2 radio buttons. If one is selected, than the user has to make another selection which puts data into a hidden field on the form. I the second button is selected, no data is necessary in the hidden field. I can't figure out the best way to

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

2008-10-16 Thread Namrasit
} }); }); Login: checklogin.phtml : valid; ?> Why the remote validation still dosen't work? I don't know what insert into remote function. Please help. David On Oct 16, 5:58 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]&

[jQuery] [Validation] DOM changes, adding validation rules to new objects

2008-10-16 Thread Mike
Hi Jörn, Brilliant plug-in, it may be that I can do what I need to but i can't seem to make it work. I'm building a form with lots of fields, after the DOM is ready I then bind the validation rules for the known fields. I then have functionality which allows the user to add new fields, table r

[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 dos

[jQuery] [Validation] required dependency issue

2008-10-16 Thread w1ntermut3
Hi, Trying to use the validation plugin (http://docs.jquery.com/Plugins/ Validation) to manage the following: Either a radio button must be checked, or something must be in the text box. If no radio button is checked and nothing is typed in the text box, I need an error message. If a radio

[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 contr

[jQuery] Re: jquery validation using thickbox

2008-10-16 Thread Jörn Zaefferer
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] jquery validation using thickbox

2008-10-15 Thread bookme
Hi, Sorry 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 - stop validation

2008-10-15 Thread EbenRoux
Hello, Is it possible to stop the validation on a form after X number of errors? If I have a form with 100 textboxes and each fails it becomes a mess --- I would like to maybe list the first 5 errors and on the sixth say something like "There are more errrors". Regards, Eben

[jQuery] validation works in FF, but not in IE??

2008-10-14 Thread [EMAIL PROTECTED]
Hi, i use the validation plugin form http://docs.jquery.com/Plugins/Validation All works perfect, i thought. With Firefox it works really perfect, but when i change to explorer mode, there is no validation at all? Spent all evening to this problem, but really cant find out why its not working

[jQuery] Re: jquery validation

2008-10-13 Thread bookme
Thanks Eric !! There is two files ajaxLogin.htm and second is index.html ajaxLogin.htm : $(document).ready(function() { // validate signup form on keyup and submit var validator = $("#signupform").validate({ rules: { password: {

[jQuery] Re: jquery validation

2008-10-13 Thread Eric
oops. forgot link to Validation documentation: http://docs.jquery.com/Plugins/Validation/Methods/equalTo On Oct 13, 2:08 pm, Eric <[EMAIL PROTECTED]> wrote: > As described in this section of the Validation documentation, > 'equalTo:' takes an expression which relates to another element, and > i

[jQuery] Re: jquery validation

2008-10-13 Thread Eric
As described in this section of the Validation documentation, 'equalTo:' takes an expression which relates to another element, and it goes inside the 'rules:' object in the options. You seem to be describing the messages below. Where is your code that defines the rules? May I recommend posting y

[jQuery] Re: jquery validation

2008-10-13 Thread bookme
Hi Eric! "data[User][password]": { required: "Provide a password", rangelength: jQuery.format("Enter at least {0} characters") }, "data[User][password2]": {

[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: and the following code making sure that only 3 can be chosen: $(document).ready(function() { $('#fQuestionnaire1').validate({ rules: { q

[jQuery] Re: jquery validation

2008-10-12 Thread bookme
required: true, > >minlength: 2, > >remote: "users.php" > >} > > > }); > > > HTML : > value="" maxlength="50" /> > > > When I am using data[U

[jQuery] Re: jquery validation

2008-10-12 Thread Eric
t; > >                                minlength: 2, > > >                                remote: "users.php" > > >                        } > > > > }); > > > > HTML : > > value="" maxlength="50" /> > > > &

[jQuery] Re: jquery validation

2008-10-12 Thread Jörn Zaefferer
remote: "users.php" >} > > }); > > HTML : value="" maxlength="50" /> > > When I am using data[User][username] as a filed name in jquery > validation, it's not working but in case of other name like

[jQuery] change filedname from ID in jquery validation plugin

2008-10-12 Thread bookme
ired: true, minlength: 2, remote: "users.php" } }); HTML : When I am using data[User][username] as a filed name in jquery validation, it's not working but in case of other name like username it's workin

[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] jquery validation

2008-10-12 Thread bookme
ired: true, minlength: 2, remote: "users.php" } }); HTML : When I am using data[User][username] as a filed name in jquery validation, it's not working but in case of other name like username it's workin

[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

[jQuery] [validation] Validate on dynamic loaded forms?

2008-10-09 Thread jonr
This does not work: $(document).ready(function() { $("#menu_move_eq").click( function() { $(".hiddenform").hide(); $("#movebox").show(); }) $("#menu_new_equipment").click( function() { $(".hiddenfor

[jQuery] [Validation] Splitting rules and messages across multiple pages

2008-10-08 Thread dl
I saw a post about someone trying to spread rules across multiple pages. The person was told to add rules dynamically, but there's no way to add messages dynamically. I'm wondering what you guys think about this approach. I had a situation where I wanted to reuse part of a form. I think this i

[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 em

[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.", equa

[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 obbliga

[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] JQuery Validation Script within a Step Wizard Script

2008-10-01 Thread dotcomtim
I like to incorporate the Validation scripting into a Step Wizard http://worcesterwideweb.com/jquery/wizard/; I got it pretty much licked except the section where it only validates the available step and ignores the others. I pretty much followed the same layout as in this demo > http://jquery.ba

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-01 Thread Jörn Zaefferer
Could you reduce your non-working testpage to just one non-working element? I still can't see the issue. The validation seems to work just fine. Jörn On Wed, Oct 1, 2008 at 11:57 PM, Jeroen Coumans <[EMAIL PROTECTED]> wrote: > > Ok, I've further debugged this, trying to find the exact circumstanc

[jQuery] Re: Should not trim the values in jquery validation

2008-10-01 Thread ♨Sutra
What about adding a valueFilter to replace the trim function. Code fragment: - var result = $.validator.methods[method].call( this, $.trim(element.value), element, rule.parameters ); + var result = jQuery.validator.meth

[jQuery] Re: jQuery validation plugin in Drupal

2008-10-01 Thread Jeroen Coumans
Ok, I've further debugged this, trying to find the exact circumstances in which the validator doesn't work. Now I noticed that the values of the name and id attributes of input fields aren't the same. I've created a fixed version: http://lab.jeroencoumans.nl/register/index-fixed-name.html And no

[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 referencin

[jQuery] Validation regarding Jquery

2008-10-01 Thread surya
Hi, Small doubt regarding jquery. I am getting the jquery messages as the no.of times I clicked the update button of my form. In detail, When i pressed the update button of my form, i am getting the validation message beside the textbox. But when i pressed the update button one more tim

[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 messages repeating

2008-10-01 Thread Jörn Zaefferer
Could you post a testpage? Jörn On Wed, Oct 1, 2008 at 8:30 AM, prakash matte <[EMAIL PROTECTED]> wrote: > > When i press the submit button of a form, it is showing the > corresponding error message by the side of the text field. But when i > press the submit button again, the error message is g

[jQuery] Jquery validation messages repeating

2008-10-01 Thread prakash matte
When i press the submit button of a form, it is showing the corresponding error message by the side of the text field. But when i press the submit button again, the error message is getting concatenated with the older one and getting displayed (means it is displaying that many times the submit bu

[jQuery] Re: jQuery validation plugin in Drupal

2008-09-30 Thread Jeroen Coumans
Could it have something to do with the fact that each id starts with "edit-"? When I try it with manually created markup, changing or removing the dashes doesn't help, but removing the "edit-" part does. Is there a workaround possible? Thanks, Jeroen On 29 sep, 00:06, Jeroen Coumans <[EMAIL PRO

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-28 Thread Jeroen Coumans
Hi, I've uploaded the form with the generated HTML markup at: http://lab.jeroencoumans.nl/register/ Thanks a lot, Jeroen On 27 sep, 13:26, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Yes, an example would help a lot. > > Jörn > > On Sat, Sep 27, 2008 at 12:45 PM, Jeroen Coumans > > <[EMAIL PR

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-27 Thread Jörn Zaefferer
Yes, an example would help a lot. Jörn On Sat, Sep 27, 2008 at 12:45 PM, Jeroen Coumans <[EMAIL PROTECTED]> wrote: > > Thanks, I tried that but it doesn't seem to work. Drupal applies the > classes "required" to required form fields, and they're picked up > correctly. But any rule I add doesn't w

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-27 Thread Jeroen Coumans
Thanks, I tried that but it doesn't seem to work. Drupal applies the classes "required" to required form fields, and they're picked up correctly. But any rule I add doesn't work at all. Even a single rule to make an extra field required doesn't get picked up. Would it help if I setup an example o

[jQuery] Re: [validate] jQuery validation plugin in Drupal

2008-09-26 Thread Jörn Zaefferer
Yes, details can be found here: http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Sat, Sep 27, 2008 at 2:34 AM, Jeroen Coumans <[EMAIL PROTECTED]> wrote: > > Hi, > > When trying to use the validator plugin, I get the following error: > >

[jQuery] [validate] jQuery validation plugin in Drupal

2008-09-26 Thread Jeroen Coumans
Hi, When trying to use the validator plugin, I get the following error: missing : after property id edit-name: "required", It seems like it has problems with the "-" that Drupal puts in the id's of each form field. Is there a workaround possible? Thanks, Jeroen Coumans

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

2008-09-25 Thread Adam
I'm trying to validate that someone has selected a file for upload before submitting a form. I set the required class on the input element, but it's not being validated. The regular text input is validated, however. Title:

[jQuery] Validation plug-in - how to set russian messages for all

2008-09-25 Thread matma
Hi, I'm using validation plug-in in our application for customers from Russia. I need to set russian messages for all customers from all places in the world. How can i do that? Messages are in "localzation/ messages_ru.js". Regards Mateusz Wolsza

[jQuery] Re: jQuery validation use different event for differernt input

2008-09-18 Thread Jörn Zaefferer
Disable the event handling and add manual validation to the username field: $(...).validate({ onkeyup: false, onfocusout: false }); $("#username").blur(function() { $(this).valid(); }); Jörn 2008/9/18 Jacky <[EMAIL PROTECTED]>: > Hi all, > Some question on the validation plugin. > Say ther

[jQuery] jQuery validation use different event for differernt input

2008-09-17 Thread Jacky
Hi all, Some question on the validation plugin. Say there are 3 fields, and the first one is user name.I want to check the availability of the user name on focusout using 'remote'. But for the rest of the fields, only validate when user clicking submit button. Can I do that? -- Best Regards, Ja

[jQuery] Re: jQuery Validation Errors

2008-09-17 Thread GregWa
I apologize, I am incorrect. It has to do with trying to switch the name attribute on radio buttons in IE. If you do so the plugin will error. The reason I was trying to change the name attribute is due to a problem in ASP.Net that will mangle the name when used in things like repeaters/listviews.

[jQuery] Re: jQuery Validation Errors

2008-09-17 Thread Jörn Zaefferer
Well, the documentation is a wiki, you're welcome to help improving it. If you aren't sure about a change you make, notify me or others about the change by posting to the list. If you think its a bug in the plugin, please create a ticket: http://dev.jquery.com/newticket (requires registration) Jö

[jQuery] Re: jQuery Validation Errors

2008-09-17 Thread GregWa
I figured out the problem. In IE, if you have not set a class, even an empty class would suffice (class=""), it will throw that error. I never saw this in the documentation, which I feel could use some work as is to be clearer. As such, I am not sure whether this is a known problem or coding prob

[jQuery] Validation class question

2008-09-13 Thread flycast
I am using the validate plugin. I have the following input that is required: Last: When the field is satisfied I want the required class to be changed to "satisfied" class so I can make it display differently. If the field is required then I want itr displayed red, if it has met the validate r

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

2008-09-09 Thread Bill
://beckelman.net/post/2008/09/08/Client-Side-Validating-Bulk-Insert-With-jQuery-Validation-Plugin.aspx and a demo at http://beckelman.net/Demos/jQueryValidateDDLAndTBCombo/Default.aspx. Has anyone run across this problem? I am using: jQuery 1.2.6 jQuery validation plug-in 1.4 Thank you.

[jQuery] [Validation plugin] Checkbox array problem

2008-09-04 Thread nonsense
Hi, I'm using Validation plugin (http://docs.jquery.com/Plugins/ Validation) and I want to use it to check whether at least one checkbox is checked. Validating for one checkbox is working fine, but not for group. HTML code: I tried to add "category[]: required" to rules but no success. Coul

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-03 Thread Andy
to the server? To a validation method? > > Jörn > > On Wed, Sep 3, 2008 at 1:15 PM, Andy <[EMAIL PROTECTED]> wrote: > > > Hi Jorn, thanks for replying > > > What i meant was, if for example, an a'ddress' textarea, users will > > input his address an

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-03 Thread Jörn Zaefferer
ple, an a'ddress' textarea, users will > input his address and there will must be newline(\n) character there. > It's validated for sure with jquery validation plugin but it doesnt > seem to send the value in the textarea, as it is read as " " not as > &quo

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-03 Thread Andy
Hi Jorn, thanks for replying What i meant was, if for example, an a'ddress' textarea, users will input his address and there will must be newline(\n) character there. It's validated for sure with jquery validation plugin but it doesnt seem to send the value in the textarea, a

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-03 Thread Jörn Zaefferer
The required method uses $.trim on the value first, before checking the length. \n is considered whitespace and therefore ignored. So a textarea that contains nothing but \n is invalid for the required method. Does that answer your question? Jörn On Tue, Sep 2, 2008 at 7:01 PM, Andy <[EMAIL PROT

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread Andy
I mean is it suppporting the newline (\n) character to be validated before passed through to another page? because mine doesnt seem to work On Sep 2, 11:55 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Work? Like submitting the form when pressing enter in a textarea? How > is that related

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread Jörn Zaefferer
Work? Like submitting the form when pressing enter in a textarea? How is that related to the validation? Jörn On Tue, Sep 2, 2008 at 6:44 PM, Andy <[EMAIL PROTECTED]> wrote: > > If users press or newline on textareas it doesnt seem work > > > > > > > > On Sep 2, 10:47 pm, andy prasetyo <[EMAIL P

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread Andy
If users press or newline on textareas it doesnt seem work On Sep 2, 10:47 pm, andy prasetyo <[EMAIL PROTECTED]> wrote: > Ok, Jorn here it is > :http://d661480.u34.strictlywebhosting.com/register.html..really > appreciate your help and guidance > > Thanks > > On Sep 2, 10:40 pm, andy pras

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread andy prasetyo
Ok, Jorn here it is : http://d661480.u34.strictlywebhosting.com/register.html..really appreciate your help and guidance Thanks On Sep 2, 10:40 pm, andy prasetyo <[EMAIL PROTECTED]> wrote: > ok one min let me upload..it doesnt seem to pass the value if i use \n > (newline) > > On Sep 2, 10:17 pm

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread Jörn Zaefferer
Please stick with the mailing list and fix your own code first - the page just submits, even with the form being validated and marked as valid. Jörn On Tue, Sep 2, 2008 at 5:40 PM, andy prasetyo <[EMAIL PROTECTED]> wrote: > > ok one min let me upload..it doesnt seem to pass the value if i use \n

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread andy prasetyo
ok one min let me upload..it doesnt seem to pass the value if i use \n (newline) On Sep 2, 10:17 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Could you be more specific, eg. provide a testpage? > > Jörn > > On Tue, Sep 2, 2008 at 2:05 PM, andy prasetyo <[EMAIL PROTECTED]> wrote: > > > I usej

[jQuery] Re: jquery validation plugin problem in textarea [validate]

2008-09-02 Thread Jörn Zaefferer
Could you be more specific, eg. provide a testpage? Jörn On Tue, Sep 2, 2008 at 2:05 PM, andy prasetyo <[EMAIL PROTECTED]> wrote: > > I use jquery validation plugin from bassistance.de, but everytime i > use it on textarea, it doesnt work (doesnt pass the value properly). > Any suggestions? >

<    1   2   3   4   5   6   >