Expand my Community achievements bar.

Tab order problem-skip/remove the button

Avatar

Former Community Member

Hi ,

I am using Adobe Live cycle designer ES and i wanto to skip few buttons during the tab oder .

find the below scenario.

taborder.png

Here i want to skip the  '+ ',' - ' button during the tab order. This is the subform based on the user interaction the subform count will increse(while clicks '+') or 

decrese(while clicks '-' ) and also i have few fields above and below of the sub form.

Now here i do not want to focus on the  '+ ',' - ' button during the tab order. I tried to use xfa.host.setfocus and  its working fine during the press 'tab'

but while press shift+tab again the control goes to  '+ ',' - ' button.

Is any control on tab order or logic to skip the '+ ',' - ' button during the tab order.

Advnce Thanks .

Dhiyane

1 Reply

Avatar

Level 10

Try placng the code in the Enter event of the button to setFocus to the next control in the form.

     xfa.host.setFocus("NextFieldName");

Thanks

Srini