function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manoj ReddiManoj Reddi 

how to move Curser from one fileds other fields on Visualforce Page ?

Hi

how to move Curser from one fileds other fields on Visualforce Page 

Thanks,
Manoj
V V Satyanarayana MaddipatiV V Satyanarayana Maddipati
Hi Manoj,

For <apex:inputField>, set tabOrderHint attribute value, which accepts integer value and for <apex:inputText>, set tabIndex attribute  as shown in code below :
Use TAB Key in the keyboard to move the cursor.
 
<apex:inputField value="{!Contact.LastName}" tabOrderHint="1"/>
<apex:inputField value="{!Contact.FirstName}" tabOrderHint="2"/>


<apex:inputText value="{!Con.LastName}" tabindex="1"/>
<apex:inputText value="{!Con.FirstName}" tabindex="2"/>
Hope this helps.

Regards,
Satya.
Manoj ReddiManoj Reddi
Hi Satyanarayana,

When giving to first input then directly curser will move to second input.Here all Fields are required.

Thanks,.
Manoj