ok swap the return false stuff for the following:
in your text link:
<a href="javascript:chkBoxes();">click to submit</a>
and in the function:
if (!someChecked) {
alert('none were checked');
} else {
document.myformname.submit();
}
> -----Original Message-----
> From: Robertson-Ravo, Neil (REC)
> [mailto:Neil.Robertson-Ravo@;csd.reedexpo.com]
> Sent: 24 October 2002 12:40
> To: '[EMAIL PROTECTED]'
> Subject: RE: [ cf-dev ] Pointers / Structure again!
>
>
> Rich,
>
> The JS you posted the other day is AOK and works a treat, but
> I am trying to
> get it to be triggered via a text link with little
> success.... it doest seem
> to submit the form?
>
> it manages to validate that no boxes were checked but thats all!
>
> Any ideas?
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]