Closed (fixed)
Project:
Scheduler
Version:
6.x-1.7
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2010 at 09:40 UTC
Updated:
27 Nov 2010 at 19:00 UTC
Is it possible to make the schedule fields mandatory / required ?
Comments
Comment #1
eric-alexander schaefer commentedWhy would you want to do that?
Comment #2
mjstone323 commentedIn my case - I am trying to get people who post jobs on our site to decide when their posting expires, instead of expecting me to unpublish it for them.
I am having a dickens of a time trying to figure out how to set a default "unpublish date", since the "unpublish" field isn't a CCK field, and therefore doesn't show up in Rules when I try to create a rule to make this happen. Requiring the Schedule fields in my form would be an acceptable alternative.
Comment #3
iancawthorne commentedI would like required fields as an option because I have a content type for job vacancies. All job vacancies are closed after a certain date and there a over 20 different admins who can submit job vacancies.
These 20 admins must be forced to enter a unpublish date so that the vacancies do not get left open to apply for after that date.
Comment #4
eric-alexander schaefer commentedOK, I understand. It can not be done now, but it could actually be useful. I will be looking into it when I get around it...
Comment #5
eric-alexander schaefer commentedhttp://drupal.org/cvs?commit=450260
Should be avalable through 6.x-1.x-dev in a couple of hours.
In the node type form is now a checkbox each for publishing and unpublishing to make either one (or both) required. The scheduler fieldset in the node edit form is never collapsed if at least one field is required.
Comment #6
iancawthorne commentedThanks for adding this feature. Much appreciated.