CustomValidator?

R

Rocky Moore

I have a form with a CustomValidtor that has this client side script:

<script language="javascript">
function catValid(source, arguments)
{
alert("Ding");
arguments.IsValid=false;
return;
}
</script>

And the custom validator is:

<asp:customvalidator id=catReq runat="server" ErrorMessage="Missing!"
Display="None" ClientValidationFunction="catValid"></asp:customvalidator>

It works just like I would expect in IE, but in Mozilla I never get the
alert nor does the validation message ever appear.

Any ideas? Something else I need to look at?

Rocky Moore
http://www.GotTheAnswerToSpam.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top