Freek and Shengmeng,
Thanks for the clarification. I understand now what I have to do! Dennis Freek Segers <freek.segers@co To: Struts Users Mailing List <[EMAIL PROTECTED]> ntingo.nl> cc: Subject: Re: Simple HTML form tag issue related to NAME attribute 01/09/2002 02:02 AM Please respond to "Struts Users Mailing List" Hi Dennis, What I tried to point out was that if you use <html:text property="myProperty"/> the tag library will generate <input type="text" name="myProperty" value=""> So you can use 'myProperty' as the name of the field, you just specify is with the property attribbute in Struts. Freek. on 08-01-2002 14:02 you wrote: > Thanks for responding. The problem is that I am trying to use the NAME > attribute in my Javascript code and if I put the NAME attribute in the > html:text tag, it means something special to Struts. I want Struts to > ignore the NAME attribute. > > Example: > <html:text property="myProperty" name="myTextField"/> > > I want Struts to ignore the name so that I can refer to the text field by > name in Javascript. > > Example. > <javascript> > validate(myTextField.value); > </javascript> -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>