-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of MichaelEvangelista
Sent: Tuesday, October 09, 2007 11:39 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in
IE 7...
Hi Rick -
let me say right up front I'm no expert.
But - have a look at my page's source (link in post above, in this
thread)
I am calling the rules a bit differently, using the class and title of
the
input itself,
and actually have the onKeyUp validation turned off in this case, so
mine
works as you describe,
on submit, rather than on tabbing through or completing the fields.
Sorry not to be more help - I know how frustrating it can be when you
are
*that* close to perfect... but not quite!
--
--
Michael Evangelista, Evangelista Design
Web : www.mredesign.com
Newsgroups: news://forums.mredesign.com
Blog : www.miuaiga.com
"Rick Faircloth" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Here's something a little strange.
>
> Now, in both FF2 and IE 7, the validation doesn't
> until I hit enter to submit or click the submit button/
> Once that happens, all validation messages show up, and
> from then on the validation happens as it should.
>
> Here's my validation code, js file references, and an HTML sample
> for error messages display... am I missing something?
> Everything validates in Firebug...
>
> <script type="text/javascript" src="../js/jquery-1.2.1.js"></script>
> <script type="text/javascript"
> src="../js/jquery.validate_1.1.js"></script>
> (I renamed the validation plug-in so I could keep track of the
> versions...)
>
> <script type="text/javascript">
>
> // $.validator.defaults.debug = true;
>
> $().ready(function() {
>
> $("#calendar_add_form").validate({
>
> errorPlacement: function(error, element) {
> error.appendTo("#" + element.attr('id') + "_error");
> },
>
> focusInvalid: "false",
> event: "keyup",
>
> rules: {
> event_name: {required:
> true},
> event_description:
> {required: true},
> event_date: {required: true,
> date: true},
> event_time: {required:
> true},
> event_location: {required:
> true},
> contact_person: {required:
> true},
> entered_by: {required: true}
> },
>
> messages: {
> event_name: {required:
> "Please enter a name for the event."},
> event_description:
> {required: "Please enter a description of the event."},
> event_date: {required: "Please
> enter the date of the event. (Format: Feb 12, 2007)",
> date: "This entry must
> be a valid date. (Format: Feb 12, 2007)"},
> event_time: {required: "Please
> enter a valid time for the event. (Format: 10:00 am)"},
> event_location: {required:
> "Please enter the event location."},
> contact_person: {required:
> "Please enter the contact person's name."},
> entered_by: {required:
> "Please enter your name."}
> }
> })
> });
>
> </script>
>
> HTML for error message display:
>
> <div style="margin-top:10px;" id="event_name_error"
> class="error"></div>
>
> (This part is for the server-side ColdFusion validation)
>
> <cfif IsDefined("form.fieldnames") and
> IsDefined("form_errors.event_name")>
> <p style="font-weight:bold;" class="error">
> <cfoutput>#form_errors.event_name#</cfoutput>
> </p>
> </cfif>
>
>
>
>
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of MichaelEvangelista
> Sent: Tuesday, October 09, 2007 10:25 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run
in IE
> 7...
>
>
> Yeah, that was the one.
> It didnt work in IE. I got the september 25 version (on the 26th, I
> think!)
> and viola, it worked in IE.
> Stupid question but - are you sure you're linking to the correct js
file,
> it
>
> exists on the server, etc?
>
> Here's the one I am using
> http://comparemyagent.com/fa/js/jquery.validate.js
> Here's an example of a page that is using it
> http://comparemyagent.com/fa/fa_buy-sell.cfm
>
>
> --
>
> --
> Michael Evangelista, Evangelista Design
> Web : www.mredesign.com
> Newsgroups: news://forums.mredesign.com
> Blog : www.miuaiga.com
>
>
> "Rick Faircloth" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Now, I found v. 1.1, dated Sep 25, 2007, but it's not working either.
>
> I'll keep looking. what's the date of the one that works for you,
Michael?
>
> Rick
>
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of Rick Faircloth
> Sent: Tuesday, October 09, 2007 12:51 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run
in IE
> 7...
>
> Hi, Michael.
>
> I did find a new version ( 1.1, Jun 21, 2007 ), but it's still not
working
> in IE 7
> with jQuery 1.2.1. It works in FF2.
>
> It still works with jQuery 1.1.1.
>
> Perhaps that's not the latest version?
>
> Rick
>
>
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of MichaelEvangelista
> Sent: Tuesday, October 09, 2007 12:04 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run
in IE
> 7...
>
> Hi Rick -
> I had a similar issue with jQuery 1.2 and IE... until I read down
towards
> the bottom of Joern's discussion page for the plugin , and saw a link
to a
> new version posted just a few weeks ago... works great now! Let me
know if
> you don't find it.
>
> --
>
> --
> Michael Evangelista, Evangelista Design
> Web : www.mredesign.com
> Newsgroups: news://forums.mredesign.com
> Blog : www.miuaiga.com
>
>
> "Rick Faircloth" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Hi, all.
>
> I'm trying to run Jorn's validation plug-in ( 1.0, beta 1 ) with
> jQuery 1.2.1.
>
> They work together in Firefox, but not in IE 7. However,
> I can get them to work in IE 7 if I use jQuery 1.1.1.
>
> Any issues going on with jQuery 1.2.1 and Jorn's validation plug-in?
>
> Rick
>
>
>
>
>