1.5.2 contains an explicit fix for compability with 1.3.x. Please test again.

Jörn

On Wed, May 20, 2009 at 1:39 PM, Gordon <grj.mc...@googlemail.com> wrote:
>
> Sorry, my mistake. We originally rolled out with 1.5.1 and then
> upgraded to 1.5.2 today when the error came to light.  Doing so didn't
> fix the problem.
>
> On May 20, 12:31 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
> wrote:
>> The error occurs with validate 1.5.1, which you say you are using,
>> while the header says 1.5.2. Please make sure you are really using
>> 1.5.2!
>>
>> Jörn
>>
>> On Wed, May 20, 2009 at 12:52 PM, Gordon <grj.mc...@googlemail.com> wrote:
>>
>> > We recently did an update on our website,http://www.equanet.co.uk
>> > with a design refresh and an update to the library of javascript.  We
>> > upgraded jQuery to 1.3.2, the validator to 1.5.1 and various other
>> > libraries and plugins to their latest version.
>>
>> > Doing this seems to have broken the validator, when an invalid value
>> > is entered an error class is still added to fields, but an error
>> > message doesn't appear in the accompanying label anymore.  Worse,
>> > submitting invalid forms is no longer blocked.  According to Firefox
>> > the following exception is thrown:
>>
>> > [Exception... "'Syntax error, unrecognized expression: [...@for="email"]'
>> > when calling method: [nsIDOMEventListener::handleEvent]"  nsresult:
>> > "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"
>> > data: no]
>>
>> > Line 0
>>
>> > The @for will be different depending on which form field is invalid.
>> > I recognise the problem being the use of @selectors in the code
>> > somewhere but don't know enough about the validator plugin source to
>> > fix it myself.
>>
>> > For reference, here are the comment headers from the libraries we are
>> > using:
>>
>> > jQuery:
>>
>> > /*
>> >  * jQuery JavaScript Library v1.3.2
>> >  *http://jquery.com/
>> >  *
>> >  * Copyright (c) 2009 John Resig
>> >  * Dual licensed under the MIT and GPL licenses.
>> >  *http://docs.jquery.com/License
>> >  *
>> >  * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
>> >  * Revision: 6246
>> >  */
>>
>> > jQuery Metadata:
>>
>> > /*
>> >  * Metadata - jQuery plugin for parsing metadata from elements
>> >  *
>> >  * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer,
>> > Paul McLanahan
>> >  *
>> >  * Dual licensed under the MIT and GPL licenses:
>> >  *  http://www.opensource.org/licenses/mit-license.php
>> >  *  http://www.gnu.org/licenses/gpl.html
>> >  *
>> >  * Revision: $Id: jquery.metadata.js 3620 2007-10-10 20:55:38Z
>> > pmclanahan $
>> >  *
>> >  */
>>
>> > jQuery Validate:
>>
>> > /*
>> >  * jQuery validation plug-in 1.5.2
>> >  *
>> >  *http://bassistance.de/jquery-plugins/jquery-plugin-validation/
>> >  *http://docs.jquery.com/Plugins/Validation
>> >  *
>> >  * Copyright (c) 2006 - 2008 Jörn Zaefferer
>> >  *
>> >  * $Id: jquery.validate.js 6243 2009-02-19 11:40:49Z joern.zaefferer $
>> >  *
>> >  * Dual licensed under the MIT and GPL licenses:
>> >  *  http://www.opensource.org/licenses/mit-license.php
>> >  *  http://www.gnu.org/licenses/gpl.html
>> >  */
>>
>> > Some pages that use the validator and for which you don't have to be
>> > registered:
>>
>> >http://www.equanet.co.uk/account/register-user.jtp
>> >http://www.equanet.co.uk/account/account-application.jtp

Reply via email to