• Anna Proviz
  • NEWBIE
  • 15 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi,
Does any expert know how to set the focus to a specified field in the Visualforce Page?
Best regards!
  • October 23, 2008
  • Like
  • 0
Hi,
    I am using custom field of type date in my visualforce page as inputfield.  the code is like this
<apex:pageBlockSection title="Choose Date Range to generate Reports">
<apex:inputField id="fromdate" value="{!fromDateTask.From_Date__c}" id="fromdate"/><br/>
<apex:inputField id="todate" value="{!toDateTask.To_Date__c}" id="todate"/><br/>
</apex:pageBlockSection>.
   when ever the page is getting loaded the datepicker pop's up from the "fromdate" inputfield.  The datepicker should popup only when we click on it. How to avoid the popup onload event.
 
Thanks,
Joseph