You need to sign in to do that
Don't have an account?
Royal
data picker on VF custom page
HI,
I have requirments need to create new custom VF page with only controller no standaradController.
problem is i have to display data picker for start date and end date fields.
so i have used <apex:input type="date" it is not working in IE, Mozilla browers
if use <apex:inputText value="{!caseStartDate}" size="10" id="caseStartDate" label="Start Date" onchange="caseDateValidates()" onclick="DatePicker.pickDate(false, this , false);" />
here onchange not working...
any other way to get date picker on VF page and pass the date values to controller based on onchange event ....
Thanks
I have requirments need to create new custom VF page with only controller no standaradController.
problem is i have to display data picker for start date and end date fields.
so i have used <apex:input type="date" it is not working in IE, Mozilla browers
if use <apex:inputText value="{!caseStartDate}" size="10" id="caseStartDate" label="Start Date" onchange="caseDateValidates()" onclick="DatePicker.pickDate(false, this , false);" />
here onchange not working...
any other way to get date picker on VF page and pass the date values to controller based on onchange event ....
Thanks
<apex:inputField value="{!acc.Date__c}"/>
I'd suggest if the page is not that complex, declare a dummy object which has a Date type field and bind it with the page.
Controller: Page
--------
And also you can try onfocus instead of onclick.
Please accept my solution as Best Answer if my answer was helpful. It will make it available for other as the proper solution. If you felt I went above and beyond, you can give me kudos.
Thanks and Regards
Sandhya