Hi All,
I would like to display a DatePicker
where the year field would be visible or not, according to a checkbox.
But I didn't find anything giving me a way to implement it.
Any idea please ?
Thanks in advance.
Hi All,
I would like to display a DatePicker
where the year field would be visible or not, according to a checkbox.
But I didn't find anything giving me a way to implement it.
Any idea please ?
Thanks in advance.
I think the Any+Time™ DatePicker/TimePicker AJAX Calendar Widget might work for you. It has the ability to chose which fields to use and a friend told me it works well on his Android phone. Simply test whether the checkbox is checked and then create the picker with a format string that either does, or does not, contain a year specifier, accordingly.
As it's not possible to remove the year field from a DatePicker
, I finally decide to add a CheckBox
"ignore the year field" in order to implement a solution.