one issue to add :)
I want the message text in the div inputbottom-text, but also on error
update or replace the inputrightdiv with inputrightdiv-valid , as this
class has my green tick.
Is it possible to alter a div class on error, but place error text
into another div?
thanks again for any help
Sorry, I didn't give you enough details.
The validation of the form elements are are made on "onblur" event, if
you don't click outside the last textarea then that field will not be
validated.
When you click on the submit form when editing the last textarea the
onblur event is triggered but the nor
I stumbled upon the same shit, and this is how IE8 reacts on OPTION
tags without value specified (like, blahblah). Until
jQuery is fixed to support it (and in my case I must stick to old
version 1.2.6, so fix is impossible) the workaround is to always use
blahblah notation, if possible. Of
course i
I have not written up a test to verify this, but I suspect that your
problems is that the code following "Ok" is calling submit() on a full
jQuery object of the form -- which has the validation script attached
to it, so it gets caught in an endless loop.
What you really want to do is to call the s
yep, all done thanks - setting background-color: transparent; was the
key to getting it look perfect!
Thanks for your help.
Richard
On Nov 30, 11:57 am, Jörn Zaefferer
wrote:
> Styling s is quite flexible. Start with border:none, the rest should
> be easy.
>
> JörnOn Mon, Nov 30, 2009 at 12:51
Styling s is quite flexible. Start with border:none, the rest should
be easy.
Jörn
On Mon, Nov 30, 2009 at 12:51 PM, Rich wrote:
> Thanks that does pass the required value but I'll need to play around
> with styling the button as I don't want the image to appear as an icon
> and not as a button
Thanks that does pass the required value but I'll need to play around
with styling the button as I don't want the image to appear as an icon
and not as a button.
Thanks
On Nov 27, 5:20 pm, Jörn Zaefferer
wrote:
> The plugin handles that case, though only for type="submit". You could try
> using
I'm getting this same error. Does anyone have a patch for it?
On Nov 7, 9:31 pm, chobo2 wrote:
> Hi
>
> I don't know what is going but my jqueryvalidateplugin(1.5.5) is not
> working and I am not sure for how long since I do most of my testing
> on firefox.
>
> The problem is this I go to one of
-
kullanici: "Boşluk ve Türkçe karakter kullanılmadan en az 6
karakter",
} *>>> , <<<*
SIFRE: {
-
that comma makes the script crash. Thx Hasan Tay
Sorry my friend, still wating for solution. Tried a lot but still have
the same problem :( We will get a solution just wait for replies.
On 15 Kasım, 13:13, debian wrote:
> I have the same problem without any $addMethod's. I saw some threads
> about comma problems but can't make it work too :( .
I have the same problem without any $addMethod's. I saw some threads
about comma problems but can't make it work too :( . Did you find any
solution?
On 14 Kasım, 10:24, serhat wrote:
> I really need a solution soon can any one check my code?
>
> On 14 Kasım, 00:17, serhat wrote:
>
>
>
> > I also
I really need a solution soon can any one check my code?
On 14 Kasım, 00:17, serhat wrote:
> I also tried without $.validator.addMethod but still have the same
> problem... Any idea or fix for this validation script? Thx for any
> advise :)
>
> On 13 Kasým, 18:25, serhat wrote:
>
>
>
> > I have
I also tried without $.validator.addMethod but still have the same
problem... Any idea or fix for this validation script? Thx for any
advise :)
On 13 Kasım, 18:25, serhat wrote:
> I have a form validation with Jquery+Jquery Validation Plugin. I tried
> all variations on my page but cant make it w
I really don´t know where to submit it. And as I recall, I should test
it with a test tool ( like qUnit) before, shouldn´t I?
If I don´t, I´d be pleased to submit it.
On Sep 29, 7:08 pm, James wrote:
> You wanna go ahead and submit something in the Validation plug-in bug
> tracker for this (if i
You wanna go ahead and submit something in the Validation plug-in bug
tracker for this (if it doesn't exist)?
On Sep 29, 10:31 am, Thiago Miranda de Oliveira
wrote:
> I thought in cache too, but I think the plugin author implemented this
> but didn´t test it on such a particular case.
>
> On Sep
I thought in cache too, but I think the plugin author implemented this
but didn´t test it on such a particular case.
On Sep 29, 5:22 pm, James wrote:
> Yes, I've did the change you mentioned and it did work as expected
> afterwards.
> I'm also curious as to what the purpose of it is also. I have
Yes, I've did the change you mentioned and it did work as expected
afterwards.
I'm also curious as to what the purpose of it is also. I haven't
really delved into it but it looked like a message cache.
On Sep 29, 3:57 am, Thiago Miranda de Oliveira
wrote:
> My code is like that:
> rules: {
>
My code is like that:
rules: {
'email_address': {
required: true,
email: true,
rangelength: [3, 60],
remote: {
url: 'someurl.php',
dataType: 'json',
type:
I've done a quick test on it on 1.5.5 and I'm experiencing the
duplicate message issue also using the following message options:
remote: function() {
// $("#email") is the input field for the email address
return $("#email").val()+' already exists';
}
remote: function(email) {
return
Could you provide some code on how you're setting the error message
"... already exists"?
On Sep 28, 7:49 am, Thiago Miranda de Oliveira
wrote:
> Hi.. I´ve upgraded my validate plugin to the 1.5.5 and I was having a
> problem:
> I have an email that needs to be checked if it already exists by aj
hi people, i noticed youre familiar with this plugin :)
hi people
ive just started playing around with jquery.
ive used jqtransform to make my form pretty looking, and have
attempted to implement bassistance.de's validation plugin - everything
kind of works, apart from the fact that the validat
hi people - i noticed youre familiar with this plugin :)
hi people
ive just started playing around with jquery.
ive used jqtransform to make my form pretty looking, and have
attempted to implement bassistance.de's validation plugin - everything
kind of works, apart from the fact that the valida
thanks!
On Sep 22, 1:09 pm, Michael Geary wrote:
> You can simplify this part:
>
> if ($('#chkStatus5').is(':checked')){
> return true;
> } else {
> return false;
> }
>
> to:
>
> return $('#chkStatus5').is(':checked');
>
> As you can see, that's almost the same as
You can simplify this part:
if ($('#chkStatus5').is(':checked')){
return true;
} else {
return false;
}
to:
return $('#chkStatus5').is(':checked');
As you can see, that's almost the same as your previous attempt; the only
thing missing was the "return".
-Mike
O
Wow I finally got it... updated code here:
referrerother: {
required: function(element){
if
($('#chkStatus5').is(':checked')){
return true;
I'm getting close to finding a way to give a boolean result if the
"other" checkbox is selected (id chkStatus5)... still not working
though
referrerother: {
required: function(element){
$('#referrer-chkStatu
Im trying to implement this and Im not sure if there is a syntax
difference in returning a value of a checkbox vs a dropdown menu. Is
(return $("#referrer").val() == 'Other') the proper way to test the
value of a checkbox? It certainly works for dropdown menus..
Here is my new code, mimicking the
oohh that is just plain wonderful. thank you very much :)
On Sep 22, 9:56 am, Loony2nz wrote:
> Check out this example:
>
> http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validat...
>
> On Sep 22, 9:35 am, ripcurlksm wrote:
>
> > I have a "How did you hear about us?" with a serie
Check out this example:
http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validation-with-Selects
On Sep 22, 9:35 am, ripcurlksm wrote:
> I have a "How did you hear about us?" with a series of checkboxes that
> is working great, however there is an option for "Other", where they
>
Thanks Karl.
I will direct any ui questions to the UI group from now on.
That said, I appreciate your help.
:)
Kind regards,
William
On Sep 14, 11:04 am, Karl Swedberg wrote:
> Hi,
>
> Sorry you haven't received a response yet. Usually Jörn picks up
> questions about the validate picker, bu
Hi,
Sorry you haven't received a response yet. Usually Jörn picks up
questions about the validate picker, but he's been traveling for the
past week. Also, datepicker questions are usually handled on the
jquery-ui google group. In any case, it looks like the the validation
message is trigg
Was it something I said? Or didn't say?
:/
On Sep 8, 8:28 am, Williamk wrote:
> Oh, I put the demo page for the remember the milk with the datepicker
> on a site, so you can see what I am talking about.
> No porn or viagra or Nigerian cons or anything else dubious.
> If you are interested:http:/
Something like this? http://jquery.bassistance.de/validate/demo/multipart/
Jörn
On Fri, Sep 11, 2009 at 4:04 AM, gMinuses wrote:
>
> I have the form:
>
>
>
> ... some inputs ...
>
>
> ... some inputs ...
>
>
> ... some inputs ...
>
>
>
> By default
Oh, I put the demo page for the remember the milk with the datepicker
on a site, so you can see what I am talking about.
No porn or viagra or Nigerian cons or anything else dubious.
If you are interested:
http://avianflew.com/milk/
On Sep 7, 9:48 pm, Williamk wrote:
> For some reason, and this
Take a look at the options related to error messages:
http://docs.jquery.com/Plugins/Validation/validate
Especially errorPlacement should be what you are looking for.
Jörn
On Wed, Aug 19, 2009 at 9:39 PM, Fong wrote:
>
> Hi all,
>
> I am using the jquery form validation plugin (http://docs.jquer
Sorry Jorn I spelled your name Zorn. I am using version 1.5.5
On Aug 8, 7:20 am, Miket3 wrote:
> James,
> Thanks for the response. yes, I created a single lookup function
> rather than having to generate mutiple lookups. Shouldn't be a problem
> if zorn checks the url for ? prior to atta
James,
Thanks for the response. yes, I created a single lookup function
rather than having to generate mutiple lookups. Shouldn't be a problem
if zorn checks the url for ? prior to attaching his key, value pair to
the url. if he doesnt check for it, he will after reading this post
ands sees the
Well, to look at the actual AJAX response, you can use Firebug for
Firefox to see it.
You're suppose to have your remote page return "true" if it's good and
"false" if it's not okay.
Looking at your code, both username and email validation checks have
the same url and data. Ideally, you're suppos
Thanks Jorn - there is a test page at www.pinerock.com/contactNEW.php.
the php at the head of the page is
if ($_REQUEST['name']!="") {
$sendTo = 'phi...@thisworldover.com';
$subject = "Contact Form Submission";
$headers = "MIME-Version: 1.0\n"; $headers .= "Content-type:
In this case there is no apparent reason that the plugin could somehow
affect your serverside script. A testpage is necessary to debug it.
Jörn
On Tue, Jun 9, 2009 at 7:36 PM, philco wrote:
>
> I am using the following...
>
> $().ready(function() {
> // validate the comment form when it i
I am using the following...
$().ready(function() {
// validate the comment form when it is submitted
$("#commentForm").validate();
});
and the action in the form goes to thankyou.php
Are you using the submitHandler-option? There is an open issue that
prevents the submitting button being send in combination with that
option, that may cause your code to fail.
Jörn
On Tue, Jun 9, 2009 at 5:25 PM, Narendra
sisodiya wrote:
> what kind of validations are you using and on which eve
what kind of validations are you using and on which event use for validation
?
~ N a R e N
On Tue, Jun 9, 2009 at 8:48 PM, philco wrote:
>
> Wondered if anyone could help out. my form is set up to send an email
> on submission, and is working correctly. But when i add the
> validation, the redi
Jörn Zaefferer wrote:
> There is no official API for that, but you can customize the
> focusInvalid method. An example is here:
> http://jquery.bassistance.de/validate/demo/tinymce/ (take a look at
> the source)
>
> Jörn
>
Thanks for the help.
It turned out I was going round the houses to do s
The validation plugin requires unique names, except for groups (radio,
checkbox), where each element in the group has to have the same
element.
You can add an index to your names: thumbs[0], thumbs[1], etc. PHP can
handle that, too.
Jörn
On Thu, May 7, 2009 at 4:25 AM, JLHeidecker wrote:
>
> T
You need to trigger the validation by using jQuery's trigger method,
eg. $("#validateThis").submit();
Calling the DOM submit method directly avoids the validation.
Jörn
On Thu, May 7, 2009 at 7:30 AM, sjoerdm wrote:
>
> Im having trouble to validate my form because I'm missing a submit
> butto
Hi, I have the same problem,
BUT I have keyup-validation off.
What seems to trigger the eroor seems to be the onfocusout option.
Any hints?
TIA
sergio
On Feb 10, 11:43 pm, Jörn Zaefferer
wrote:
> onkeyup:true is the culprit. You can disable the keyup-validation via
> onkeyup:false, but the only
Wow, thank you.. I would've never found it, whenever I have a typo in
the code i need to have someone look at it or else I'll never find it!
Thank you again!
On Apr 1, 1:24 pm, Jörn Zaefferer
wrote:
> You've got a typo, minlenght, should be minlength.
>
> Details for the remote method are
> he
You've got a typo, minlenght, should be minlength.
Details for the remote method are here:
http://docs.jquery.com/Plugins/Validation/Methods/remote
A demo, including PHP examples, here:
http://jquery.bassistance.de/validate/demo/milk/
Jörn
On Wed, Apr 1, 2009 at 11:22 AM, david.0pl...@gmail.com
Thanks, but after pasting Yours code, I get "missing ) in
parenthetical " error.
Do You have any idea how to solve it?
Thanks.
Try this:
Jörn
On Mon, Mar 23, 2009 at 9:14 PM, Korro wrote:
>
> Hello.
> I have code like this:
>
> validate="required:true,minlength:2">
>
> I'm using Validate with Metadata.
>
> How can I add custom validating error message for this field?
>
> Thanks in advance.
>
Use the Validation plug-in:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
On Mar 16, 12:56 pm, Egipicio wrote:
> hello
>
> I want to validate an input field so he accepts numeric value greater
> than 20 ..
>
> person type number is less than 20 open an alert is to do this with
>
Anyone? :-)
On Mar 11, 1:18 pm, phred78 wrote:
> Hi,
>
> I have been looking for an answer, but for the love of God, can't find
> any solution.
> I have the validator working perfectly on FF and Safari, but can't get
> it to work on IE. It's giving me a serious headache, but I'm sure I'm
> missi
What if you split your messages up?
messages: {
name: {
required: "Namen eintragen"
}
email: {
required: "Eine gültige Email-Adresse eintragen",
email: "Invalid email format"
The problem here isn't the remote validation, but the submit-handler
you defined outside of the validation. Move the ajaxSubmit into the
submitHandler-option to fix it.
See also
http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html
Jörn
On Mon, Feb 16, 2009 at 8:35 AM, T
onkeyup:true is the culprit. You can disable the keyup-validation via
onkeyup:false, but the only other valid value is a function.
Jörn
On Tue, Feb 10, 2009 at 5:12 PM, crowincage wrote:
>
> Hello,
>
> this is my first post - hope everthing goes fine :-)
> today I get a strange error trying to
Ok, I apparently didn't try hard enough. You just need to wrap the
element name in quotes.
It's simple...
Here's the solution for others who hit this bump:
rules: {
"account.usernameEmail": {
required: true,
emai
I am using the jQuery validate plugin.
On Fri, Jan 2, 2009 at 8:19 PM, nate wrote:
>
> Brian
>
> thanks for the tip. I tried both single and double quotes but that
> didn't work.
hmmm ... I just found this in the docs:
http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29
Did you also
Got it working with "data[UserContactDetail][phone]": {phoneUS:
true}
and instead of using echo $form->input('phone'); to generate the code
I manually typed . I
am unsure as to why the auto generated field doesn't work since it
looks the same to me.
Brian
thanks for the tip. I tried both single and double quotes but that
didn't work.
On Fri, Jan 2, 2009 at 2:32 PM, nate wrote:
>
> Jörn,
>
> Thanks for your response.
>
> I got it to submit with
>
> submitHandler: function(form) {
> form.submit();
> },
>
> now I have a problem when using the cakephp form helper.
>
> This works with the manually created input
>
Jörn,
Thanks for your response.
I got it to submit with
submitHandler: function(form) {
form.submit();
},
now I have a problem when using the cakephp form helper.
This works with the manually created input
rules: {
phone: {ph
Could you post a testpage?
Jörn
On Fri, Jan 2, 2009 at 3:31 AM, nate wrote:
>
> I am using the jQuery Validate plugin with a form in cakePHP. When I
> click submit the form is validated but not submitted to the server.
> When I change the form name From user to user1 it submits properly so
> it
UPDATE:
it does, in fact, refresh the entire page on the second reload of the
CAPTCHA image.
i also noticed that there was a browser warning about the php-
generated image being transferred as text, so added
header("Content-Type: image/png");
in image.php right before creating it, and
imag
Looks like you need a custom method for that. The dependency checking
is useful to make a field optional based on a condition.
For writing custom methods:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
Jörn
On Thu, Oct 9, 2008 at 4:02 PM, alivemedia <[EMAIL PROTECTED]> wrote:
>
>
thanks a lot!
On 10月6日, 下午8时45分, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Take a look at the instructions
> here:http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_compl...
>
> Jörn
>
>
>
> On Mon, Oct 6, 2008 at 10:50 AM, Bill <[EMAIL PROTECTED]> wrote:
>
> > I have a problem.
Take a look at the instructions here:
http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29
Jörn
On Mon, Oct 6, 2008 at 10:50 AM, Bill <[EMAIL PROTECTED]> wrote:
>
> I have a problem.where i use the jquey validate plugin for my
> project.
>
> I want
Ok, let me explain what I'm aiming.
I have a form with 4 inputs:
2 of them are normal ones: enabled so user can write on them
2 other: disabled because the value is gonna be inside is not typed by
the user directly, is filled from a grid placed in a modal window. So,
when user double click in th
If you really want to validate all disabled form fields also, the relevant
line in the plugin is
.not(":submit, :reset, [disabled]")
to which you can add or remove functionality. Again, as Jörn has said,
usually disabled elements are not meant to be validated, so make sure it's
what you reall
Disabled inputs aren't validated because they are disabled. 99% of the
time, disabled elements must be ignored during validation, so that is
what the plugin does.
Jörn
On Mon, Jun 30, 2008 at 8:21 PM, oscarml <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a problem with disabled input when I try
hosea46 schrieb:
Hi there,
I have two issues here:
a) When adding a method to the validator the message does not return
on an error
b) Even though the added method returns false the submit handler still
submits the form.
Any suggestions?[...]
Thanks for the help.
Validation methods are ca
72 matches
Mail list logo