Is it possible to allow the user to select either only a year, or a month and year or a full date? All fields would be set to null at load and depending on the selection the data would be stored.
I am trying to create a timeline where some events only need a year while others need a month and year and others full date.
Let me know if there is a way to do it.
Thanks
Only if the jQuery datepicker field allows this type of setup https://jqueryui.com/datepicker/. As far as I know, there aren’t different values/fields for each part of the setting. It holds a single value representing a date.
Hi John,
It might have to be set up as a separate field type, rather than a configuration within the Date field, but a month picker has definitely been made using the jQuery UI picker. See this plugin here:
https://kidsysco.github.io/jquery-ui-month-picker/
Someone would need to build a new custom field type that uses that.