- tlecrasAsked on December 25, 2014 at 10:31 PM
I am looking for a way to edit a calendar so that only Thursdays are available to be selected. We are trying to create a form for our clients to select a day to be featured in our weekly e-newsletter. This newsletter gets emailed every Thursday. I tried the reservation and appointment widget but could not figure out how to limit calendar selections to only Thursdays.
- JotForm Supportashwin_dAnswered on December 25, 2014 at 11:48 PM
Unfortunately it is not possible to achieve your requirement in the form editor.
It would require custom script code added to your form's full source code. If it is acceptable to you, I will try to come up with some custom solution but please be noted that you will not be able to add the code in form editor. You will have to host the form's source code in your own hosting server.
I will wait for your confirmation before starting the work.
- tlecrasAnswered on December 26, 2014 at 11:50 AMThank you Ashwin. We'll just stick with what we have.
- CharlieAnswered on December 26, 2014 at 12:52 PM
Let us know if you need more assistance on this to proceed.
- JotForm SupportabajanAnswered on December 26, 2014 at 03:07 PM
Just to clarify, while it's possible to inject CSS which would allow only Thursdays to be shown, due to the way the calendar is coded, it's not possible (without using the full source and a custom script) to prevent selection of other days. For example, even though the calendar in this clone of your jotform displays only Thursdays, once any of the buttons indicated in the screenshot below is clicked, in most instances the user will be directed to a day other than Thursday:
(When the day selected by the user isn't a Thursday, the selection won't be shown on the form but it will be submitted along with the other data entered.)