I have added a visualforce page to one of our case's page layouts. The Visualforce page has an input field and that's it, you insert the input yourself and hit save.

Users in my org are complaining that every time they view a case, it 'jumps' to the section of the visualforce page. it's like the VF page's input has autofocus attribute or something.

Can someone provide a solution for this?

VF Page:

<apex:page standardController="Case" extensions="CreateRelatedAppsInCaseExtension">
    <apex:form id="rerenderForm" rendered="true">
        <apex:messages />
        <apex:inputText value="{! searchBy }" style="float:left;" styleClass="searchBy" />
        <apex:commandButton value="Search" action="{!search}" reRender="rerenderForm"></apex:commandButton>


Browse other questions tagged .