MacRat101
02-09-2011, 11:14 PM
Hi,
My radio button validation stopped working (weird) and is causing all validation beneath this block to stop working as well.
______________________________________________________________________________________
if (!form.Creditcard_Type[0].checked &&
!form.Creditcard_Type[1].checked &&
!form.Creditcard_Type[2].checked)
{ alert("Please select a card type"); form.Creditcard_Type[0].focus(); return; }
______________________________________________________________________________________
If I remove the ! before the word "form" IE "!form" everything below this block works. But the radio button validation block still doesn't work.
Could someone please help ... if you could copy, edit & paste the entire block ... it would probably be easier.
Thanks
My radio button validation stopped working (weird) and is causing all validation beneath this block to stop working as well.
______________________________________________________________________________________
if (!form.Creditcard_Type[0].checked &&
!form.Creditcard_Type[1].checked &&
!form.Creditcard_Type[2].checked)
{ alert("Please select a card type"); form.Creditcard_Type[0].focus(); return; }
______________________________________________________________________________________
If I remove the ! before the word "form" IE "!form" everything below this block works. But the radio button validation block still doesn't work.
Could someone please help ... if you could copy, edit & paste the entire block ... it would probably be easier.
Thanks