You need to sign in to do that
Don't have an account?
huniverse
get date value from inputfield
Hi all
I am displaying datepicker through following code
controller:
Task t = new Task();
public Date selecteddate = t.activitydate;
public Task getTask() { return t; }
page:
<apex:inputField value="{!task.activitydate}"/>
Is there any way to get selected date value from inputfield and pass it to controller. I want date from the above calendar and need to pass that date to event instance. Please suggest code sample, examples to explore more. I have searched but not able to solve the problem.
Thanks