Tuesday, 7 February 2017

How to tab Order for the fields in visualforce page?

We can use the attribute tabOrderHint of visualforce page to control tab order.

<apex:inputField value="{!Account.AnnualRevenue}" tabOrderHint="1"/>



<apex:inputField value="{! oppyContact.Contact_Street_Address__c}" tabOrderHint="1"/>
<apex:inputField value="{! oppyContact.Contact_Country__c}" tabOrderHint="3"/>
<apex:inputField value="{! oppyContact.Contact_State_Province__c}" tabOrderHint="2"/>
                    
<apex:inputField value="{! oppyContact.Contact_Zip_PostalCode__c}" tabOrderHint="4"/>

2 comments:

Unknown said...

Hi, Good Work... can you post along with output screens, will be helpful..

Venkatesh said...

an you post along with output screens