views:

139

answers:

2

I have an inline on a model with data with a fixed length, that has to be entered very fast, so I was thinking about a way of "tabbing" through fields automatically when the field is filled...

Could that be possible?

+1  A: 

Sure it's possible, but it will need some javascript. You'd want to bind an event to the keypress event on each field, and when it fires test the length of the text entered so far - if it matches, move the focus onto the next field.

Daniel Roseman
A: 

I can recommend the following links:

gernberg