Lost input focus when triggering the Listener #1645
-
I created a listener following the tutorial: https://orchid.software/en/docs/listener/ I have 6 fields which I use to calculate two values. When I fill in any of the 6 fields that are in the "$targets" when exiting (TAB key) it does the calculation but loses focus and does not go to the next field. Then you have to use the mouse to click on the next field. Orchid Version = '9.19.7' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
There is
Pressing tab will focus on next number, so in listener put 'number + 1' from your last field in screen and you can continue back in screen class with 'number + 1' from listener. It's no necessary to be in 'number + 1' as the next number just need to be larger than previous one like z-index. |
Beta Was this translation helpful? Give feedback.
-
Hi Kubre, I discovered what I´m doing wrong. I´ve put all input and calculated fields on the Listener. The Listener sends back the calculated values, and send HTML from input fields toguether, and so, loses the focus. Thanks, JP |
Beta Was this translation helpful? Give feedback.
Hi Kubre,
I discovered what I´m doing wrong. I´ve put all input and calculated fields on the Listener. The Listener sends back the calculated values, and send HTML from input fields toguether, and so, loses the focus.
I moved the input fields to Edit Screen and create two Listeners for each calculated field. Now this is working OK, but I´ve to mix several layouts to assembly the form.
Thanks,
JP