Hi Experts,
I want to place the cursor/focus on input field based on the action triggered .
I have a WD comp where I have 3 buton on view having 3 action attached to it . Let it be action1 action2 & action3 . let there are 3 input field say inp1 inp2 and inp3.
I want that if action1 has triggered then cursor/focus should go on inp1. And if action2 triggered then inp2 .
So Please provide me the code that I should write in eventhandler ONACTION1 . so the focus go on inp1.
I know how to set focus on a particular input field using method REQUEST_FOCUS_ON_VIEW_ELEM. and write in WDDOMODIFYVIEW.
But I don't want to fixed cursor/ focus only on one input field rather I want to set focus based on action triggered. I don't know how to use FOCUS_BY_CONTEXT_ELEMENT method.
Thanks in advance.