Man, you thought of everything. Thank you.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Jörn Zaefferer
Sent: Tuesday, March 24, 2009 10:42 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Validation plugin: combine functions
> }
> }
> }
>
>
> andy
>
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Jörn Zaefferer
> Sent: Monday, March 23, 2009 5:34 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: V
}
}
andy
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Jörn Zaefferer
Sent: Monday, March 23, 2009 5:34 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Validation plugin: combine functions with strings on
remote error
Passing a f
groups.com
Subject: [jQuery] Re: Validation plugin: combine functions with strings on
remote error
Passing a function as a message happens all the time when using
$.format("... {0}") as messages. The function is expected to return the
formated message, so you can just return the string value
Passing a function as a message happens all the time when using
$.format("... {0}") as messages. The function is expected to return the
formated message, so you can just return the string value you want to
display at the end of your function.
Jörn
On Mon, Mar 23, 2009 at 10:39 PM, Andy Matthews
w
The groups-option is processed by the plugin and added to the
validator object. So inside your errorPlacement-method you should be
able to use this.groups[element[0].name] to get the group for that
element, if any.
Jörn
On Fri, Mar 20, 2009 at 4:32 PM, doutu wrote:
>
> If this feature exists n
I've released an update to the validation plugin, including a demo
showing integration with jQuery UI tabs:
http://jquery.bassistance.de/validate/demo/tabs
Jörn
On Tue, Jul 8, 2008 at 10:56 PM, peace4theapes wrote:
>
> Diego,
>
> Thanks for the reply. I tried this idea but it threw up another
>
In case anyone else stumbles upon this, I will give my solution to the
problem (hours later, of course).
So the issue is that Facebox is using the clone() method to move the
DOM elements around in $.facebox.fillFaceboxFromHref. Now a fix that
worked on some of my pages was to simply using the ot
Ah ignore. Team member left of method attribute.
On Feb 25, 9:07 am, kevinm wrote:
> Jörn ,
>
> New issue, that is related.
>
> When I use form.submit() inside the modal window it does not submit
> correctly.
>
> When we did this (before applying validate)
>
> function submitForm() {
> d
Jörn ,
New issue, that is related.
When I use form.submit() inside the modal window it does not submit
correctly.
When we did this (before applying validate)
function submitForm() {
document.myform.submit();
parent.$.nyroModalRemove(); // this closes the modal window
Here's hoping the next one finds this:
http://docs.jquery.com/Plugins/Validation#Too_much_recursion
Jörn
On Tue, Feb 24, 2009 at 7:01 PM, kevinm wrote:
>
> Ah, makes total sense. Thanks
>
> On Feb 24, 1:01 pm, Jörn Zaefferer
> wrote:
>> $(form).submit() triggers another round of validation, res
Ah, makes total sense. Thanks
On Feb 24, 1:01 pm, Jörn Zaefferer
wrote:
> $(form).submit() triggers another round of validation, resulting in
> another call to submitHandler, and voila,recursion. Replace that with
> form.submit(), which triggers the native submit event instead and not
> the vali
Actually I think it is working - I h=just wasn't removing the lable
withthe onclick
thanks
On Feb 24, 5:34 pm, kathb4 wrote:
> I am trying to use the validation plugin to validate a set of
> checkboxes which are created by my CMS (drupal) so are not changeable
> - and which look like this:
>
>
Im a little new to the plugin myself, but do you have a wrote:
> I am trying to use the validation plugin to validate a set of
> checkboxes which are created by my CMS (drupal) so are not changeable
> - and which look like this:
>
>
>
> class="form-checkbox" /> a. Tanks (Oil, fuel chemicals)
$(form).submit() triggers another round of validation, resulting in
another call to submitHandler, and voila, recursion. Replace that with
form.submit(), which triggers the native submit event instead and not
the validation.
Jörn
On Tue, Feb 24, 2009 at 4:58 PM, kevinm wrote:
>
> James,
>
> We j
James,
We just ran into the same issue. In my case we are opening a modal
window with nyroModal. Here is the validate function.
var myValidate = $("#myform").validate({
ignoreTitle: true,
focusCleanup: false,
ignoreTitle: tr
visit here for all free stuff and check out our other free sites.
http://tinyurl.com/d2t3sh
http://tinyurl.com/aej94c
http://tinyurl.com/c7khum
http://tinyurl.com/aznmhq
http://tinyurl.com/bempdf
Pastikan Supervisor Anda hadir dalam workshop ini !!
Introduction
Dalam konteks struktur organisasi po
I've made $109 on this free sportsbetting site, and my friend currently has
over
$200!...
You start with 10 cents and when you get to $20 you can cash out or keep going!
Check it out...
http://www.centsports.com/?opcode=289473
Raymond Camden wrote:
>
> Ticket #4213
> http://d
Ticket #4213
http://dev.jquery.com/ticket/4213
On Feb 22, 4:06 pm, Jörn Zaefferer
wrote:
> Yes, preferably with a little usecase description. Helps providing
> appropiate examples.
>
> Jörn
>
> On Sun, Feb 22, 2009 at 11:02 PM, Raymond Camden wrote:
>
> > Should I file an enhancement report for
Yes, preferably with a little usecase description. Helps providing
appropiate examples.
Jörn
On Sun, Feb 22, 2009 at 11:02 PM, Raymond Camden wrote:
>
> Should I file an enhancement report for it?
>
>
>
> On Feb 22, 3:32 pm, Jörn Zaefferer
> wrote:
>> Nope, simply doesn't exist yet. For other
Should I file an enhancement report for it?
On Feb 22, 3:32 pm, Jörn Zaefferer
wrote:
> Nope, simply doesn't exist yet. For other options, you can just add
> them at runtime:
>
> var validator = $(...).validate();
> validator.settings.onfocus = ...;
>
> Though in this case, the groups-option i
Nope, simply doesn't exist yet. For other options, you can just add
them at runtime:
var validator = $(...).validate();
validator.settings.onfocus = ...;
Though in this case, the groups-option is preprocessed when
initializing the plugin, so just updating validator.settings.groups
isn't enough.
Consider using a watermark plugin that uses labels positioned over the
input instead of one that modifies the actual input. They are in the
"overlabel" category, see http://jqueryui.pbwiki.com/Watermark for a
list of watermark/overlabel plugins.
Jörn
On Fri, Feb 20, 2009 at 2:45 AM, marc0047 wr
Bump.
I'm having the same issue as well. Anyone one with any good hints or
links?
On Jan 27, 5:22 am, iDan wrote:
> Hi,
>
> I'm using the validation plugin which is really cool but I'm also
> using it along side theexampleplugin (http://mucur.name/system/
> jquery_example/).
>
> My form validat
Validation has a submitHandler option that you can define to callback
when the form is valid. You should put your window.open in there. And
then change the 'target' of your form to point to the name of that
opened window.
That way when the form does not validate, the window will not open.
On Feb
Validation has a submitHandler option that you can define to callback
when the form is valid. You should put your window.open in there. And
then change the 'target' of your form to point to the name of that
opened window.
That way when the form does not validate, the window will not open.
On Feb
When it validates successfully it opens a small window and displays
"Saved" if the SAVE button is selected. I also open the small window
and make it larger to preview the page. The actual form never goes to
a next page, it's used to update, preview and email a newsletter. It
works correctly with t
I think you should remove that onsubmit attribute on the form. What is
that suppose to be used for?
When you submit a form, and it validates successfully, it'll open a
new window and display the next page on there?
On Feb 19, 8:54 am, winstonc wrote:
> Thanks James that fixed it.
>
> Next probl
Thanks James that fixed it.
Next problem that the latest version of the plugin executes the
onsubmit when the validation fails.
When the validation fails I get an empty window with:
Version 1.4 of the validation plugin works correctly.
Thanks,
Winston
On Feb 19, 1:20 pm, James wrote:
> Mak
Make sure you have the latest version of the validation plug-in also
(1.5.1 as of this time).
On Feb 19, 6:22 am, winstonc wrote:
> Hi,
>
> Trying to upgrade from Version 1.2.6 to 1.3/1.3.1, but my validation
> stopped working.
>
> Here's my working code:
>
>
>
> script>
>