On 9/11/2002 at 3:59 PM David Graham wrote: >Javascript doesn't like it when you use things like [ or ( in the name of >a >form field. There are several ways of coding the js and one of them >accepts >those characters (I think). So, you can still use javascript to validate >it >but you might have to change the method by which you do it. Of course, >when >I get around to learning the struts validator stuff I won't need to do the
>js portion (hopefully :-). Oh, that's easy. instead of: form.foo.value use form.elements['foo'].value Regarding the validator... I don't know how easy it will be to make the struts validator stuff play with dynamic form inputs. I fear it will be tricky to impossible, since the validator assumes you can enumerate all of the properties that it will be validating in its configuration file. Perhaps a struts validator guru may have a better answer. - donald -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>