Well when you use <apex:inputfield value="">. When you bind the value with field type of date/datetime it will automaticaly display calander on your VF page.Liket his:
Well when you use <apex:inputfield value="">. When you bind the value with field type of date/datetime it will automaticaly display calander on your VF page.Liket his:
Hello,
Well when you use <apex:inputfield value="">. When you bind the value with field type of date/datetime it will automaticaly display calander on your VF page.Liket his:
<apex:page standardController="Account" >
<apex:form>
<apex:inputField value="{!account.AshishPackage__SLAExpirationDate__c}"/>
</apex:form>
</apex:page>
Here AshishPackage__SLAExpirationDate__c is a custom field insdie Account with type Date. Think this will help you to resolve your problem.
All Answers
Hello,
Well when you use <apex:inputfield value="">. When you bind the value with field type of date/datetime it will automaticaly display calander on your VF page.Liket his:
<apex:page standardController="Account" >
<apex:form>
<apex:inputField value="{!account.AshishPackage__SLAExpirationDate__c}"/>
</apex:form>
</apex:page>
Here AshishPackage__SLAExpirationDate__c is a custom field insdie Account with type Date. Think this will help you to resolve your problem.
Hi,
If you are using properties for bind then you can use something like this.
<apex:inputText onfocus="DatePicker.pickDate(false, 'thepage:theform:txtDate1', true);" id="txtDate1" value="{!strDate}" />
where strDate is property.
if you are using a field of object to bind then you can use
<apex:inputField value="{!acc.WFFired__c}"/>
where WFFired__c is a field of account with datatype date/time and acc is a instance of account.
Hope this will help you...
Thank you for helping..