You need to sign in to do that
Don't have an account?

Calendar is not coming in <apex:inputfield> tag
HI every body,
I have
<apex:inputfield value="{!Eventinfo_startDT.Start_date_and_time__c}" id="Eventinfo_StartDTTest"/> this line in my visualforce page. The value in inputfield tag is datetime datatype.
Before, when I click in the textbox, calendar was appearing to select the date. But now when I click in the textbox calendar is not coming. I think there is some issue in it.
I spend a lot of time to resolve the issue, but unable to resolve. Can some body please help me regarding this.
Thanks,
Naresh
Hi,
I have checked your code and it worked for me.
Have you checked for any javascript errors. It may happen that coz of javascript errors the calender is not loading.
All Answers
Yes, this is the same issue we are facing.
someone from salesforce team should respond and look at this with priority.
Hi,
Could you paste the controller code for "{!Eventinfo_startDT.Start_date_and_time__c}" ?
Earlier i have also got this problem.But there i overcome with overriding new button with another vfpage
Hi,
I think if you are using the "Custom Controller" then you need to bind some dummy object with the <apex:inputField> for DateTime. If you are using the standard controller then the calender should come or may be some problem related with the browser.
If you could post your controller code here, that can be helpful.
yes I used Custom controller.
My controller code
Visualforce page code is
I hilightd the related code with big fonts please help me.
Thanks,
Naresh
Hi,
I have checked your code and it worked for me.
Have you checked for any javascript errors. It may happen that coz of javascript errors the calender is not loading.
I had the same issue.
Check this post:
http://boards.developerforce.com/t5/Visualforce-Development/DatePicker-issue/m-p/271437#M34863
Excellent guess ! Thanks a lot for your help.
Really I spent many hours to resolve this problem. :(
Really thanks a lot for your kind help. I removed the starting lines of JavaScript, now I am able to see calendar.
It worked great :)
Thanks,
Naresh