Saturday 31 October 2015

Use of autotab in ADF

This blog we will see how to use auto tab in ADF.
Some times in real life example you can see after filling the one textbox automatically it will move to next box. Screen is like the below
Let’s consider a requirement, we have two text box and while user entering the text after 3 character automatically we need to move to next text box.
The below steps we need to follow
1. Create two textbox.
2. Add maximumLength="3" and autoTab="true" for the first text box.
The code should looks like the below.


<af:inputText label="First Name" id="it1"
                           maximumLength="5" autoTab="true"/>
<af:inputText label="Last Name" id="it2"/>

Now run you application and after entering the first text automatically it will move to next.

Thanks..

No comments:

Post a Comment