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
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:
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
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
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
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
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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;
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
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
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
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
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
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
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
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
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.
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
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?
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
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
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
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
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
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({
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
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
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
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
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
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
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(){
//
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
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(){
//
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(){
//
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(){
//
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?
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
54 matches
Mail list logo