Hi,
I don't know if anyone can help, but I have an issue with the cusor not going where I expect it to in a list. I have a list control and have created 2 javascript fields in it that enable the user to edit the contents of the list directly. Now when the user tabs from one field to the next the onChange event triggers and that calls the lists updateTableRow method. This is removeing the focus from the list/form rather than moving the cursor to the next box. In some instances (this isn't consistent) it results in the user having to hit the tab key 11 times to end up where they need to be (in the next input box). I know it is the updateTableRow method that is doing this as when I comment that it it tabs beautifully.
Things I have tried:-
Removing the second input box does resolve the issue, but this isn't an option in reality. So my question is does anyone have any ideas how to force the cursor to be in the next input box?
Yours hopefully
Georgina
P.S. I have (once again) posted this in the wrong place. I am really sorry I will try to post in the right place next time. Please move this to Alpha Anywhere (Version 12) mobile and browser applications.
I don't know if anyone can help, but I have an issue with the cusor not going where I expect it to in a list. I have a list control and have created 2 javascript fields in it that enable the user to edit the contents of the list directly. Now when the user tabs from one field to the next the onChange event triggers and that calls the lists updateTableRow method. This is removeing the focus from the list/form rather than moving the cursor to the next box. In some instances (this isn't consistent) it results in the user having to hit the tab key 11 times to end up where they need to be (in the next input box). I know it is the updateTableRow method that is doing this as when I comment that it it tabs beautifully.
Things I have tried:-
- passing the optional setting of setFocustToTargetRow()
- using the {dialogue,object}.setFocus(fieldname_rownumber); as this is the generated id in the javascript field object I have created
- setting the setFocus in a number of places including the updateTable event in the list;
- the onChange event on the input box;
- the afterUpdateList event on the List
- removed references to the list data in the javascript
- jumping up and down
Removing the second input box does resolve the issue, but this isn't an option in reality. So my question is does anyone have any ideas how to force the cursor to be in the next input box?
Yours hopefully
Georgina
P.S. I have (once again) posted this in the wrong place. I am really sorry I will try to post in the right place next time. Please move this to Alpha Anywhere (Version 12) mobile and browser applications.
Comment