I set up a date field on a node and (with date restrictions) have set it to only accept start and end dates of monday through friday using the submodule provided. Unfortunately it will still allow me to create values that include legal start and end dates but include the restricted dates in between.

Is there a way to have module reject creation of the value if it includes the restricted dates? For example (restrict weekend days) Thurs through Tues is rejected.

Thanks

Comments

jonhattan’s picture

Version: 7.x-1.1 » 7.x-1.x-dev

So you want to allow a range within the same week mon-fri? and forbid for example an event starting on thursday and ending on monday the next week?

jonhattan’s picture

Status: Active » Postponed (maintainer needs more info)