• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Auto tabbing among text fields created with logic:iterate

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone help me perform auto tab among two text boxes that are created using <logic:iterate> of struts framework??

I am creating two text boxes using <logic:iterate>

code is here:

<logic:iterate id="textfield" name="form" property="newtextfield">

<html:text name="textfield" property="words" size="160" maxlength="160" indexed="true"/>

</logic:iterate>


Thanks in advance,
Parasuram
 
parasuram pareshaan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can write a javascript function to check for length of the string in the text box and when the limit is reached, I can focus to the next text box.

But, as the text boxes are created dynamically using logic:iterate, how can i access the second text box, as I dont have any identifier for that text box.
 
Whatever. Here's a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic