Avatar

Level 4

Hi,

I have a table on my form. If the user hits the tab key on the last field of the last row I want to add another row (as this happens in MS-Word tables for example).

My problem is: How do I find out what inititated an exit event on my field? Was it a tab key or did the user click with the mouse someplace else?

I would like to write something like

     if (xfa.event.trigger = "TABKEY") { ... }

Hope someone had had the same problem already.

Uli