[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Weyert de Boer
Hmm, could you have a look at the page again? Do you know why it's adding the error message twice? Once after the -element of the validating element and after the container div of the page itself? On Wed, Oct 15, 2008 at 9:45 AM, Weyert de Boer <[EMAIL PROTECTED]> wrote: > He

[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Weyert de Boer
Heh. I must have been dreaming last night. Thanks anyways. > Whats wrong with that page? Works for me just fine.

[jQuery] Re: [validate] Validation code in separate file, fails to work

2008-10-15 Thread Weyert de Boer
On Wed, Oct 15, 2008 at 12:05 AM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > There are lot of reasons why the included file didn't work, and its > hard to tell without looking at it. I recommend to use Firebug: Check > the Net tab to see if the file was actually loaded. Yes, the file is just loa

[jQuery] [validate] Validation code in separate file, fails to work

2008-10-14 Thread Weyert de Boer
Hello! I am curious how I can add all the validation code in a separate file. I have put the code in a javascript file then included it. Only it ain't working then. Do I need to do something special for this work? I have like this in the file: $(document).ready(function() { var validator =

[jQuery] Re: [validate] Ignore hidden form fields from the validation

2008-10-10 Thread Weyert de Boer
the option ignore: > ".customClassHidingElements". > > Jörn > > On Fri, Oct 10, 2008 at 12:23 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: >> >> Hello! >> >> I am currently hiding or showing specific form fields depending on >> specific conditio

[jQuery] [validate] Ignore hidden form fields from the validation

2008-10-10 Thread Weyert de Boer
var condition = eval("itemValue == 'd'"); if ( condition ) { toggleItems.show() } else { toggleItems.hide() }; }); Yours, Weyert de Boer

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread Weyert de Boer
en(':selected').val(); > alert("itemValue=" + itemValue + " >" + this.id); > }); > > -ricardo > > On Oct 9, 11:01 am, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: >> I also have tried item.attr("value") but that didnt work either. >

[jQuery] Re: Getting value of form field

2008-10-09 Thread Weyert de Boer
Hmm, it's only not hiding the -items which are listed while I modifeid the code a bit so

[jQuery] Re: Getting value of form field

2008-10-09 Thread Weyert de Boer
Argh! Again hit by the same issue. Missing #. On Thu, Oct 9, 2008 at 4:17 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: > I am trying to get the value of a form field so I can construct a > condition for use with eval(). Only I am having trouble to get the > value of the given fo

[jQuery] Getting value of form field

2008-10-09 Thread Weyert de Boer
ot; >" + item + " >> " + item.value + " >>> " + item.val() ); }); Now the result of this is that only the item outputs [object] in Firefox and the rest of the variables used in the alert() all return undefined. Anyone know why? Thanks! Weyert de Boer

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread Weyert de Boer
I also have tried item.attr("value") but that didnt work either.

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread Weyert de Boer
xpect it would be the value of the selected option of the combobox. Do I need to solve this somehow differently? Yours, Weyert de Boer

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-08 Thread Weyert de Boer
I think the plugin design will get problematic if you try to use it in Europe where don't use the am/pm system but just the 24hours clock instead. This would probably make the widget huge. On Wed, Oct 8, 2008 at 9:33 PM, h3 <[EMAIL PROTECTED]> wrote: > > For the past two days I've been working on

[jQuery] Re: Why is this not working?

2008-10-08 Thread Weyert de Boer
Thanks! That's it! Now it's working. I totally missed the hash. Thanks again! Now it's working. Only strange that it will only do the client-side validation when the action-attribute of the form is empty or working internet location. Otherwise hops to the value of the action-attribute directly w

[jQuery] [validate] Why is this not working?

2008-10-08 Thread Weyert de Boer
Hello! I have been working on my form. Only somehow it doesn't want to work: http://www.dustyfrog.nl/jquery/ What could be wrong? I am not getting any errors in Firefox's Error Console :( Thanks in advance! Yours, Weyert

[jQuery] Re: [validate] Modify the position of the validation message

2008-10-08 Thread Weyert de Boer
d errorLabelContainer options: > http://docs.jquery.com/Plugins/Validation/validate#toptions > > Jörn > > On Wed, Oct 8, 2008 at 4:10 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: >> >> Would it also be possible to show all the same errors in a > id="error

[jQuery] [validate] Modify the position of the validation message

2008-10-08 Thread Weyert de Boer
de Boer

[jQuery] Re: [validate] Modify the position of the validation message

2008-10-08 Thread Weyert de Boer
Would it also be possible to show all the same errors in a -container and also near the form field itself? On Wed, Oct 8, 2008 at 4:10 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: > Hello > > I am currently trying to implement jQuery.validate in my code > generator for creatin

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-07 Thread Weyert de Boer
function() { > $("#fieldQ, fieldR")[ this.checked ? "show" : "hide" ](); > }); > > Jörn > > On Tue, Oct 7, 2008 at 8:56 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: >> >> Hello! >> >> I am currently trying to use the val

[jQuery] [validate] Showing/hiding fields depending on conditions

2008-10-07 Thread Weyert de Boer
should show fieldQ, fieldR. If not it should hide. Are there any way to do this easily with jQuery and it's validation plugin? Thanks! Weyert de Boer