Didnt i try that... :P.
Thanks a lot for soulution and quick response!! That did a exactly
what i wanted.
On 19 joulu, 22:25, Andre Polykanine wrote:
> Hello Antti and all,
>
> You just don't need to nestmessages, they should be
> overwritten:
>
> input
You need to reverse the order of sourcing the javascript files.
Put the jquery 1.3.2.js file before the validate.js.
-Anoop
On 8/27/09, Edgar Méndez. wrote:
>
> I'm trying to use the Jquery Validation plugin on aspnet mvc
> fframework but it doesn't work, when I open the firebug console it
> di
On 5 jun, 12:11, talisien wrote:
> I'm having some troubles with passing variables to jQuery.format
>
> I have a script (php) that's checks if the domain part exists. If not
> it will show an message
>
> The following code works #1
>
> It split an email address and assigns the domain name to th
Hi Bob,
Its working fine..
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; >
Untitled Page
$(document).ready(function() {
$('#new_blog_post').validate({
rules: {
"blog_post[title]": "required",
A testpage would help. Can't see anything wrong with that code.
Jörn
On Tue, May 26, 2009 at 4:13 PM, Bob O wrote:
>
> So it seems im still having some issues..
>
> this is my html
>
>
>
> Title
>
>
>
>
> Body
>
> cols="28"/>
>
>
> Author
>
>
>
>
> Permalink
> A hyphen separated t
So it seems im still having some issues..
this is my html
Title
Body
Author
Permalink
A hyphen separated title for URL's e.g. my-
title
and this is my js placed after the jQuery and jquery.validate scripts.
$(document).ready(function() {
$('#new_blog_post').validate({
Man i combed the docs for a day, and i missed that link everytime..
Thanks Jorn.
On May 23, 3:02 pm, Jörn Zaefferer
wrote:
> You need to quote the full key, eg "name['name']": "required".
> Seehttp://docs.jquery.com/Plugins/Validation#Fields_with_complex_names_
>
> Jörn
>
> On Fri, May 22,
You need to quote the full key, eg "name['name']": "required". See
http://docs.jquery.com/Plugins/Validation#Fields_with_complex_names_.28brackets.2C_dots.29
Jörn
On Fri, May 22, 2009 at 10:15 PM, Bob O wrote:
>
> so as not to confuse..
>
> the name attribute looks like this
> name="name['name'
so as not to confuse..
the name attribute looks like this
name="name['name']" for the input field
and the js is
rules: {
name['name']: 'required'
}
i noticed typos in the above question.
On May 22, 12:36 pm, "bhan...@hcinsight.com"
wrote:
> Can anyone tell me how i can change which attri
Jorn - thanks for the responses - I resolved my problem - for the
record I had a mismatch between the versions of JQuery (1.3.2) and an
earlier (incompatible) version of the plugin. This was causing some
errors that I managed to track down with Firebug.
Downloaded the new version of the validatio
You can set debug:true for debugging. It will always prevent the form
submit, which is useful to look at errors that are thrown during
validation.
Jörn
On Wed, May 6, 2009 at 8:37 PM, BrendanC wrote:
>
> Jon - Good catch - however that was just a cut/paste problem - below
> is a new example tha
Jon - Good catch - however that was just a cut/paste problem - below
is a new example that does not work as expected - for some reason the
validation errors are ignored and the form is posted - not what I was
expecting. Is there something else I need to do to prevent form from
posting on errors? W
You define rules for a field "sender", but there is no input with name="sender".
Jörn
On Tue, May 5, 2009 at 7:28 PM, BrendanC wrote:
>
> JQuery newbie question re using validation plugin with Django newform.
> I have a simple email feedback contact django form that I wanted to
> enhance with s
This requires the metadata plugin: class="{required:true,vinUS:true}"
This doesn't: class="required vinUS" minlength="2"
Jörn
On Thu, Apr 23, 2009 at 10:09 PM, Brad wrote:
>
> Thanks Jorn. Since I wrote I've been looking at the additional-
> methods.js to get ideas on how to write some custom
Thanks Jorn. Since I wrote I've been looking at the additional-
methods.js to get ideas on how to write some custom filter and found
this example:
class="{required:true,vinUS:true}"
Is that object syntax required when using custom filters as opposed to
simply
class="required vinUS"?
re: "where
The list applies to metadata as well. You can specify any method as an
attribute, and where there are no parameters needed, use a class
instead.
Jörn
On Thu, Apr 23, 2009 at 9:49 PM, Brad wrote:
>
> Are the options, usage and limitations for the jQuery Validation rules
> using metadata in marku
Thanks.
It gives me an error saying "element.attr is not a function"
What is wrong with this:
highlight: function(element, errorClass) {
if (element.attr("name") == "aupairLanguageList")
$("#multiSelect-aupairLanguageList-title").addClass("error");
},
unhighlight: function(elem
Use the highlight and unhighlight options for that.
Jörn
On Thu, Mar 26, 2009 at 3:21 PM, markstegg...@googlemail.com
wrote:
>
> Hello,
>
> Thanks for building this validation plugin, I like it. I have a
> question:
>
> The error class automatically gets added to the label with the same
> for="
Hi
You are not placing the # in front of the form id as jquery requires.
I do that all the time!!!
On Mar 24, 12:26 pm, Zach wrote:
> I've tried to get this to work for the past 4 hours and I'm stuck.
>
> I've got a master page with the following scripts added.
>
>
>
>
> this is the f
Zach,
Try adding rules via the Validate method like so:
$(document).ready(function() {
$("#aspnetForm").validate({
rules: {
TitleField: {
minlength: 2
}
}
});
});
This worked f
Thank you!
--Carl.
On Mar 11, 7:54 am, Jörn Zaefferer
wrote:
> add if (this.optional(element)) return true; to the top. See any
> existing validation method for an example,
> orhttp://docs.jquery.com/Plugins/Validation/Validator/addMethod
>
> Jörn
>
> On Wed, Mar 11, 2009 at 12:43 PM, clorentz
add if (this.optional(element)) return true; to the top. See any
existing validation method for an example, or
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
Jörn
On Wed, Mar 11, 2009 at 12:43 PM, clorentzen wrote:
>
> Hi --
>
> I've got a contact form here
>
> http://www.dianlof
It appears that you are confusing "display: none" with "type="hidden"
they are two totally different controls
if you have
and you set it to "display: none" when the checkbox is checked... for
instance, saying $("#Name1").hide()
then the selector [...@type=hidden] won't find that because
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
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
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
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:
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
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
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
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
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
I meant, why if there is a \n character on textarea, it couldnt send
its value?
Thanks
Andy
On Sep 3, 8:46 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> I still don't get what the actual issue. What do you mean with "send"?
> Sending via Ajax to the server? To a validation method?
>
> Jörn
I still don't get what the actual issue. What do you mean with "send"?
Sending via Ajax 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 w
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, as it is read as " " n
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
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
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
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
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
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
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
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?
>
I've fixed this in the latest revision, min/pack/zip are up-to-date:
http://dev.jquery.com/view/trunk/plugins/validate/
Jörn
On Sun, May 25, 2008 at 1:13 AM, Ale <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to use the latest version of jQuery and the validation
> plugin. However, when I try
Thank you for your answer, Joerg.
What I forgot to mention is that I am using the ajaxForm plugin on
that form and and that I have two different forms on the same page.
Would this make a difference? Unfortunately the debug:true did not
change anything, though...
juro
On May 11, 5:26 pm, "Jörn Z
You can set the debug-option to true to always prevent the form
submit. That way you'll get to see the error message, ie. on the
Firebug console, to debug the issue.
If that doesn't help: Please provide a testpage.
Jörn
On Sun, May 11, 2008 at 1:22 PM, juro <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
Sorry.
There was no problem.
It was an error of mine.
Juanma Cervera
On 22 feb, 12:42, jmcervera <[EMAIL PROTECTED]> wrote:
> Hello,
> Has anybody use the jQuery Validation plugin with Ruby on Rails.
> I am having trouble with it.
> It seems only function when the form use the get action, but n
47 matches
Mail list logo