[jQuery] Re: jQuery Validate (bassistance)

2009-09-26 Thread emmabu...@live.co.uk
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

[jQuery] Re: jQuery Validate (bassistance)

2009-09-26 Thread emmabu...@live.co.uk
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

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread Loony2nz
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 kevin.mccorm...@cox.net 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

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
oohh that is just plain wonderful. thank you very much :) On Sep 22, 9:56 am, Loony2nz loony...@gmail.com wrote: Check out this example: http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validat... On Sep 22, 9:35 am, ripcurlksm kevin.mccorm...@cox.net wrote: I have a How did

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
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

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
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){

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
Wow I finally got it... updated code here: referrerother: { required: function(element){ if ($('#chkStatus5').is(':checked')){ return true;

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread Michael Geary
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 On

[jQuery] Re: jQuery Validate (bassistance)

2009-09-22 Thread kevin.mccormick
thanks! On Sep 22, 1:09 pm, Michael Geary m...@mg.to 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