on 06-07-2008 11:59 AM
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you correctly connect the labels with the input fields by setting their "labelFor" property?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.