Re: Client-side validation is not working - rich

2003-06-06 Thread David Graham
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" %> ... ...

Client-side validation is not working - rich

2003-06-06 Thread Rich
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" %> ... ... ... Is there anything else I need to do to get the

RE: Client-side validation is not working - rich

2003-06-06 Thread Rich
= 0; var fields = new Array(); oMasked = new mask(); for (x in oMasked) { if ((form[oMasked[x][0]].type == 'text' || form[oMasked[x][0]].type == 'textarea' || form[oMasked[x][0]].type == 'password') &

RE: Client-side validation is not working - rich

2003-06-06 Thread David Graham
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

Re: Client-side validation is not working - rich

2003-06-06 Thread Gemes Tibor
Rich írta: 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? Yes. Debugging javascript is not easy with the help of IE. However mozilla has a buch of good tools. javascrpt console eg. Tib -

RE: Client-side validation is not working - rich

2003-06-06 Thread Rich
: 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=&quo

Re: Client-side validation is not working - rich

2003-06-06 Thread Kevin Robair
As one person already noted, we need more information. A couple of suggestions: 1. Open your browser's javascript console and look for errors. 2. Don't use requiredif with other validations, such as mask, if you want client side validation in rc1. It breaks the client side javascript (you'll kn