Make sure you're calling the correct generated javascript function and that the function exists in the page. You could post the javascript specific to your form (not the standard js functions that the tag generates).

David


The JavaScript is output and is visible when I do view source in IE.  Is
there anything else that you need to know that would help solve this
problem?

Rich

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Client-side validation is not working - rich


What happens with that setup? Is any javascript output?


David

>I am having problems enabling client side (JavaScript) validation in struts
>1.1rc
>
>I have added these lines in my jsp:
> ...
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> ...
> <html:javascript formName="diaryForm" />
> ...
> <html:form action="/diaryEdit" focus="remindUserId" onsubmit="return
>validateDiaryForm(this);" >
> ...
>
>Is there anything else I need to do to get the client-side JavaScript
>validation to work. Right now only the server-side is working.
>
>Thanks,
>
>Richard Conover
>Developer
>MountainView Software Products and Services
>Gallagher Bassett Services, Inc.
>Phone: 801-544-2446 Ext. 320
>Fax: 866-741-0545
>[EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to