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 an...@oire.org wrote:
Hello Antti and all,
You just don't need to nestmessages, they should be
overwritten:
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. edgar9...@gmail.com wrote:
I'm trying to use the Jquery Validation plugin on aspnet mvc
fframework but it doesn't work, when I open the
On 5 jun, 12:11, talisien globalnewsgrab...@gmail.com 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
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 joern.zaeffe...@googlemail.com
wrote:
You need to quote the full key, eg name['name']: required.
Seehttp://docs.jquery.com/Plugins/Validation#Fields_with_complex_names_
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 bhan...@hcinsight.com wrote:
So it seems im still having some issues..
this is my html
form id=new_blog_post class=new_blog_post method=post action=/
blog_posts
p
label
Hi Bob,
Its working fine..
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
titleUntitled Page/title
script type =text/javascript src=jquery-1.3.2-vsdoc2.js
/script
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 bhan...@hcinsight.com wrote:
so as not to confuse..
the name attribute looks like this
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 bhan...@hcinsight.com
wrote:
Can anyone tell me how i can
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?
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 bren...@gmail.com wrote:
Jon - Good catch - however that was just a cut/paste problem - below
is a
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
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 bren...@gmail.com wrote:
JQuery newbie question re using validation plugin with Django newform.
I have a simple email feedback contact django form that I wanted to
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 nrmlcrpt...@gmail.com wrote:
Are the options, usage and limitations for the jQuery Validation rules
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 no
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 nrmlcrpt...@gmail.com wrote:
Thanks Jorn. Since I wrote I've been looking at the additional-
methods.js to get ideas on how to write
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(element,
Use the highlight and unhighlight options for that.
Jörn
On Thu, Mar 26, 2009 at 3:21 PM, markstegg...@googlemail.com
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
Zach,
Try adding rules via the Validate method like so:
$(document).ready(function() {
$(#aspnetForm).validate({
rules: {
TitleField: {
minlength: 2
}
}
});
});
This worked
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 zachary.hun...@gmail.com 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.
Thank you!
--Carl.
On Mar 11, 7:54 am, Jörn Zaefferer joern.zaeffe...@googlemail.com
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,
It appears that you are confusing display: none with type=hidden
they are two totally different controls
if you have
input id=Name1 type=text class=reqired value= /
and you set it to display: none when the checkbox is checked... for
instance, saying $(#Name1).hide()
then the selector
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 for your
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.,
equalTo: Il
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 email
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 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
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 referencing
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
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 circumstances
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
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
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
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 will
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
On
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?
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 usejquery
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, 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,
If users press enter 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
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 enter or newline on textareas it doesnt seem work
On Sep 2, 10:47 pm, andy prasetyo [EMAIL
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 to
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 to
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
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,
In
44 matches
Mail list logo