[jQuery] Re: Validation Problem Using the remote Method

2008-07-12 Thread Jörn Zaefferer
Could you clarify the "false value returned"? What exactly are you trying to achieve? Jörn On Thu, Jul 10, 2008 at 3:55 PM, Nimrod <[EMAIL PROTECTED]> wrote: > > Is there a way that when using the remote method, a "false" value is > being returned until the actual remote result is available. >

[jQuery] Re: Validation and Tabs plugins compatibility

2008-07-08 Thread peace4theapes
Diego, Thanks for the reply. I tried this idea but it threw up another interesting problem. I was wondering if you could throw some light on it. When the validation plugin adds an error class, it does not remove it once the form is validated. Therefore when I switch to the tab with the error cla

[jQuery] Re: Validation and Tabs plugins compatibility

2008-07-03 Thread Diego A.
Hi, This is just an idea (which I haven't checked) but since you have JS experience I'm just gonna throw it at you. The validation plugin adds an 'error' class to all problem fields. You could very quickly loop through each tab, look for an error and (if found), change the focus to that tab. some

[jQuery] Re: Validation Plugin issue when using TinyMCE

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

[jQuery] Re: Validation is not working as expected. Input value deleted!

2008-06-26 Thread Brian J. Fink
Try using String.search(regexp)+1 instead of regexp.test(String). Are you getting legitimate values to fail, or invalid ones to pass? On Jun 20, 7:48 pm, shapper <[EMAIL PROTECTED]> wrote: > Very strange ... it works both ways ... well, what I mean is that I > keep having the same problem in bot

[jQuery] Re: Validation plugin help please

2008-06-25 Thread Lossed
Hi, Sorry, I can't.. But if you copy and paste the exact code I have advised, and include the requisite jQuery and validation JS, you can see locally the issue that still baffles me. Any help figuring out where I'm going wrong would be great, thanks. On Jun 20, 3:17 am, "Jörn Zaefferer" <[EMAIL

[jQuery] Re: Validation Cancel Button

2008-06-22 Thread Ollie
I'm a bit confused - are you talking about a form reset button; Or am I on the wrong track? On Jun 22, 11:45 pm, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > I know that is possible to use a button with class "cancel" to be able > to cancel and not validate. > But can I define another class

[jQuery] Re: Validation is not working as expected. Input value deleted!

2008-06-20 Thread shapper
Very strange ... it works both ways ... well, what I mean is that I keep having the same problem in both cases. Any more ideas? Did anyone notice that the Validation Examples Forms that have Masking don't work in Firefox 3? Thanks, Miguel On Jun 20, 7:46 pm, "Brian J. Fink" <[EMAIL PROTECTED]>

[jQuery] Re: Validation is not working as expected. Input value deleted!

2008-06-20 Thread Brian J. Fink
@Miguel: It appears you have the RegExp value and the value switched. Maybe you meant: $.validator.addMethod('sqldatetime', function (value) { return value.test(/^(([0-9]{4})-([0-1][0-9])-([0-3][0-9])\s([0-1] [0-9]|[2] [0-3]):([0-5][0-9]):([0-5][0-9])|)$/); }, 'Verifique a data e hora. Use o fo

[jQuery] Re: Validation is not working as expected. Input value deleted!

2008-06-20 Thread Alexsandro_xpt
Hi shapper, do you speak portugues? Please contact me for Validate chat through by e-mail. Thz. On 20 jun, 07:53, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to validate and mask a text box that should contain a > DateTime in the following format: > > -mm-dd hh:mm:ss > > T

[jQuery] Re: Validation plugin help please

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

[jQuery] Re: Validation + Mask + Regex. Please, help me out. Thank You.

2008-06-19 Thread shapper
Hi, I just solved it using: $.validator.addMethod('sqldatetime', function (value) { return /^([0-9]{4})-([0-1][0-9])-([0-3][0-9])\s([0-1][0-9]|[2][0-3]): ([0-5][0-9]):([0-5][0-9])$/.test(value); }, 'Check your date and time. Use the format -mm-dd hh:mm:ss'); I am not sure if this is the wa

[jQuery] Re: Validation + Mask + Regex. Please, help me out. Thank You.

2008-06-19 Thread shapper
Please, anyone? Thank You, Miguel On Jun 18, 11:18 pm, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > I am using masking and client validation in a form using: > > Validator Plugin > -http://bassistance.de/jquery-plugins/jquery-plugin-validation/ > > Masked Input Plugin -http://digitalbush.com

[jQuery] Re: Validation Demo Question (bassistance.de)

2008-06-13 Thread Jörn Zaefferer
For unique email addresses, use the remote-method: http://docs.jquery.com/Plugins/Validation/Methods/remote#url A demo for that: http://docs.jquery.com/Plugins/Validate#The_Remember_The_Milk_sign-up_form For message display, take a look at available options: http://docs.jquery.com/Plugins/Validat

[jQuery] Re: Validation Problem

2008-06-12 Thread Jörn Zaefferer
The edit page has the remote-stuff commented out, the required valition seems to work fine. Going to http://test.fibranet-services.com/fnb/phase1/contents/company_group_validate_name.asp?GroupName=b gives me "True", which is not a valid response for the remote method. As it says in the documenta

[jQuery] Re: Validation Problem

2008-06-11 Thread Nimrod
Hi, Here is test page im working on. Validation of Group Name is still not working. http://test.fibranet-services.com/fnb/phase1/index.asp?p=co-grp Thanks, Nimrod

[jQuery] Re: Validation Problem

2008-06-11 Thread Jörn Zaefferer
Please provide a testpage - code snippets don't help. Jörn On Wed, Jun 11, 2008 at 4:01 AM, Nimrod <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the help! > > I revised my code but still doesn't work. I know there's wrong in my > code but I can't figure it out. Here is the revised code. I ho

[jQuery] Re: Validation Problem

2008-06-10 Thread Nimrod
Hi, Thanks for the help! I revised my code but still doesn't work. I know there's wrong in my code but I can't figure it out. Here is the revised code. I hope you can help me with this. $().ready(function() { var container = $('div.error-container'); // Validate the form when

[jQuery] Re: Validation Problem

2008-06-10 Thread Jörn Zaefferer
Methods that you add via $.validator.addMethod have to run synchronously, so using ajax in there doesn't work. The remote method implements the necessary synchronization: http://docs.jquery.com/Plugins/Validation/Methods/remote#url An example for the "unique" remote validation is here: http://jqu

[jQuery] Re: [validation] $ vs. jQuery problem

2008-06-09 Thread Jörn Zaefferer
Please consider this a bug in whatever plugin you find, and report it accordingly. An explanation of the correct pattern is here: http://docs.jquery.com/Plugins/Authoring#Custom_Alias_in_plugin_code I fixed this for the validation plugin, please give the latest revision a try or wait for the next

[jQuery] Re: Validation Plugin Mod

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

[jQuery] Re: Validation Plugin Mod

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

[jQuery] Re: Validation Plugin Mod

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

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

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

[jQuery] Re: Validation Plugin remote method

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

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-22 Thread Jörn Zaefferer
Jacky schrieb: I see... the group's key is not related to the rules/method. So the group would force the underlying fields to only display one message? This would be a problem because a field would also have its own message (like date format is incorrect). I tried my old demo, inputting all

[jQuery] Re: [Validation] Validate differently based on different action

2008-04-22 Thread Jörn Zaefferer
Jacky See schrieb: [...] Any better way to do this? Or I should not use validation plugin under this situation? The plugin is certainly not the best fit for this kind of validation. You could try to implement your own plugin, reusing parts of the validation plugin, especially validation me

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-17 Thread Jacky
I see... the group's key is not related to the rules/method. So the group would force the underlying fields to only display one message? This would be a problem because a field would also have its own message (like date format is incorrect). I tried my old demo, inputting all four fields with wron

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-14 Thread Jörn Zaefferer
Jacky schrieb: I'm thinking if I can do this: rules:{ planFromDate: {dateRange:'plan'}, planToDate: {dateRange:'plan'} actualFromDate: {dateRange:'actual'}, actualToDate: {dateRange:'actual'} } groups: { dateRange: "planFromDate planToDate actualFromDate actualToDate" } $.validat

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-13 Thread Jacky
I'm thinking if I can do this: rules:{ planFromDate: {dateRange:'plan'}, planToDate: {dateRange:'plan'} actualFromDate: {dateRange:'actual'}, actualToDate: {dateRange:'actual'} } groups: { dateRange: "planFromDate planToDate actualFromDate actualToDate" } $.validator.addMethod('dateRa

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-13 Thread Jörn Zaefferer
Jacky See schrieb: I have put up a page to test. http://www.seezone.net/dev/dateValiation.html I need to use different method for different group of dates. In that case, a global dateRange method seems not possible? Thats a different issue. A better dateRange implementation could reuse the

[jQuery] Re: Validation Plugin Add Row Example

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

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-12 Thread Aaron Heimlich
On Sat, Apr 12, 2008 at 2:34 PM, Jacky See <[EMAIL PROTECTED]> wrote: > I have put up a page to test. > http://www.seezone.net/dev/dateValiation.html Link should be: http://www.seezone.net/dev/dateValidation.html -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-12 Thread Jacky See
I have put up a page to test. http://www.seezone.net/dev/dateValiation.html I need to use different method for different group of dates. In that case, a global dateRange method seems not possible? On 4月11日, 上午6時03分, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Jacky See schrieb:> Hi, > > > Some q

[jQuery] Re: [Validation]How to make two field check output one message?

2008-04-10 Thread Jörn Zaefferer
Jacky See schrieb: Hi, Some question on the config of validation plugins. Suppose there are #fromDate and #toDate fields (using ui.datepicker). I have added these custom rules [...] It will output two messages of 'Please input correct date range'. How can I make it only ouput single one? I'

[jQuery] Re: validation works in firefox but not in IE

2008-03-27 Thread Ariel
Interestingly, Aptana doesn't seem to think that there is a error there either. I guess it's because of the fact that aptana is using firefox 3 as the javascript engine. Is this no longer and error in the new version of javascript included in firefox, or is it a bug in firefox? On Mar 25, 2:10 pm

[jQuery] Re: Validation Plugins: how to add global error

2008-03-26 Thread Jörn Zaefferer
Jacky schrieb: Hi all, some question about the validation plugins. There is a form with: - some search fields - a table of search result with checkboxes - some buttons to do next action with checked records Currently, the form is placing error message after each search fields. However, I also

[jQuery] Re: validation works in firefox but not in IE

2008-03-25 Thread Jörn Zaefferer
Ariel schrieb: OK nevermind. after taking a break for a while and coming back, i immediately found the exra comma in there. although, in my defense, neither firebug nor webdeveloper toolbar fond the syntax error either. I highly recommend a syntax-checking editor. Helps completely avoiding t

[jQuery] Re: [Validation] Validation event not firing consistently, using "Remember the Milk" style

2008-03-25 Thread Jörn Zaefferer
kozEfx schrieb: This post is about the Validation plugin (http://bassistance.de/jquery- plugins/jquery-plugin-validation/). It seems that validation occurs on all fields initially, pre-submit, but not all show error state if field data is cleared. Test case: goto: http://jquery.bassistance.de

[jQuery] Re: validation works in firefox but not in IE

2008-03-24 Thread Ariel
OK nevermind. after taking a break for a while and coming back, i immediately found the exra comma in there. although, in my defense, neither firebug nor webdeveloper toolbar fond the syntax error either. On Mar 23, 10:54 pm, Ariel <[EMAIL PROTECTED]> wrote: > I have a form set up with the validat

[jQuery] Re: Validation jQuery plugin - onfocusout throws error

2008-03-07 Thread henry
"Validate elements (except checkboxes/radio buttons) on blur. If nothing is entered, all rules are skipped, except when the field was already marked as invalid." I want $.validate() to validate my form element on blur, so I set onfocusout to true. Althought it says by default it is set to true,

[jQuery] Re: Validation jQuery plugin - onfocusout throws error

2008-03-07 Thread Jörn Zaefferer
henry schrieb: jquery: 1.2.3 jquery validation plugin: 1.2.1 I have: ... $().ready(){ $("#myform").validate({onfocusout:true}); } firebug error message >>> validator.settings["on" + event.type].call is not a function on jquery.validate.js line 250 same error msg is thrown with onk

[jQuery] Re: validation plug-in and error placement -- need help

2008-02-25 Thread Chris Jordan
Jörn Zaefferer wrote: Chris Jordan schrieb: Just some clarification on what I'm trying to achieve. I'm looking at the "error container" example for the validation plug-in and that's darn close to what I want, but I was hoping for the error container to be more like a modal dialog. Is there a w

[jQuery] Re: validation plug-in and error placement -- need help

2008-02-25 Thread Jörn Zaefferer
Chris Jordan schrieb: Just some clarification on what I'm trying to achieve. I'm looking at the "error container" example for the validation plug-in and that's darn close to what I want, but I was hoping for the error container to be more like a modal dialog. Is there a way of placing these erro

[jQuery] Re: validation plug-in and error placement -- need help

2008-02-25 Thread Chris Jordan
Just some clarification on what I'm trying to achieve. I'm looking at the "error container" example for the validation plug-in and that's darn close to what I want, but I was hoping for the error container to be more like a modal dialog. Is there a way of placing these error messages inside of a m

[jQuery] Re: (Validation) Am I missing something in this code?

2008-02-20 Thread Rick Faircloth
Thanks, Jorn... I'll put the test page online soon. Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn > Zaefferer > Sent: Wednesday, February 20, 2008 5:17 PM > To: jquery-en@googlegroups.com > Subject: [jQue

[jQuery] Re: [validation] Validating a form with a radio and checkbox buttons - strange behavior

2008-02-15 Thread Jörn Zaefferer
serge.cp schrieb: Hi! One of test from demos named "Validating a form with a radio and checkbox buttons" behave strange from my point of view. Checkboxes group Spam Spam via E-Mail Spam via Phone Spam via Mail show error message "Please select at least two types of spam.", if none or only on

[jQuery] Re: [Validation] v1.2.1pre - Validating an empty field and

2008-02-04 Thread Rus Miller
Great. Thanks. [subliminal message] Spinner! Spinner! [/subliminal message] On Feb 4, 2008 5:36 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Rus Miller schrieb: > > Yep. You got it. Thanks for great work! > > > > Is a spinner coming anytime soon? > > > Not in the 1.2.1 release, I don'

[jQuery] Re: [Validation] v1.2.1pre - Validating an empty field and

2008-02-04 Thread Jörn Zaefferer
Rus Miller schrieb: Yep. You got it. Thanks for great work! Is a spinner coming anytime soon? Not in the 1.2.1 release, I don't yet have a schedule for further releases. I'll keep it in mind. And by the way, 1.2.1 bundles both the delegate plugin and the necessary part of the ajaxQueue

[jQuery] Re: Validation 1.2 and UI Date Picker issue

2008-02-04 Thread Jörn Zaefferer
Eridius schrieb: I think I found a bug in the validation 1.2 or ui datepicker plug-in. I also have the ui datepicker attacked to two of the form elements. Now when I try to validation a form and the fields that are calendars are not fielded in, the calendar popped up for the first calendar ele

[jQuery] Re: [Validation] v1.2.1pre - Validating an empty field and

2008-02-04 Thread Rus Miller
Yep. You got it. Thanks for great work! Is a spinner coming anytime soon? On Feb 4, 12:50 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Rus Miller schrieb:> [...] > > I moved up to your latest release and the issue of validating an empty > > field is still there. > > >http://monovisiondesign

[jQuery] Re: [Validation] v1.2.1pre - Validating an empty field and

2008-02-04 Thread Jörn Zaefferer
Rus Miller schrieb: [...] I moved up to your latest release and the issue of validating an empty field is still there. http://monovisiondesign.com/client/jquery/validate-url/form.php Thanks for the testcase! I've missed a small change in the remote method, its now fixed: http://dev.jquery.c

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

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

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

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

[jQuery] Re: [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Jörn Zaefferer
Rus Miller schrieb: http://monovisiondesign.com/client/jquery/validate-url/form.php On Feb 1, 4:49 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Hi Rus, could you post a demo/testpage with that code? That makes it easier to see the modifications in context. Thanks Jörn Thanks, I'll

[jQuery] Re: [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Rus Miller
http://monovisiondesign.com/client/jquery/validate-url/form.php On Feb 1, 4:49 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi Rus, > > could you post a demo/testpage with that code? That makes it easier to > see the modifications in context. > > Thanks > Jörn

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

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

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

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

[jQuery] Re: [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Jörn Zaefferer
Hi Rus, could you post a demo/testpage with that code? That makes it easier to see the modifications in context. Thanks Jörn

[jQuery] Re: [Validation] One request and one issue...please help?

2008-02-01 Thread Jörn Zaefferer
Rus Miller schrieb: 2. Prevent validation on a field with validation rule, but which is optional and empty. I'll be fixing that for 1.2.1. If everything goes well, I'll release it later today. Jörn

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

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

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

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

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

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

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

2008-01-29 Thread Dave Stewart
I made a small discovery (in my sleep no less!) that works in HTML, but screws up the PHP: HTML: If I put the array properties in single quotes (the spaces are to make it clearer), the controls are validated as a group! This is good. PHP: However, the PHP also receives those single quotes, so

[jQuery] Re: validation + niceforms - missing styles

2008-01-18 Thread 6epcepk
Hi, I have fixed this. niceforms.js: (~ line 482) jQuery(txtRight) .attr({src:jQuery.NiceJForms.options.imagesPath + "input_right.gif"}) /* 6epcepk's hack [nice forms + ] set right image id */ .attr({id:"n-f-r-i-" +

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

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

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

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

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Rick Faircloth
ilto:[EMAIL PROTECTED] On Behalf Of Jörn > Zaefferer > Sent: Monday, December 10, 2007 4:14 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Validation Plug-in Problem > > > You've just got a typo. Its $("#MC_form"). > > Jörn

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Josh Nathanson
Javascript is case-sensitive, so $("#MC_form") != $("#MC_Form"). -- Josh - Original Message - From: "Jörn Zaefferer" <[EMAIL PROTECTED]> To: Sent: Monday, December 10, 2007 1:13 PM Subject: [jQuery] Re: Validation Plug-in Problem You've just got a typo. Its $("#MC_form"). Jörn

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Jörn Zaefferer
You've just got a typo. Its $("#MC_form"). Jörn

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Rick Faircloth
d the help, Jorn... Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn > Zaefferer > Sent: Monday, December 10, 2007 1:57 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Validation Plug-in Problem >

[jQuery] Re: Validation Plug-in Problem

2007-12-10 Thread Jörn Zaefferer
Hi Rick, $("#MC_Form") returns nothing. Thats why the validation doesn't work. Jörn

[jQuery] Re: validation in IE6

2007-12-10 Thread Jörn Zaefferer
[EMAIL PROTECTED] schrieb: Hi Guy, i solved the 2 matters: 1) The validation in IE6 is solved by the new 1.2 version. I found that in the jorn repository files. 2) maybe I lost something but i was using an old metadata plugin but i really did not see in any place a notice for a new release. I

[jQuery] Re: validation in IE6

2007-12-07 Thread [EMAIL PROTECTED]
Hi Guy, i solved the 2 matters: 1) The validation in IE6 is solved by the new 1.2 version. I found that in the jorn repository files. 2) maybe I lost something but i was using an old metadata plugin but i really did not see in any place a notice for a new release. Installing the new one ( the o

[jQuery] Re: validation in IE6

2007-12-07 Thread Guy Fraser
[EMAIL PROTECTED] wrote: > I am trying with validator 1.2 and metadata and I get an issue in all > the browsers : > > jQuery(element).metadata is not a function > > Any help?? > I'm guessing the plugin is assuming that you have the metadata plugin installed and borks when it's missing. That be

[jQuery] Re: validation in IE6

2007-12-07 Thread [EMAIL PROTECTED]
I am trying with validator 1.2 and metadata and I get an issue in all the browsers : jQuery(element).metadata is not a function Any help?? andrea On Dec 7, 12:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am using the validation and forms plgin together like that: > > > $(document

[jQuery] Re: Validation Problem...

2007-12-02 Thread Jörn Zaefferer
Rick Faircloth schrieb: Why would the same validation routine work well on one page and then when applied to another site not return the validation? The params are attached to the URL… it’s not like that on the first site where the validation is working. Quick ideas, anyone, without first

[jQuery] Re: Validation with Jorn's Validation Plugin - zero

2007-11-28 Thread Web Specialist
Thanks Jörn. I already do this to validate 2 required fields with different values between. I'll try... Cheers 2007/11/28, Jörn Zaefferer <[EMAIL PROTECTED]>: > > > Web Specialist schrieb: > > Hi all > > > > I have to validate a form with required fields. Super easy with Jorn's > > Form Validatio

[jQuery] Re: Validation with Jorn's Validation Plugin - zero

2007-11-28 Thread Jörn Zaefferer
Web Specialist schrieb: Hi all I have to validate a form with required fields. Super easy with Jorn's Form Validation Plugin. But how to avoid user to insert number 0(zero) in that fields? You can write your own validation methods: http://docs.jquery.com/Plugins/Validation/Validator/addMetho

[jQuery] Re: Validation rule for Joerns' Plug-in...

2007-10-27 Thread Rick Faircloth
jquery-en@googlegroups.com Subject: [jQuery] Re: Validation rule for Joerns' Plug-in... Sorry. Choose a category < option value="2">Automotive Medical 2007/10/27, Web Specialist <[EMAIL PROTECTED]>: Rick I'm using Jorn's Form Validation p

[jQuery] Re: Validation rule for Joerns' Plug-in...

2007-10-27 Thread Web Specialist
Sorry. Choose a category < option value="2">Automotive Medical 2007/10/27, Web Specialist <[EMAIL PROTECTED]>: > > Rick > > I'm using Jorn's Form Validation plugin and this approach works fine: > > validate="required:true"> > Choose a category > < option value="">Automotive > Medical > > >

[jQuery] Re: Validation rule for Joerns' Plug-in...

2007-10-27 Thread Web Specialist
Rick I'm using Jorn's Form Validation plugin and this approach works fine: Choose a category Automotive Medical Cheers Marco Antonio 2007/10/27, Rick Faircloth <[EMAIL PROTECTED]>: Hi, all… > > Quesiton: > > How to validate the selection for a drop-down select input? > > If choices are: >

[jQuery] Re: Validation triggering based on radio button value

2007-10-25 Thread wattaka
I´ll take a look , thanks Marco On Oct 25, 1:27 pm, "Web Specialist" <[EMAIL PROTECTED]> wrote: > Jorn's Form Validation could be this job with related option. Please look > example page: > > http://jquery.bassistance.de/validate/demo-test/ > > and you could see relation between "I'd like to rece

[jQuery] Re: Validation triggering based on radio button value

2007-10-25 Thread Web Specialist
Jorn's Form Validation could be this job with related option. Please look example page: http://jquery.bassistance.de/validate/demo-test/ and you could see relation between "I'd like to receive..." and "Topics". Source code: topic: { required: "#newsletter:checked", minLength: 2 }, Cheers Marco A

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

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

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

2007-10-12 Thread Alexander Graef
opment http://dev.portalzine.de pro. portalZINE® - customized experience http://pro.portalzine.de -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Graef Sent: Thursday, October 11, 2007 7:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re

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

2007-10-11 Thread Alexander Graef
TECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, October 11, 2007 6:26 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: validation plugin: validation of checkboxes fail Alexander Graef schrieb: > Hi, > > For the multi select: > > one > two >

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

2007-10-11 Thread Jörn Zaefferer
Alexander Graef schrieb: Hi, For the multi select: one two three four five This allows you to pass the selected items via a form post and receive them as an array. Same applies for the checkboxes: Steak: Pizza: Chicken: If your serverside prefers

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

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

[jQuery] Re: validation errors

2007-10-10 Thread Jörn Zaefferer
Alexander Graef schrieb: I am using the validation plugin and I can not get multi-selects working. As soon as I send the multi select as an array, validation fails or does not trigger. Can you give me an example for "multi select as an array"? -- Jörn

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

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

[jQuery] Re: Validation madness

2007-10-09 Thread Josh Nathanson
Nope, that wasn't included. I see the point though. Does it make more sense to run that before displaying error messages, or afterwards? How to name it? beforeErrorDisplay? afterValidation? beforeFailure? Either before or after would be fine I think. The reason is that you might want to d

[jQuery] Re: Validation madness

2007-10-09 Thread Jörn Zaefferer
Josh Nathanson schrieb: - onsubmit: Boolean, default true - validate on form submit (similar to onkeyup/onblur) - beforeValidation: Callback, called before doing any validation - beforeSubmit: Callback, called before submitting the form (default submit or calling submitHandler, if specified)

[jQuery] Re: Validation madness

2007-10-09 Thread Josh Nathanson
- onsubmit: Boolean, default true - validate on form submit (similar to onkeyup/onblur) - beforeValidation: Callback, called before doing any validation - beforeSubmit: Callback, called before submitting the form (default submit or calling submitHandler, if specified) I'm not sure yet if bef

[jQuery] Re: Validation madness

2007-10-09 Thread Jörn Zaefferer
Steve Blades schrieb: Whoops! One last thing. An 'onValidationFailure' type of method, allowing someone to run some scripting should the validation fail (like resetting data changes one might have made in the beforeSubmit call). You may even want to split things further, with a 'beforeValidat

[jQuery] Re: Validation madness

2007-10-09 Thread Steve Blades
Whoops! One last thing. An 'onValidationFailure' type of method, allowing someone to run some scripting should the validation fail (like resetting data changes one might have made in the beforeSubmit call). You may even want to split things further, with a 'beforeValidation' (occurring prior to val

[jQuery] Re: Validation madness

2007-10-09 Thread Steve Blades
> How about these? > - beforeSubmit: called before the validation starts > - success: called when the form is valid > - submitHandler: replaces the default submit, handler must do an > ajaxSubmit or whatever Sounds outstanding, as long as the submitHandler only covered an ajaxSubmit. If it was an

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread Josh Nathanson
n". -- Josh - Original Message - From: "wattaka" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Saturday, October 06, 2007 6:11 AM Subject: [jQuery] Re: Validation plugin errors on IE6 Hi Jörn, The valide.js works, the validate pack does not, same err

[jQuery] Re: Validation plugin errors on IE6

2007-10-06 Thread wattaka
Hi Jörn, The valide.js works, the validate pack does not, same error as before. Thanks. Just let me know, I´ll be glad to test. On Oct 6, 12:41 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > wattaka schrieb:> This is just plain infuriating, this piece code works > perfectly well > > on FF 2,

[jQuery] Re: Validation plugin errors on IE6

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

<    1   2   3   4   >