cancel
Showing results for 
Search instead for 
Did you mean: 

tab selection on input field

Former Member
0 Kudos

hi

i have created two input fields and two label for it

as from year and to year

from year as label next a input field and

toyear as label then a inputfield , now when

i enter the year in the first input field and then press

tab button of the keyboard it moves to the label 'ToYear'

, iwant it to directly move to the next input field .

is this possible ? or is ther any other alternative ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

u can do this for that u have to check label for property of label ui element.

if u have two input field and two labels then give the proper name for each ui elements id like for first input field Input1 and for second input field Input2 and labels are label1 and label2

now set the labelfor property of each label means set label1's labelfor property = Input1

and for second label labelfor property =Input2.

this will resolve ur tab problem.when u press tab in input 1 it will go to input2.

Thanks and Regards

Trilochan

Former Member
0 Kudos

hi

thanks for ur quick responses ,

the problem got solved with the procedure u

have mentioned

Former Member
0 Kudos

Hi,

Just make sure that for labeling input fields u r using Label UI

element not Textview UI element.IF u r using Textview then

change it to Label and set LabelFor property.

Regards

Surender Dahiya

Former Member
0 Kudos

Did you correctly connect the labels with the input fields by setting their "labelFor" property?

Armin