I am using the cms editable date type in my website to show the date. The idea is as follows:
1) The user enters a title
2) The user enters a date - <cms:editable name='blog_date' type='datetime' format='mdy'/> . The date is shown <p class="sub"><cms:show blog_date /></p>
3) The user enters content
The issue I am facing is:
- How to restrict the user from omitting date entry. At the moment Couch allows the user to save the page without entering the date.
- How to make only Month and Year as mandatory Fields. At the moment if I enter a month and a year and proceed to save, it throws an error to enter the Day.
Kindly help!
1) The user enters a title
2) The user enters a date - <cms:editable name='blog_date' type='datetime' format='mdy'/> . The date is shown <p class="sub"><cms:show blog_date /></p>
3) The user enters content
The issue I am facing is:
- How to restrict the user from omitting date entry. At the moment Couch allows the user to save the page without entering the date.
- How to make only Month and Year as mandatory Fields. At the moment if I enter a month and a year and proceed to save, it throws an error to enter the Day.
Kindly help!