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
sfdcvirajsfdcviraj 

Whats wrong with this DatePicker?

<apex:pageBlockSectionItem >
     <apex:outputLabel value="From Date"/>                    
      <apex:inputField value="{!CustomObject__c.From_Date__c}" id="fromDate" />
</apex:pageBlockSectionItem>

I'm trying to use this simple datepicker which has the date type  as date/time. When I try to use in my VF Page and click on the field, the datepicker doesn't pop-up.

What's wrong? Pls help.
 
sfdcvirajsfdcviraj
On running the page, I see the below:

User-added image

If I click on the text inside, the date picker like below, but it deosn't pop-up.
User-added image
Stuck here bad. I know it might be a small mistake, peer review helps sometimes.
 
Amit Chaudhary 8Amit Chaudhary 8
Please check below Post. I hope that will help you
http://www.infallibletechie.com/2012/11/date-picker-in-visualforce-page.html

Change the visualforce page version to 27 - 28 in order for DatePicker to work
sfdcvirajsfdcviraj
Mine version is 34, latest one. Shouln't that work straight?

Standard type seems not working. Tried with version 28 too. Still same. Haven't tried as mentioned in above link as I have already seen.