You need to sign in to do that
Don't have an account?

Date Input option
Hi,
I need to provide a custom filtering option, I'm developing a VF page where I've a textbox for searching contacts, now, I want to re-defin the interface where I need to provide an Input Box with an associated calendar control to pick DATE, and then on search I need to pass on the selected date value to the query so that filtered records are defined on the entered parameters.
How can I place a simple HTML textbox and a popup calendar to select date and then Use the selected value and have the value used in Controller Class for filtering records?
Can we use jQuery calendar plugins etc here in VisualForce page ?
I need to provide a custom filtering option, I'm developing a VF page where I've a textbox for searching contacts, now, I want to re-defin the interface where I need to provide an Input Box with an associated calendar control to pick DATE, and then on search I need to pass on the selected date value to the query so that filtered records are defined on the entered parameters.
How can I place a simple HTML textbox and a popup calendar to select date and then Use the selected value and have the value used in Controller Class for filtering records?
Can we use jQuery calendar plugins etc here in VisualForce page ?
All Answers
And I need to know how can I have a Datepicker Control THAT IS NOT DATABOUND, i know, if I databound a field in salesforce, it will automatically convert the text field to datepick control, but this Datepick control i need is to be Stand alone, that needs to select date, and pass the value to APEX class.
I think this is a much easier solution to get what you need rather than trying to roll your own javascript date picker.
here is the Solution i created for implementing date picker:
http://wiki.apexdevnet.com/index.php/Code_Samples#jQuery_DatePicker_Component_for_Selecting_Date_in_VisualForce_Page - http://wiki.apexdevnet.com/index.php/Code_Samples#jQuery_DatePicker_Component_for_Selecting_Date_in_VisualForce_Page
Here i've created and used jQuery to create a Custom Component for DatePicker on VisualForce Page :)
Message Edited by TehNrd on 12-03-2008 09:04 AM
Hello,
I am using the datepicker of the jquery as well but I want to know how to use the selected date value to pass it to my controlelr. Please help.
Thanks,
Sally