Link to home
Start Free TrialLog in
Avatar of vizint
vizintFlag for United States of America

asked on

Input Text Form - Use Tab and Arrow(Cursor) Keys to change focus

I've created a form that the user enters numeric values in to a series of text Input fields. I want to allow the user to use the arrow (cursor) keys in addition to the tab keys to control the active focus of the fields.

I set up a 2D array with the names of the input fields as values. I'm trying to call the name of the input field from the array and then assigning the focus, but I'm getting Error 1067 implicit coercion errors.

stage.focus=nextCellName;
stage.focus=prevCellName;

Any help is appreciated!
tab-arrow-focus-r2.fla
ASKER CERTIFIED SOLUTION
Avatar of cconstable_work
cconstable_work

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vizint

ASKER

Wow... simple solution, I appreciate the help!