Re: [jQuery] Re: Autocomplete plugin compatability with jQuery 1.4?

2010-02-01 Thread Jörn Zaefferer
I've replied on that here: http://forum.jquery.com/topic/1-8rc1-autocomplete-search-options So far I don't plan to update the standalone plugin, though if you can provide a patch for 1.4 compability, I'd push out another release. Jörn On Mon, Feb 1, 2010 at 3:32 PM, Anthony antray...@gmail.com

Re: [jQuery] Validator plugin class=cancel not working when submit called from script

2010-01-19 Thread Jörn Zaefferer
Try .click() instead of .submit(). Jörn On Tue, Jan 19, 2010 at 3:04 AM, Flying Duck moore.p...@gmail.com wrote: When the user clicks on an input button where cancel is added to the class attribute, the form submits as expected, but when the the input button is submitted by script like this,

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] Re: validate - error messages keep piling up

2009-12-16 Thread Jörn Zaefferer
Could you provide a full example, eg. via jsbin.com? Jörn On Wed, Dec 16, 2009 at 2:53 PM, Mark Livingstone namematters...@msn.comwrote: anyone? :) On Dec 15, 12:37 pm, Mark Livingstone namematters...@msn.com wrote: Hi, Since I moved to a new design I cannot figure out how to stop the

Re: [jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Jörn Zaefferer
option removes repeated messages. I just can't figure out why it would behave this way. On Dec 16, 8:58 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Could you provide a full example, eg. via jsbin.com? Jörn On Wed, Dec 16, 2009 at 2:53 PM, Mark Livingstone namematters

Re: [jQuery] (validate)

2009-12-16 Thread Jörn Zaefferer
Without seeing any of your code is pure guesswork to help you find the issue. I need to see at least the code configuring the validation plugin. Jörn 2009/12/16 eimantas enc.c...@gmail.com Hi guys I'm having trouble with validation plugin from bassistance.de. I have custom handlers for

Re: [jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Jörn Zaefferer
, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: At least post your full JS codes instead of just excerpts. Jörn http://jsbin.com/isuco/edit I can e-mail you the link to my working page if that will help. Unfortunately I cannot share it here.

Re: [jQuery] [validate] show status indicator while conducting a remote validation

2009-12-11 Thread Jörn Zaefferer
The plugin currently doesn't provide any callbacks for that, but you can use jQuery's ajax events: http://docs.jquery.com/Ajax_Events Jörn On Fri, Dec 11, 2009 at 1:27 AM, Marc marc.ga...@gmail.com wrote: Hi, I was wondering if it's possible to show an icon or label while the Validate

Re: [jQuery] [Validation]

2009-12-10 Thread Jörn Zaefferer
The plugin in use there is http://bassistance.de/jquery-plugins/jquery-plugin-validation/ You already had the link to the plugin's documentation. The Marketo-Demo is included in the Download, with all CSS and JS files. I recommend you look at those, and come back here with more specific questions.

Re: [jQuery] [validate] Error using rules('remove')

2009-12-05 Thread Jörn Zaefferer
The rules method applies to individual elements, not the whole form. Call it directly on the age-field, and it should work. Jörn On Fri, Dec 4, 2009 at 1:34 PM, Eva eva.villarr...@gmail.com wrote: Hi all, I get an error when using rules('remove') from Jörn Zaefferer's Validate plugin. The

Re: [jQuery] Validate - date() Question from plug-in via bassistance.de

2009-12-05 Thread Jörn Zaefferer
Its been an outstanding issue for a long time. There are too many possible approaches to tackle it, and I couldn't yet decide on one to implement. Date parsing and validating is something I'd rather see in an extra library, with a leightweight custom method for the validate plugin to delegate to

Re: [jQuery] Re: jQuery Validate using input type=image

2009-11-30 Thread Jörn Zaefferer
as an icon and not as a button. Thanks On Nov 27, 5:20 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: The plugin handles that case, though only for type=submit. You could try using a button instead: button type=submitimg ... //button JörnOn Fri, Nov 27, 2009 at 12:52 PM

Re: [jQuery] jquery autosuggest with spinner

2009-11-29 Thread Jörn Zaefferer
Try specifying a style for the loading class, which gets added to the input whenever a request is pending: input.loading { background: indicator.gif } Jörn On Sun, Nov 29, 2009 at 11:09 PM, Christine Al-Thifairy jolia...@gmail.comwrote: Hi, I am using the jQuery autocomplete plug-in 1.1 but

Re: [jQuery] jQuery Validate using input type=image

2009-11-27 Thread Jörn Zaefferer
The plugin handles that case, though only for type=submit. You could try using a button instead: button type=submitimg ... //button Jörn On Fri, Nov 27, 2009 at 12:52 PM, Rich reholme...@googlemail.com wrote: I am validating a form that is submitted by an image input (input type=image),

Re: [jQuery] [validate] Specifying custom highlight/unhighlight methods problem

2009-11-26 Thread Jörn Zaefferer
The validation plugin hides labels based on the error class. By adding that class to your regular label, it'll get hidden, too. Try using a different class for the regular label (with the same styles). Jörn On Wed, Nov 25, 2009 at 4:35 PM, Imre Farkas farkasimr...@gmail.com wrote: I'm trying

Re: [jQuery] Validate / Remote

2009-11-26 Thread Jörn Zaefferer
That script will get a single GET paremter with the name of the field as the key and the value of the field as the value, here you'd get verifica_user.php?cusuario=username Jörn On Thu, Nov 26, 2009 at 1:30 PM, RCLumbriga ronanl...@gmail.com wrote: Hi.. Sory the really bad english I have

Re: [jQuery] Validate: more info on options

2009-11-25 Thread Jörn Zaefferer
The documentation for the plugin is here: http://docs.jquery.com/Plugins/Validation That includes documentation for the rules() method as well as descriptions for all built-in validation methods ( http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods ). Jörn On Wed, Nov

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

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 Jörn Zaefferer
Errordiv.appendChild(error); but that didn’t work either On 11/18/09 12:00 PM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: 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

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

Re: [jQuery] (validate) error in IE7

2009-11-17 Thread Jörn Zaefferer
Could you provide some code? A testpage? jsbin.com works great for that. Jörn On Tue, Nov 17, 2009 at 4:39 PM, dmikester1 dmikest...@gmail.com wrote: Here is the screenshot of the bug or error in IE7. Can anyone help me figure this one out?

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] (validate) custom message for maxlength

2009-11-17 Thread Jörn Zaefferer
Sure: messages: { comments: { maxlength: function(max) { return 'Comments' must not exceed + max + characters. You entered + $(input[name=maxlength]).val().length + characters; } } } Jörn On Tue, Nov 17, 2009 at 8:16 PM, Kasvis kasvis...@gmail.com wrote: Hi, I am

Re: [jQuery] Allow submit to proceed despite validation errors?

2009-11-13 Thread Jörn Zaefferer
Maybe not the solution you're looking for, but easy enough to give it a try: By adding a class of cancel to a save anyway-submit-button, the validation is skipped and the form submitted. Jörn On Fri, Nov 13, 2009 at 7:45 AM, Jim Biancolo j...@biancolo.com wrote: Hi folks, Short version: is

Re: [jQuery] Validation Plugin + jNice

2009-11-13 Thread Jörn Zaefferer
Do you have a testpage? Jörn On Fri, Nov 13, 2009 at 4:40 PM, Samuurai djbe...@gmail.com wrote: 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

Re: [jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Jörn Zaefferer
at this ! On Nov 13, 3:51 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Do you have a testpage? Jörn On Fri, Nov 13, 2009 at 4:40 PM, Samuurai djbe...@gmail.com wrote: I'm having a strange problem with jNice and the validation plugin. Probably the easiest way

Re: [jQuery] Re: Validation Plugin + jNice

2009-11-13 Thread Jörn Zaefferer
On Fri, Nov 13, 2009 at 6:17 PM, Samuurai djbe...@gmail.com wrote: Strangely, It seems to be doing it even after removing jNice. - I've updated the test site. On Nov 13, 4:23 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Looks like jNice is causing that issue. Did you try

Re: [jQuery] Issues with jQuery plugins

2009-11-12 Thread Jörn Zaefferer
Sounds like the includes aren't working, maybe base_url() returns the wrong value. Do a View Source to see how the URLs of those script tags look like. Or use Firebug's Net panel to check that there are no 404s. Jörn On Thu, Nov 12, 2009 at 4:50 PM, Paulo Henrique paulode...@gmail.comwrote:

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

Re: [jQuery] (validate) Customising bassistance validation plugin

2009-11-07 Thread Jörn Zaefferer
The plugin by default picks up attributes, so if you're using attribute names that match validation plugin methods, it should work like that. Though you may need to also provide a value, ala required=true, not sure about that. Jörn On Sat, Nov 7, 2009 at 6:21 AM, Iwan Vosloo i...@reahl.org

[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: password initial value without masking ****

2009-10-19 Thread Jörn Zaefferer
Instead of replacing the input, display a label above it. See http://wiki.jqueryui.com/Watermark Jörn On Mon, Oct 19, 2009 at 4:17 PM, Liam Potter radioactiv...@gmail.comwrote: Here is how I do it. Just markup the form like normal (I use a definition list to lay out my forms)

[jQuery] Re: Create a custom rule

2009-10-19 Thread Jörn Zaefferer
The first argument, value, refers to the actual value-attribute. You'll probably want to use the third argument, eg. param: $.validator.addMethod('hasClass', function(value, element, param) { reurn $(element).hasClass(param); }, jQuery.format('Please check the button')); Also a bit simpler

[jQuery] Re: (tooltip) Markup problem

2009-10-14 Thread Jörn Zaefferer
/tests/visual/tooltip/default.html Jörn On Wed, Oct 14, 2009 at 1:55 PM, shapper mdmo...@gmail.com wrote: On Oct 12, 8:57 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: That sounds like you validate a page for the sake of validation. I think thats beneath the point, therefore I

[jQuery] Re: Accordion, there are too many

2009-10-13 Thread Jörn Zaefferer
Yes, wrap those p tags in a div, and your markup is perfect for the the jQuery UI accordion. Jörn On Tue, Oct 13, 2009 at 3:00 AM, Scott Haneda talkli...@newgeo.com wrote: There are just too many accordions out there, can someone point me in the right direction. This need not be fancy:

[jQuery] Re: (tooltip) Markup problem

2009-10-12 Thread Jörn Zaefferer
That sounds like you validate a page for the sake of validation. I think thats beneath the point, therefore I don't get your argument. Do you worry about accessibility? If so, did you test the tooltip with a screenreader? Afaik thats the best way to test for accessibility; validation not so much.

[jQuery] Re: Jquery autocomplete source code and instructions

2009-10-06 Thread Jörn Zaefferer
Right here: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Source (for now) is here: http://bassistance-plugins.googlecode.com/svn/trunk/plugins/autocomplete/ Jörn On Tue, Oct 6, 2009 at 8:36 AM, sangram sangramred...@gmail.com wrote: hi, i have used previous version of

[jQuery] Re: Form Validation

2009-10-01 Thread Jörn Zaefferer
Take a look at the errorPlacement option, documented here: http://docs.jquery.com/Plugins/Validation/validate#toptions Jörn On Thu, Oct 1, 2009 at 12:53 AM, Samuurai djbe...@gmail.com wrote: Hi, I have got some very rudimentary validation working with JQuery validation, however, by

[jQuery] Re: Form Validation

2009-10-01 Thread Jörn Zaefferer
a    foreach ($errors as $error) and then call the above code with the selector and the error message? Thanks! Beren On Oct 1, 9:01 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Take a look at the errorPlacement option, documented here:http://docs.jquery.com/Plugins/Validation

[jQuery] Re: How to submit validated form?

2009-10-01 Thread Jörn Zaefferer
Try this: submitHandler:function(form) { form.submit(); } Jörn On Thu, Oct 1, 2009 at 11:07 PM, slimshady bringmewa...@gmail.com wrote: I am unable to submit the form after validation.  I have tried various ways to submit but my form action is not honored.  Thanks for any help

[jQuery] Re: ajaxQueue not aborting ajax calls with Autocomplete

2009-09-28 Thread Jörn Zaefferer
Can you provide a testpage? Jörn On Mon, Sep 28, 2009 at 7:59 PM, jmunning jasonmunn...@gmail.com wrote: Anyone have any ideas about this?  I'm stuck on this. Thanks On Sep 22, 2:47 pm, jmunning jasonmunn...@gmail.com wrote: Hi all, I am using the bassistance autcomplete plugin version

[jQuery] Re: Unlock Documentation

2009-09-24 Thread Jörn Zaefferer
As Karl mentioned, users registered for more then 24h can edit all pages, with just a few exceptions, like the wiki homepage and the About page. So, could you guys be a bit more specific with your critique of existing documentation? Jörn On Thu, Sep 24, 2009 at 7:57 AM, Scott Haneda

[jQuery] Re: (validation) removal of error message problem

2009-09-23 Thread Jörn Zaefferer
: $(label([for='orders[4].elements[2].Value'])).length 0 On Sep 22, 4:48 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Please update to 1.5.5 - also, please provide a testpage, otherwise I can't help. Jörn On Tue, Sep 22, 2009 at 11:08 PM, chief7 chi...@gmail.com wrote: fyi

[jQuery] Re: (validation) removal of error message problem

2009-09-22 Thread Jörn Zaefferer
Please update to 1.5.5 - also, please provide a testpage, otherwise I can't help. Jörn On Tue, Sep 22, 2009 at 11:08 PM, chief7 chi...@gmail.com wrote: fyi - using jquery.validate.js version 1.5.2 On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote: looks like this issue is caused by the

[jQuery] Re: Validation, ignore specific words

2009-09-19 Thread Jörn Zaefferer
You can avoid that issue by using a solution that doesn't modify the inputs value. The (planned) jQuery UI watermark widget does that, you can get the code from labs here: http://jquery-ui.googlecode.com/svn/branches/labs/watermark/ui/ui.watermark.js A sort-of demo is here:

[jQuery] Re: [forms] [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread Jörn Zaefferer
You don't specify any data to submit in your ajax call. Use the data option, or better yet, the form's plugin ajaxSubmit method. It will handle the form serialization for you. Jörn On Wed, Sep 16, 2009 at 11:42 AM, HairyJim james.d...@gmail.com wrote: Hi all, I have this Jquery code, below,

[jQuery] Re: [forms] [ajax] Form submits, success message displayed but no data seems to be passed to php file

2009-09-16 Thread Jörn Zaefferer
to the processing file? Thanks James On Sep 16, 10:49 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You don't specify any data to submit in your ajax call. Use the data option, or better yet, the form's plugin ajaxSubmit method. It will handle the form serialization for you

[jQuery] Re: [validate] Help with errorPlacement

2009-09-16 Thread Jörn Zaefferer
You need to go up one more level: errorPlacement: function(error, element){ error.appendTo( element.parent().parent().next().find(.errorMsg) ); } Jörn On Wed, Sep 16, 2009 at 8:18 PM, Loony2nz loony...@gmail.com wrote: Hello, I need help with targeting a class on a TD to hold error

[jQuery] Re: [validate] Custom functions onfocusin / -out

2009-09-16 Thread Jörn Zaefferer
You could also just bind focus and blur events to each element for the same effect, without requiring a change to the plugin code. Jörn On Wed, Sep 16, 2009 at 11:32 PM, Philipp philipp.ma...@googlemail.com wrote: Hi! I added a nice little tweak which allows me to define custom functions

[jQuery] Re: Validate: Focus on first invalid field after validation

2009-09-15 Thread Jörn Zaefferer
Whats wrong with keeping the focus on the active field, if its invalid? If you enter something into the, say, third field, hit enter to submit, then it turns out both that field and another before that are invalid, why move the focus to a different field? Jörn On Tue, Sep 8, 2009 at 4:47 AM,

[jQuery] Re: [validate] custom validation messages

2009-09-15 Thread Jörn Zaefferer
You shouldn't use visible-required as the method name. Stick with a valid JavaScript identifier (probably should have mentioned that). As long as you do that, you can use addMethod to alias existing methods with other default messages. On the other hand, addClassRules doesn't help at all with

[jQuery] Re: [validate] custom validation messages

2009-09-15 Thread Jörn Zaefferer
the subject On Sep 15, 12:39 pm, Dr Stevens daverstev...@gmail.com wrote: Thanks for your help.  You always seem to be very quick to respond and I, along with everyone else I'm sure, am very appreciative. Great plugin! On Sep 15, 12:35 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote

[jQuery] Re: [validate] custom validation messages

2009-09-15 Thread Jörn Zaefferer
-plugin-validation/.  I will make note to use (validate) instead. On Sep 15, 12:47 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: I actually changed the plugin page to ask for (validate). When you use Google Groups in an email client, the subject is displayed just fined, while the Web

[jQuery] Re: Validate: Focus on first invalid field after validation

2009-09-15 Thread Jörn Zaefferer
be aware of other errors. I'd expected jumping to the first invalid input to be standard behaviour.  My fault there I guess. On Sep 15, 10:08 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Whats wrong with keeping the focus on the active field, if its invalid? If you enter something

[jQuery] Re: Validate: Focus on first invalid field after validation

2009-09-15 Thread Jörn Zaefferer
to return the first invalid field so I can set the focus. On Sep 16, 8:16 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Well, you can set focusInvalid: false and implement invalidHandler to focus the first field. That should do the trick. Jörn On Tue, Sep 15, 2009 at 10:01 PM

[jQuery] Re: (validate) email validator

2009-09-15 Thread Jörn Zaefferer
Yep. The goal here is to indicate to the user that he mistyped his address. For that to work reliably, the validation must accept all valid addresses, not just those that feel more valid then others. Jörn On Tue, Sep 15, 2009 at 10:39 PM, Scott Haneda talkli...@newgeo.com wrote: Right, this

[jQuery] Re: Validate: Focus on first invalid field after validation

2009-09-15 Thread Jörn Zaefferer
forget about :first. Thanks. On Sep 16, 8:34 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Something like this? $(form).validate({   focusInvalid: false,   invalidHandler: function() {     $(this).find(:input.error:first).focus();   } }); Jörn On Tue, Sep 15

[jQuery] Re: (validate), submitHandler and custom function

2009-09-13 Thread Jörn Zaefferer
Try this: submitHandler: function(form) { $.post(form.action, $(this).serialize(), null, script); } Jörn On Sun, Sep 13, 2009 at 12:42 AM, bgumbiker bogumil.bial...@gmail.com wrote: Hello, I am looking for a way to call successfully custom function from submitHandler to do proper ajax

[jQuery] Re: (validate) dash/hyphen in radio id problem

2009-09-11 Thread Jörn Zaefferer
See http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Fri, Sep 11, 2009 at 2:26 PM, mattso matthieu.larc...@gmail.com wrote: Hi, I'm using the bassistance.de Validation Plugin for jQuery and I have the following problem : When

[jQuery] Re: [jQuery Validate]Validating for incremental form

2009-09-11 Thread Jörn Zaefferer
Something like this? http://jquery.bassistance.de/validate/demo/multipart/ Jörn On Fri, Sep 11, 2009 at 4:04 AM, gMinuses gminu...@gmail.com wrote: I have the form: form    div id=portion1        ... some inputs ...    /div    div id=portion2        ... some inputs ...    /div    div

[jQuery] Re: Use the validation outside the form.

2009-09-07 Thread Jörn Zaefferer
Nope, you really need a form. Whats the problem with just using a form element, at least nested within your div? Jörn On Mon, Sep 7, 2009 at 10:28 AM, Jozef A. Habdankjahabd...@gmail.com wrote: Hello Everybody, this is my first post here - please forgive me any stupid questions. My idea

[jQuery] Re: [validate] plugin: combine features from multiple demos

2009-09-03 Thread Jörn Zaefferer
Take a closer look at the multipart demo and its custom pageRequired-method - thats key! Jörn On Wed, Sep 2, 2009 at 11:24 PM, seezeedebbil...@gmail.com wrote: i posted this to the plugin group, but it appears to be a dead forum -- last post was february. i'm trying to combine features of

[jQuery] Re: (validate) Is it possible to explicitly call a registered rule

2009-09-03 Thread Jörn Zaefferer
Sure. Something like this: $.validator.addMethod(custom, function() { var validEmail = $.validator.methods.email.apply(this, arguments); return validEmail someOtherCheck(); }); Jörn On Thu, Sep 3, 2009 at 6:37 PM, TheChrisPrattthechrispr...@gmail.com wrote: I have a case where I want to

[jQuery] Re: Clickable autocomplete, like google

2009-09-02 Thread Jörn Zaefferer
Based on http://plugins.jquery.com/project/autocompletex $(#search).autocomplete(/searchAutocomplete, { dataType: json, parse: function(data) { return $.map(data, function(row) { return { data: row,

[jQuery] Re: jQuery accordion menus flickering in IE 6 and 7

2009-09-01 Thread Jörn Zaefferer
This should be fixed in trunk. Give the latest stylesheet a try: http://jquery-ui.googlecode.com/svn/trunk/themes/base/ui.accordion.css Jörn On Mon, Aug 31, 2009 at 8:54 PM, Moose1rcob...@gmail.com wrote: I've seen several threads about this online but haven't not seen a solution that has

[jQuery] Re: [validate] [ajax]

2009-09-01 Thread Jörn Zaefferer
You need to use ajaxSubmit and the submitHandler option. Here is an example: http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html Jörn On Tue, Sep 1, 2009 at 12:25 PM, HairyJimjames.d...@gmail.com wrote: Hi all, Still green with JQ. I have the following code which

[jQuery] Re: jQuery Validation Submitting without Validation in Firefox (validate)

2009-09-01 Thread Jörn Zaefferer
You've got a script error on submit. Set debug:true to stop the submit and look at the error. Jörn On Tue, Sep 1, 2009 at 3:45 PM, jake.d.hol...@googlemail.comjake.d.hol...@googlemail.com wrote: Hi Guys, I've put together a pretty simple competition script - it's commented out below and

[jQuery] Re: (Validation) How to use with Multi-Select?

2009-08-27 Thread Jörn Zaefferer
Here are examples with multi-selects: http://jquery.bassistance.de/validate/demo/radio-checkbox-select-demo.html Jörn On Thu, Aug 27, 2009 at 3:04 PM, Psyclom...@datamodel.org wrote: I have a form with a multi-select field that needs to be validated, so at least one option is selected.  Is

[jQuery] Re: validate classbased via ajax request

2009-08-26 Thread Jörn Zaefferer
Writing a custom remote method is currently not supported. You'd have to copy the existing remote method. Instead, try to put the local custom validation into its own method, and use the remote method in addition, for the same field: http://docs.jquery.com/Plugins/Validation/Methods/remote Jörn

[jQuery] Re: [autocomplete]

2009-08-25 Thread Jörn Zaefferer
What is a virtual keyboard? Jörn On Tue, Aug 25, 2009 at 2:43 PM, Mahmoud wagdyeng.mahmoud.wa...@gmail.com wrote: we need to add a virtual keyboard to the same textbox which uses yours autocomplete plugin. is this applicable with your autocomplete plugin

[jQuery] Re: [treeview] Can I apply classes to async trees??

2009-08-24 Thread Jörn Zaefferer
You can use the classes property in the JSON response. These are added to each node. Jörn On Mon, Aug 24, 2009 at 12:12 PM, nsbkpedro...@gmail.com wrote: Hi! I'm currently working on a project in wich I use a pair of trees. The thing is that one of them is too big and IE6 (it needs to be

[jQuery] Re: [validate] Radios with empty values and required:true

2009-08-24 Thread Jörn Zaefferer
When a question isn't required, it shouldn't have the required-rule. Jörn On Mon, Aug 24, 2009 at 1:43 PM, Gordongrj.mc...@googlemail.com wrote: I'm working on a survey builder that lets people generate web forms for collecting user data.  Form builders can create forms with various

[jQuery] Re: [validate] problem of defining custom rules

2009-08-24 Thread Jörn Zaefferer
firstname must refer to the name of a field. There is no field with that name in your form, just class=firstname. Jörn On Mon, Aug 24, 2009 at 4:55 PM, davidmichaelg...@gmail.com wrote: i played with the example.html from jquery.validate 1.55 and wanted to make a custom rule firstname that is

[jQuery] Re: Cursor moves to start position in Opera Autocomplete Plugin

2009-08-22 Thread Jörn Zaefferer
Just released version 1.1, which fixes this issue: http://plugins.jquery.com/node/9879 Jörn On Thu, Aug 20, 2009 at 9:29 PM, juanefrenjuanef...@gmail.com wrote: With the autocomplete plugin and using Opera; When the input value, is not found in the suggestions the cursor moves to the

[jQuery] Re: [validate] - how to validate tinymce editor?

2009-08-21 Thread Jörn Zaefferer
Check this out: http://jquery.bassistance.de/validate/demo/tinymce/ Jörn On Fri, Aug 21, 2009 at 5:49 PM, D Adali...@gmail.com wrote: Is it possible to inject somewhere inside validate() some action before it is validatede.g. copy all content first to textarea. Tomas: I believe you

[jQuery] Re: setData and extraParams problem

2009-08-20 Thread Jörn Zaefferer
What exact version of the autocomplete plugin are you using? Have you tried autocomplete(option, extraParams, ...) instead of setData? Jörn On Sat, Aug 8, 2009 at 6:19 PM, pankajpankaj1...@gmail.com wrote: Actually this part was working previously.I found one difference here, maybe that

[jQuery] Re: [autocomplete] how to clear hidden key field when user changes text value?

2009-08-20 Thread Jörn Zaefferer
You could try this, similar to what the plugin does for the mustMatch option: $(.autocomplete).blur(function() { $(this).search(function(result) { if (!result) { // no match found, do something, eg. clearing other fields } }); }); Jörn On Thu, Aug 13, 2009 at 5:25 PM,

[jQuery] Re: [autocomplete] trigger event if user rejects all autocomplete otions

2009-08-20 Thread Jörn Zaefferer
You could try this, similar to what the plugin does for the mustMatch option: $(.autocomplete).blur(function() { $(this).search(function(result) { if (!result) { // no match found, do something, eg. clearing other fields } }); }); Jörn On Tue, Aug 11, 2009 at 8:30 PM,

[jQuery] Re: [validate] - resetForm not working.

2009-08-19 Thread Jörn Zaefferer
Then your code isn't the same. Go back to the example and look at where the validator-variable is defined. If that doesn't work out, post a testpage, or at least your full code. Jörn On Wed, Aug 19, 2009 at 11:51 AM, Tokasatoka...@gmail.com wrote: Hi, anybody have experience with this

[jQuery] Re: [validate] - resetForm not working.

2009-08-19 Thread Jörn Zaefferer
. Please have a look over here... http://www.tokasa.cz/temp/example.html Please tell me what is missing or is wrong, because I dont see it :) Thanks Tomas On Aug 19, 1:50 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Then your code isn't the same. Go back to the example

[jQuery] Re: JQuery [Validate plugin] - Placement of error text

2009-08-19 Thread Jörn Zaefferer
Take a look at the options related to error messages: http://docs.jquery.com/Plugins/Validation/validate Especially errorPlacement should be what you are looking for. Jörn On Wed, Aug 19, 2009 at 9:39 PM, Fongf...@weblite.ca wrote: Hi all, I am using the jquery form validation plugin

[jQuery] Re: [validate]

2009-08-18 Thread Jörn Zaefferer
There is no gurantee that the form will actually be submitted after submitHandler is called. So the cleanup is necessary for future submits of the same form. Could you show your full code? I suspect the actual issue is elsewhere. Jörn On Tue, Aug 18, 2009 at 2:14 PM,

[jQuery] Re: [validate]

2009-08-18 Thread Jörn Zaefferer
## thanks for your interrested. L.Ours.POlaiR | Creabilis On 18 août, 15:16, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: There is no gurantee that the form will actually be submitted after submitHandler is called. So

[jQuery] Re: [validator] Display error messages in a convenient location per each

2009-08-18 Thread Jörn Zaefferer
You can use the errorPlacement-option for that, replacing the default insertAfter(element) with appendTo(element.parent()) Jörn On Tue, Aug 18, 2009 at 6:33 PM, IvanHalenivanha...@tin.it wrote: Hello, I'm playing with the great Bassistance jQuery Validator and am stuck at a point The idea

[jQuery] Re: [tooltip] integration with jQuery UI

2009-08-17 Thread Jörn Zaefferer
Works fine for me with extraClass. To change it once for all tooltips: $.tooltip.defaults.extraClass = ui-widget ui-widget-content ui-corner-all; Jörn On Thu, Aug 13, 2009 at 8:25 PM, tvanfossontvanfos...@gmail.com wrote: I've made some minor modifications to the Tooltip plugin to have it

[jQuery] Re: Citation for jQuery

2009-08-12 Thread Jörn Zaefferer
Hi Nathaniel, what exactly do you want to cite? Its not clear from your question. Regards Jörn On Tue, Aug 11, 2009 at 9:15 PM, Nathanielnathaniel.t...@gmail.com wrote: Hello Devs: I'm preparing an academic paper in which I want to cite jQuery and jQuery UI.  Is there a specific

[jQuery] Re: Post variable array

2009-08-12 Thread Jörn Zaefferer
What values do the variables action and postThis contain? You describe them as actions, isn't telling me anything. Jörn On Wed, Aug 12, 2009 at 7:40 PM, cz231cz2...@gmail.com wrote: Hi, I'm using AJAX to submit a form. I'm using the POST method. Example: $.post(action, postThis); Both

[jQuery] Re: Bind Validate to button click event

2009-08-12 Thread Jörn Zaefferer
Try this: $('#searchButton').click(function(){ if ($('#testBlog').valid()) formDoAjaxSubmit(); }); Jörn On Wed, Aug 12, 2009 at 8:04 PM, Rockinelleericbles...@gmail.com wrote: I am walking into an existing form that uses a custom ajax request to display

[jQuery] Re: [validate] Refreshing the validator after dynamically adding a class to an element

2009-08-11 Thread Jörn Zaefferer
Give that a try: .toggleClass(required) In your approach, its likely that the metadata isn't picked up, so you'd have to manually remove the cached metadata, via .data(metadata, null) Jörn On Tue, Aug 11, 2009 at 3:06 AM, Jean-Micheljean-michel.godin-dug...@voluzion.ca wrote: Hi, I know

[jQuery] Re: Disable submit button with Validation plugin

2009-08-10 Thread Jörn Zaefferer
Try this: $(document).ready(function() { $(#myForm).validate({ submitHandler: function(form) { $(form).find(:submit).attr(disabled, true).attr(value, Submitting...); form.submit(); } }) }); Jörn On Mon, Aug 10, 2009 at 9:40 AM, Rich Sturimcosmos99...@gmail.com

[jQuery] Re: VALIDATION not validating when submit button clicked....

2009-08-10 Thread Jörn Zaefferer
Please show the rest of your code. Jörn On Mon, Aug 10, 2009 at 11:49 PM, Miket3miketro...@gmail.com wrote: Here is my handler:   submitHandler: function(form) {     alert('I CANT GET THIS TO TRIGGER');  }, Here is my button: input class=submit type=submit id=register value=Register

[jQuery] Re: more VALIDATION issues

2009-08-09 Thread Jörn Zaefferer
Your assumption that the remote method is buggy is not at all verified, or: wrong. Instead of trying to write your own remote-method, please provide a testpage to find the actual issue you're dealing with. Jörn On Sun, Aug 9, 2009 at 7:07 PM, Miket3miketro...@gmail.com wrote: OK.  the

[jQuery] Re: [validate] Problem with custom methods and eager/lazy validation

2009-08-07 Thread Jörn Zaefferer
You've got the this.optional(element) stuff included, so that method works just like the builtin methods, unless something else is broken. Jörn On Thu, Aug 6, 2009 at 10:37 PM, Jim Evansximxim...@googlemail.com wrote: Hi, I'm using the validator plugin and it's great! I understand the

[jQuery] Re: Complex form hiding input depending on a tick box

2009-08-06 Thread Jörn Zaefferer
The marketo demo includes something very similar, take a look at that: http://jquery.bassistance.de/validate/demo/marketo/step2.htm Jörn On Thu, Aug 6, 2009 at 10:44 AM, Francois (Jersey)francois.ches...@googlemail.com wrote: I am writing an accounting sofware, and I have difficulties with the

[jQuery] Re: Are the OAuth Consumer Token and Secret assigned to a specific Server IP address

2009-08-05 Thread Jörn Zaefferer
Uh, wrong list? This list is about jQuery, seems mostly unrelated... Jörn On Wed, Aug 5, 2009 at 2:06 AM, MECarluen-TwitterGroupmecarl...@gmail.com wrote: Hello Gurus- quick question, are the Consumer Token and Secret assigned to a specific Server IP address? I am currently switching my

[jQuery] Re: How to modify the url function [validate]

2009-08-05 Thread Jörn Zaefferer
I recommend to use the url method, than add a custom method (http://docs.jquery.com/Plugins/Validation/Validator/addMethod) that checks your requirement. That way your method can rely on a valid URL. Jörn On Wed, Aug 5, 2009 at 6:18 AM, Fongf...@weblite.ca wrote: Hi all, This post is in

[jQuery] Re: validate

2009-08-03 Thread Jörn Zaefferer
    } } Certainly, I can add rules for each form input separately using $(#inputId).rules(), but it looks a bit ugly if we have many fields are been validated Stani 2009/7/30 Jörn Zaefferer joern.zaeffe...@googlemail.com The plugin supports only names, you'd have to hack the plugin

[jQuery] Re: [validate] - translate generic error messages

2009-08-03 Thread Jörn Zaefferer
$.validator.message.requires = my new default message; Or use on of the provided localization files (in the zip file). Jörn On Mon, Aug 3, 2009 at 6:40 AM, Jnewidn...@gmail.com wrote: Plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ How translate generic error

  1   2   3   4   5   6   7   8   9   10   >