Hi,
I’m using MyEclipse to create a STRUTS web application intended for older people. I have a form with several input fields. The usual way I’d do this is:
<label for=”fa”>Favourite Activity</label>
<input type=”text” name=”otherActivity” id=”fa”>
so the label tag picks up the “id” of the field, and users don’t have to be too precise with their mouse clicks. All well and good.
I’d like to use the <html:text property=”otherActivity” /> tag to save time, but it won’t accept the “id” attribute, so my <label> is no good.
Has anyone else come across this? Could anyone suggest a work around?
Many thanks,
James.