Hi All,
  I have a question about struts tags for FORM.
  How do u assign a name to a form for later reference... 

  In normal tags, we say...
  <form name="myForm" action="my URL">
 
  and in Struts, we say 
  <html:form action="LevelCreate.do" enctype="multipart/form-data"
focus="level">

The form name is required to refer to the form elements like text
fields, in Java Script functions.
Currently I'm referring to the fields as
"document.forms(0).empid.value". But its not a good practice to refer a
form like this. 

Regards,
  Pritika


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

Reply via email to