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 validat
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 valida
thanks!
On Sep 22, 1:09 pm, Michael Geary 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
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
O
Wow I finally got it... updated code here:
referrerother: {
required: function(element){
if
($('#chkStatus5').is(':checked')){
return true;
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){
$('#referrer-chkStatu
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
oohh that is just plain wonderful. thank you very much :)
On Sep 22, 9:56 am, Loony2nz wrote:
> Check out this example:
>
> http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validat...
>
> On Sep 22, 9:35 am, ripcurlksm wrote:
>
> > I have a "How did you hear about us?" with a serie
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 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 "Other", where they
>
9 matches
Mail list logo