I may need your help please. I have installed the "Date" module and using it with the date popup (datepicker). I need to have the popup just accepting Wednesdays and Fridays as dates.

Can anybody give me some help on this issue?

Thanks alot!


You can use Date Restrictions in conjunction with Weekdays to acomplish this.

Just download both projects and enable weekdays_date_restrictions module. Then edit the date field and go to "More settings and values" > "Date Restrictions" > "Allowed values" > Choose restriction type: weekdays.


Found a solution. Just use jQuery and it's beforeShowDay attribute to check out if a date should be valid.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.