Hi,
I have a requirement. User wants to see only month and year in date picker control. We have to remove date field from date picker control. Do we have any option to show only month and year in date picker control.
This is sharepoint list customize form. Please give me your valuable solution.
Thanks
Rajan
Solved! Go to Solution.
Hi @Rajan,
Could you please share a bit more about your scenario?
Do you want to only display Month value and Year value within the Date Picker control?
If you want to only display Month value and Year value within the Date Picker control, I have made a test on my side, please take a try with the following workaround:
Set the Format property of the Date Picker control to following formula:
"mmmm, yyyy"
Or
"mm/yyyy"
Or
"mmm, yyyy
Please take a try with above solution, then check if the issue is solved.
Best regards,
Hi @Rajan,
There is no way to change the appearance of a datepicker control but you could replace the control with two dropdown controls. One control with items [“Jan”,”Feb”, etc] the other with a consecutive series of Years.
Hi,
I gave couple of options to the user.
1) one drop down with month value and using formula I can concate month with default year value to show it like January 2019.
2) Dropdown for Month and Dropdown for Year and concate both display it.
But he wants it should be shown in calendar picker. As per your reply i understood that feasibility is not available.
Thanks for your quick response. I appreciate your support.
Hi @Rajan,
Could you please share a bit more about your scenario?
Do you want to only display Month value and Year value within the Date Picker control?
If you want to only display Month value and Year value within the Date Picker control, I have made a test on my side, please take a try with the following workaround:
Set the Format property of the Date Picker control to following formula:
"mmmm, yyyy"
Or
"mm/yyyy"
Or
"mmm, yyyy
Please take a try with above solution, then check if the issue is solved.
Best regards,
Hi,
Thanks for your quick response. It helps to solve my problem partially.
Actually user wants date should not be displayed in date picker control. Only Month and year he has to select. But your solution helped me to convience the user.
Thank you so much.
User | Count |
---|---|
142 | |
137 | |
78 | |
73 | |
70 |
User | Count |
---|---|
228 | |
139 | |
78 | |
61 | |
56 |