[jQuery] jQuery Validate dynamic form issues

2009-12-27 Thread Dave3
Hey all, this is my first post here. I have tried desperately for hours and hours to find a solution to this problem but so far no luck. I have a dynamic form that will show/hide certain parts based on the value of a select box. I am also using the errorContainer option to display all errors toget

[jQuery] JQuery Validate div selector issues

2009-12-23 Thread p...@scotche.gg
Hi Guys I am trying to get validate to work, but I am soo close and yet soo far! I think the problem is the selector and way i append the error or valid classes to the label, or specify the element for errors? Can anyone see the mismatch or problem? HTML example... [code]Company Name:

[jQuery] jquery validate plugin - greaterThan addmethod problem

2009-12-20 Thread markstegg...@googlemail.com
Hello, So, I am using two custom methods, GreaterThan and LesserThan: // custom code to for greater than jQuery.validator.addMethod('greaterThan', function(value, element, param) { return ( value > jQuery(param).val() ); }, 'Must be greater than start' ); // custom code for lesser than jQuery.va

Re: [jQuery] jquery validate bug

2009-12-15 Thread Leonardo K
I download your code and it's working fine. On Tue, Dec 15, 2009 at 08:48, Givan wrote: > Hi, I found a bug within the validation plugin > I have a form and I need to click the submit button twice to submit > the form. > It seems that on the first click validates and only on the second > click w

[jQuery] jquery validate bug

2009-12-15 Thread Givan
Hi, I found a bug within the validation plugin I have a form and I need to click the submit button twice to submit the form. It seems that on the first click validates and only on the second click will submit the form. I think it must submit the form directly if there is no validation error. A sma

[jQuery] jQuery Validate and Dialog Confirm. submit() not working.

2009-11-30 Thread impact
I have a form that is being valdiated with jQuery validate plugin. On clicking submit, and after form has been succesfully validated, I want a dialog confirmation to appear, then on clicking OK, the form submits. See my code below. The Dialog opens fine. Dialog works fine, but the form does not

Re: [jQuery] jQuery Validate using input type=image

2009-11-27 Thread Jörn Zaefferer
The plugin handles that case, though only for type="submit". You could try using a button instead: Jörn On Fri, Nov 27, 2009 at 12:52 PM, Rich wrote: > I am validating a form that is submitted by an image input (input > type=image), there are 3 of these inputs which either publish, save or >

[jQuery] jQuery Validate using input type=image

2009-11-27 Thread Rich
I am validating a form that is submitted by an image input (input type=image), there are 3 of these inputs which either publish, save or delete the form details. If I turn javascript off and submit the form I can pick up the value of the input button used. i.e. request.form ("publish.x") = ?, if I

[jQuery] (Jquery Validate) Keep getting an error in IE8

2009-11-07 Thread chobo2
Hi I don't know what is going but my jquery validate plugin(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 my forms that jquery validate on it and hit my "create" button my validation kicks in as it should and does

[jQuery] Jquery validate radio buttons not working

2009-11-05 Thread azam
Hi I have been reading the tutorials, posts and forums to figure out how to get my radio buttons on my form to validate.Everything else in the form is validating except radio. I am not a developer or coder but am learning as I go along. This is what I have done : I have included validate.js , jqu

[jQuery] [jquery][validate] Locking submit button interferes with validation plugin

2009-10-13 Thread Opally
This is a question about the jquery Validation plugin. I need to lock the submit button on some forms to prevent multiple submissions, but I don't want to permanently lock it, in case there's a validation problem that the user needs to resolve. I did come up with a way to temporarily lock it and

[jQuery] (jQuery validate) remote on non-required *blank* input

2009-10-06 Thread ururk
Using the latest version of both jQuery (jquery-1.3.2.min.js), and validate (1.5.5), Safari 4... When a non-required input box is cleared of all text inside, and the field is tabbed out of, there is no call made to my 'remote' file to check to see if the field is valid or not... which leaves the

[jQuery] [jQuery Validate] How to use on group of two selects

2009-10-06 Thread Up-Works
How would I validate this group of two selects: * Expires MM 01 02 03 04 05 06 07 08 09 10 11 12 2009 2010 2011 2012 2013 2014

[jQuery] (jQuery validate) Remote Custom Message Problem on version 1.5.5

2009-09-28 Thread Thiago Miranda de Oliveira
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 ajax, and I was using the Validate Remote Method. In my old Validate version ( 1.5) it works great, but in the 1.5.5 version when I validate the email fi

[jQuery] jQuery Validate -- how to require series of checkboxes when named as array[]

2009-09-23 Thread ripcurlksm
I have a working example of jQuery validate working in the link below. The newsletter checkbox is required and working. However, the "colors" checkboxes are all named as an array ( ex: name="color[]" ), and so the problem lies in the validation code, where it uses the name of the element to requi

[jQuery] jQuery Validate -- how to require series of checkboxes when named as array[]

2009-09-23 Thread ripcurlksm
I have a working example of jQuery validate working in the link below. The newsletter checkbox is required and working. However, the "colors" checkboxes are all named as an array ( ex: name="color[]" ), and so the problem lies in the validation code, where it uses the name of the element to requir

[jQuery] jquery/validate and jquery.form not playing well

2009-09-22 Thread bernardo.zun...@gmail.com
Wondering if anyone know why the 2 plugins (validate and form) would be causing a problem? Required fields will not validate when using the form plugin for an ajaxForm, and the form does not validate when clicking submit, will even submit empty. Here is my js code(taken mostly form the examples

[jQuery] [jQuery Validate]Validating for incremental form

2009-09-11 Thread gMinuses
I have the form: ... some inputs ... ... some inputs ... ... some inputs ... By default, only #portion1 is visible. If inputs inside it are all valid, #portion2 will be visible and #portion1 will be hidden, and so on. The problem is that j

[jQuery] jquery validate and datepicker.

2009-09-07 Thread Williamk
For some reason, and this is baffling me, if I use both the validation plugin and the datepicker plugin, some voodoo is occurring. I have to select the date twice for it to validate. For example, here are the steps I took: I try to submit the form without dates in the fields. The form is not sent

[jQuery] jquery validate submit character set error

2009-09-03 Thread abitnerdy
I have this form that shows up on http://www.bspmedia.eu/inspiration.html by clicking on the last paragraph. type a message with for example "testöäå" and then hit the submit button. On submit the form validates and then sends the mail. But it sends this message as "testöäå". If I look in fir

[jQuery] jquery validate

2009-08-29 Thread James W
Hello, I am using jquery validate on one of my pages with a submit handler, Can anyone let me know how I can specifiy which layer should contain the error messages?. Here is the code I want to change: $(document).ready(function(){ jQuery(function() { var v = jQuery("#PropertyFor

[jQuery] JQuery [Validate plugin] - Placement of error text

2009-08-19 Thread Fong
Hi all, I am using the jquery form validation plugin (http://docs.jquery.com/ Plugins/Validation) to get some simple validation done on my form. It's working perfect so far. When I set a particular form field to have the class "required" that makes it so that it can't be blank and when the user

[jQuery] jquery validate remote() - display returned message.

2009-08-11 Thread j...@oz
In the documentation for the remote option of the jquery valdiate plugin, it says the remot script can return true, false etc. or "a string, eg. "That name is already taken, try peter123 instead" to display as the error message." What I cannot work out is how to actually display the the messa

[jQuery] jquery(VALIDATE)

2009-08-07 Thread Miket3
I need a way to debug what is being returned when I use the REMOTE option. I cant get the validation to give me an error class when a duplicate is found. here is my lookup.php which works perfectly fine when I use jquery $get to call it. Lookup.php 0) { echo $foundmsg; } else {echo $failmsg;

[jQuery] jQuery [validate] - Validating the same form twice

2009-06-15 Thread SeiferTim
OKay, I'm trying to setup my site to be all on one page with a login/ logout button. When the user clicks "Login", a hidden div with my form in it is displayed. Once they login successfully, "Login" becomes "Logout". When they click "Logout", it goes back to showing "Login", and then they can clic

[jQuery] jquery Validate - send email failing

2009-06-09 Thread philco
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 redirect to the 'thank you' page works but no email is sent. Thanks for your help

[jQuery] jQuery validate not firing with 'Enter' button

2009-06-08 Thread Prasad
Hi all, I am new to jQuery, i have problem with validations in my submit form. Problem was when i open add user form, with out entering any details in my add form - when click on my save button all the validations are firing correctly but when i enter any character in any of the field and press

[jQuery] [jQuery Validate] One error message for multiple invalid elements

2009-06-05 Thread dannet
Hello I'm using the jquery validate plugin from bassistance.de. In my form I have 3 select (day, month and year) to determine the birth date of the user (the 3 inputs are used as independent fields). My problem is that when I validate it, if the user has not entered the day, month of year, I get o

[jQuery] JQuery [validate] plugin - how to disable the validation for an specific button

2009-06-03 Thread roncansan
Hi, I'm using jquery validation with asp.net. The problem is, I have the search button and the comments button in the same form. When the users want to write a comment, the validation works perfect, but when the users want to make a search in the page, the required fields of the comments doesn't

[jQuery] jQuery validate, need to require subset of fields with same name

2009-05-07 Thread JLHeidecker
This is regarding use of jquery validate plug-in. I have ten fields of type="file" with name="thumbs[]" I have added class="required" to the first three, but does not give the intended result. obviously i'm trying to require the first three of the ten possible thumbnails image uploads. how do

[jQuery] Jquery [Validate plugin], validate without submit button

2009-05-07 Thread sjoerdm
Im having trouble to validate my form because I'm missing a submit button inside the form, I submit my form by another link outside the form. save ... Because I dont have a submit in my form the javascript doesnt get triggered I suppose, when I place a submit button in my form eve

[jQuery] jquery validate plugin. remote problem

2009-04-01 Thread david.0pl...@gmail.com
Hi, I'm sorry to bother, but I can't find enough documentation on this plugin I have this cose: $(document).ready(function(){ $("#form_reg").validate({ rules: { username: {required:true, minlenght:5, remote:"check_user.php"}, password: {r

[jQuery] [JQuery][Validate][Metadata] Custom error message.

2009-03-23 Thread Korro
Hello. I have code like this: I'm using Validate with Metadata. How can I add custom validating error message for this field? Thanks in advance.

[jQuery] jquery Validate

2009-03-17 Thread anush
Hello, I am using the validate plugin and displaying the errors using grouping technique. Works fine, and I get a single error message at the end of it. text: "text1 text2 text3 text4" }, errorPlacement: function(error, element) { if (element.attr("name") == "text1" || element.attr("nam

[jQuery] jquery validate

2009-03-16 Thread Egipicio
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 jquery?

[jQuery] jquery-validate issues with IE

2009-03-11 Thread phred78
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 missing something obvious. This is the page I'm talking about: ht

[jQuery] jquery validate issues with IE

2009-03-11 Thread phred78
Hi, I'm sorry if this is a double post but I can't find the original one. I'm having problems with jquery-validation on IE. It's working fine in every other browser. This is the page: http://www.thecentroexperience.com/de/wellness/contest/28/ It should validate all the fields, but in IE it wo

[jQuery] [jQuery][validate] plugin fails on Safari

2009-02-18 Thread George
Hi Folks, Wondered if anyone could help on this, I've been stuck on it for quite some time. I'm trying to validate a date field using a UK date, here's my code: $(document).ready(function(){ $('#arrival-arrival-date').datepicker({ minDate: new Date (),defaultDate: +1,dateFormat: 'dd/mm/yy

[jQuery] JQuery validate remote call allows form submission before call returns

2009-02-16 Thread Tarun
I believe I'm having a sync issue with the remote validate option. The sample form can be found at www.apylon.com/dagangnet. Basically, the issue is that the captcha is set up for remote validation, but before the result can be returned, the form can be submitted. How do I force the form to not

[jQuery] jquery validate error

2009-02-10 Thread crowincage
Hello, this is my first post - hope everthing goes fine :-) today I get a strange error trying to use the validation plugin from bassistance - used it several times before but never mentioned something like this (using latest v.1.5.1 & jquery 1.3.1). Firebug shows me following error (my code foll

[jQuery] jquery validate rules using css for dynamic controls

2009-01-30 Thread Bhavin
Hi, In my application, controls are generated dynamically. I want to know if I can configure rules by giving CSS classes and NOT by specifiying element name while validating the fields. I tried following code and works in some scenarios: var isValid = $("#questionAnswerForm").validate({

[jQuery] Jquery Validate access form elements whose name contains a period or special chars [validate]

2009-01-10 Thread phil
Hi In my validator rules and messages I'm trying to figure out how to specify a field name that contains a period. rules: { account.usernameEmail: { required: true, email: true } } This wi

[jQuery] jquery Validate on page load

2009-01-05 Thread nate
Is it possible to validate a form that is populated with data from a database on page load before the user clicks on anything? thanks

[jQuery] jQuery Validate plugin with cake php form won't submit

2009-01-01 Thread nate
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 seems that once the form is bound to the javascript it stops submitting the data. any

[jQuery] jQuery Validate and Show/Hide problems

2008-11-05 Thread Daniel
I am using jQuery show/hide functions on click, so when you click on the contact link it hides that div and then shows a contact form. Once you fill in the contact form and click submit it shows the thanks page div. I am using validation from here: http://bassistance.de/jquery-plugins/jquery-plu

[jQuery] Jquery Validate Dependency Callback Error Message?

2008-10-09 Thread alivemedia
I need to make sure that 1 field os less than the other so I am using the dependency callback feature and it's working but I cannot get an error message to display - anyone get this to work? Here is my code: $(document).ready(function(){ $("#AddPartner").validate({ rules: { Gl

[jQuery] JQuery validate problem

2008-10-06 Thread Bill
I have a problem.where i use the jquey validate plugin for my project. I want to use the validate like this: but it does not work . i should make the id and name property as same. or named the id as "cname" and name is "name" if i use the struts2 framework and want to use name like xxx.yyy,wh

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ //

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: [looks like i have to paste bin my

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ //

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ //

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ //

[jQuery] [jquery validate] Validating disabled inputs

2008-06-30 Thread oscarml
Hi, I have a problem with disabled input when I try to validate them. I use class="required" but the validation plugin doesn´t detect when is empty. Any idea?

[jQuery] jquery validate, addMethod strange behaviour

2008-03-26 Thread hosea46
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? Here the code: $.validator.addMethod("userExists", function(value, eleme