Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

i am showing my date field value in input field in page block section as follows. but calendar is not rendering when i click on this field. please suggest aomething. Thanks in advance.

                    <apex:outputLabel value="Date"/>
                    <apex:inputField required="{!OR(f.required,f.dbrequired)}" value=" {!details[f]}"/>
share|improve this question

2 Answers 2

up vote 2 down vote accepted

You have probably set standardStylesheets properties to false in apex:page element. like below :-

<apex:page id="page" controller="ApplicationInfoController"     
   tabstyle="Application_Info__tab"  standardStylesheets="false" 

remove this from here.

share|improve this answer

It looks like you are using field sets to render the page. Please check if you have added your date field in the field sets.

share|improve this answer
yes i have added the field.it is showing also but problem is calendar which is by default associated with date field in salesforce is not showing –  Pankaj Jan 23 '13 at 9:52
I tried a simple example, and it worked fine for me. If you coud paste your code, may be it will be easy to identify. Adding my code below. –  Shailesh Deshpande Jan 23 '13 at 10:15
TypeError: a is null cp8.visual.force.com/jslibrary/1458245875/sfdc/main.js Line 86 I am getting this javascript error. –  Pankaj Jan 23 '13 at 10:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.