Hi all,

I use a webform to let people subscribe to a weekly diner on Fridays.
How can I change the date filed to only allow Fridays to be selected?

Comments

Snehal Brahmbhatt’s picture

You can use "Work Calendar" module with "Date" module for your purpose.
Here's the Module URL :- https://www.drupal.org/project/work_calendar

Hope this helps you Tsjippy.

Feel free to contact me if you face any query/concern.

Thanks!

Tsjippy’s picture

yes that does the trick, but not for webform.

How can I integrate it with webform?

DanChadwick’s picture

Category: Support request » Feature request
Status: Active » Closed (won't fix)

This isn't something that webform supports, nor is it something that I foresee it supporting. That said, if there are hooks or API's that would allow this that don't exist, I'm open to facilitating a custom developer implementing this.

I believe the date picker supports flexible disabling of dates and days of the week. That said, we also have the three pop-up menus. Disabling the days of the month that are Fridays on the given month and year would not be so easy.

Good luck.