Date Picker in Visualforce page (without using JavaScript)
Page:
<apex:page controller="dataPick" docType="html-5.0">
<apex:form >
The Date is: <apex:input type="date" value="{!datee}"/>
</apex:form>
</apex:page>
The Date is: <apex:input type="date" value="{!datee}"/>
</apex:form>
</apex:page>
Class:
public class dataPick {
public Date datee {get;set;}
public dataPick() {}
}
public Date datee {get;set;}
public dataPick() {}
}
Similarly, try:
<apex:page standardcontroller = 'Account'>
<apex:form>
<apex:inputfield value="{!Account.theDateField__c}"
</apex:form>
</apex:page>
<apex:form>
<apex:inputfield value="{!Account.theDateField__c}"
</apex:form>
</apex:page>
Comments
Post a Comment